Hi All,
I saw several WSDLs where there were more than one part defined for response under wsdl:message. Eg is given below taken from
specification.
I understand that having multiple parts for input is quite common as we may pass on several method arguments and I can think of each argument as one part defined. But a method call can return only one object (or primitives). Atleast I have not encountered any occasion where multiple items can be returned in
java (not sure about other languages). Then how does it map to the output message defined like above.
Also under section of
2.4.6 Parameter Order within an Operation in the above specification
The part name order reflects the order of the parameters in the RPC signature
The return value part is not present in the list
If a part name appears in both the input and output message, it is an in/out parameter
If a part name appears in only the input message, it is an in parameter
If a part name appears in only the output message, it is an out parameter
Can somebody explain me this mapping this to a small java based SEI ?