You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Shruti Krishnagiri <sh...@yahoo.com> on 2006/09/19 00:33:40 UTC
[Axis2] REST request not quite working
I'm facing a problem getting a specific REST request to work.
One of my service methods takes in an array of strings as a parameter and the corresponding wsdl snippet looks like this:
- <xs:element name="generatePriceList">
- <xs:complexType>
- <xs:sequence>
<xs:element minOccurs="0" type="xs:string" name="items" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
The Rest request is however only constructing an array of one string even though I specified an '&' separated list. Only the first goes into the array. The SOAP request for the same works correctly. What am I doing wrong?
---------------------------------
Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
Re: [Axis2] REST request not quite working
Posted by Salma Soleil <sa...@gmail.com>.
I'm facing the same problem. I guess its a bug.
On 9/20/06, Shruti Krishnagiri <sh...@yahoo.com> wrote:
>
>
>
> *Shruti Krishnagiri <sh...@yahoo.com>* wrote:
>
> I'm facing a problem getting a specific REST request to work.
> One of my service methods takes in an array of strings as a parameter and
> the corresponding wsdl snippet looks like this:
>
> - <xs:element name="generatePriceList">
> - <xs:complexType>
> - <xs:sequence>
> <xs:element minOccurs="0" type="xs:string" name="items" maxOccurs=
> "unbounded" />
> </xs:sequence>
> </xs:complexType>
> </xs:element>
>
>
> The Rest request is however only constructing an array of one string even
> though I specified an '&' separated list. Only the first goes into the
> array. The SOAP request for the same works correctly. What am I doing wrong?
>
> ------------------------------
> Get your own web address for just $1.99/1st yr<http://us.rd.yahoo.com/evt=43290/*http://smallbusiness.yahoo.com/domains>.
> We'll help. Yahoo! Small Business<http://us.rd.yahoo.com/evt=41244/*http://smallbusiness.yahoo.com/>.
>
>
>
> ------------------------------
> How low will we go? Check out Yahoo! Messenger's low PC-to-Phone call
> rates.
> <http://us.rd.yahoo.com/mail_us/taglines/postman8/*http://us.rd.yahoo.com/evt=39663/*http://voice.yahoo.com>
>
>