You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Serethos <Se...@web.de> on 2008/08/14 11:16:06 UTC
Order of parameters in Soap request necessary?!
Hello!
I have encountered a problem I do not understand: My webservice is running
quite fine but testing it with some random requests showed some strange
results: logic errors, NullPointerExceptions etc.
Debugging the code brought light: CXF seems to need the correct order of the
parameters according to the called remote RPC.
Perhaps I assumed the wrong thing, that the xml-name-mapping of the
parameters made an ordering of the parameters obsolete.
Can anyone give my some details about that?
--
View this message in context: http://www.nabble.com/Order-of-parameters-in-Soap-request-necessary-%21-tp18978289p18978289.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Order of parameters in Soap request necessary?!
Posted by Daniel Kulp <dk...@apache.org>.
The WS-I Basic Profile clearly states:
R2301 The order of the elements in the soap:Body of an ENVELOPE MUST be the
same as that of the wsdl:parts in the wsdl:message that describes it for each
of the wsdl:part elements bound to the envelope's corresponding soapbind:body
element.
Dan
On Thursday 14 August 2008 5:16:06 am Serethos wrote:
> Hello!
>
> I have encountered a problem I do not understand: My webservice is running
> quite fine but testing it with some random requests showed some strange
> results: logic errors, NullPointerExceptions etc.
> Debugging the code brought light: CXF seems to need the correct order of
> the parameters according to the called remote RPC.
> Perhaps I assumed the wrong thing, that the xml-name-mapping of the
> parameters made an ordering of the parameters obsolete.
>
> Can anyone give my some details about that?
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog