You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by "Hansen, Richard" <Ri...@westgroup.com> on 2001/07/26 21:19:40 UTC
RE: wsdl output message parts
Apache SOAP does not, at least with normal use, allow multiple output
parameters. I always return objects from my service methods. So my WSDL
response message has a single entry for a complex type of some sort.
Rick Hansen
> -----Original Message-----
> From: Richard Emberson [mailto:emberson@contact.com]
> Sent: Thursday, July 26, 2001 3:22 PM
> To: soap-user@xml.apache.org
> Subject: wsdl output message parts
>
>
>
> In wsdl:
>
> portType/operation/output/@message is the name of a message
> (message/@name). A message may have 0 or more part elements.
>
> How does one represent in the soap java code representing the
> client and server code a wsdl definition inwhich an output
> has multiple return values, i.e.:
>
> <message name="GetNameMsg">
> <part name='first' type="xsd:string"/>
> <part name='last' type='xsd:string'/>
> </message>
>
> <portType name='Name'>
> <operation name='get'>
> <output message='GetNameMsg'/>
> </operation>
> </portType>
>
> Richard Emberson
>
>