axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samisa Abeysinghe <sam...@wso2.com>
Subject Re: Strange REST Parsing
Date Tue, 15 Jan 2008 23:50:25 GMT
Please send the working SOAP request so that we can understand what the 
payload should be.

Samisa...

Brian McQueen wrote:
> I must be doing something wrong because I am seeing some odd handling
> of REST requests by the server.  When I send in REST requests, the
> server does not seem to use the names of the parameters to identify
> them, but instead uses their order, or even imposes its own order by
> sorting them alphabetically?  Its odd:
>
> curl http://localhost:9090/axis2/services/replicate/replicate\?aa=parm1\&cc=parm2\&dd=parm3
>
> This parses into the expected order, but if I do (changing the name of
> the second parameter so its alphabetically last):
>
> curl http://localhost:9090/axis2/services/replicate/replicate\?aa=parm1\&ee=parm2\&dd=parm3
>
> then the parsed order of the parameters is parm1, parm3, parm2.
>
> How am I supposed to be parsing these REST requests?  I have code the
> parses the SOAP fine, but I started testing it on REST today and found
> this odd behaviour.
>
> Brian McQueen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-user-help@ws.apache.org
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message