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 Larry Gilliam <lg...@innovim.com> on 2010/02/11 16:32:16 UTC

Parameter ordering in SOAP Requests

Hello,

   Is there any way to enable users to pass SOAP and/or REST parameters in any order? I can't quite 
understand why the order (as per the WSDL) is necessary since the input is name/value pairs.

   If there is a way to accept input in any order, please advise how. If not, a brief explanation 
why would be great.

Thanks for any info you can provide.

-Larry

Re: Parameter ordering in SOAP Requests

Posted by Amila Suriarachchi <am...@gmail.com>.
On Thu, Feb 11, 2010 at 9:02 PM, Larry Gilliam <lg...@innovim.com> wrote:

> Hello,
>
>  Is there any way to enable users to pass SOAP and/or REST parameters in
> any order? I can't quite understand why the order (as per the WSDL) is
> necessary since the input is name/value pairs.
>
>  If there is a way to accept input in any order, please advise how. If not,
> a brief explanation why would be great.
>
> Thanks for any info you can provide.
>

The bottom line is you need to send your request message according to the
way it is specified in the wsdl schema. If the schema specified it as a
sequence (which is most of the case) parameters has to send in an order.

Actually there is no concept of parameter order here. Only thing is the
request message must match in the way it is described in wsdl file.

this[1] may help you as well.

thanks,
Amila.

[1] http://wso2.org/library/2873

>
> -Larry
>



-- 
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/