You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Micael Ericsson (QIN)" <Mi...@ein.ericsson.se> on 2001/08/28 09:17:12 UTC

Parameter: order or named

A selfmade service 'StringService' has method 'addStrings(firstString, secondString)', which return a concatinated string. 

When calling this service using SOAP 'Call' java Class order of parameters is significant. Sending 'secondString' parameter first (in XML message you can se parameter name) means it is used as first parameter in addStrings().

This is not the way I want it to work.

Is it possible to use named parameters? Where only name and not order is used when calling methods.

I am using SOAP 2.2 on Tomcat 3.2.3, running Solaris 7.

Thanks in advance,
Micale Ericsson