W3C home > Mailing lists > Public > www-ws-desc@w3.org > October 2003

Re: RPC Style Issues (3)

From: Roberto Chinnici <Roberto.Chinnici@Sun.COM>
Date: Tue, 28 Oct 2003 11:19:29 -0800
To: Sanjiva Weerawarana <sanjiva@watson.ibm.com>
Cc: "'WS Description List'" <www-ws-desc@w3.org>
Message-id: <3F9EC141.3010703@sun.com>

Sanjiva Weerawarana wrote:
> 
> Did WSDL 1.1 support distinguishing between these two signatures?

It did.

void f([out] int x) ==

   <message name="fRequest"/>
   <message name="fResponse">
     <part name="x" type="xsd:int"/>
   </message>
   <operation name="f" parameterOrder="x">
     <input message="tns:fRequest"/>
     <output message="tns:fResponse"/>
   </operation>

int f() ==

   <message name="fRequest"/>
   <message name="fResponse">
     <part name="x" type="xsd:int"/>
   </message>
   <operation name="f" parameterOrder="">
     <input message="tns:fRequest"/>
     <output message="tns:fResponse"/>
   </operation>

Same messages, different parameter orders.

Roberto
Received on Tuesday, 28 October 2003 14:17:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:27 GMT