W3C home > Mailing lists > Public > www-ws-desc@w3.org > May 2002

RE: issue: optional parts in <message>?

From: Jeffrey Schlimmer <jeffsch@windows.microsoft.com>
Date: Wed, 8 May 2002 18:40:27 -0700
Message-ID: <2E33960095B58E40A4D3345AB9F65EC10706210B@win-msg-01.wingroup.windeploy.ntdev.microsoft.com>
To: "WS-Desc WG (Public)" <www-ws-desc@w3.org>
Jean-Jacques Moreau [mailto:moreau@crf.canon.fr] wrote:
>Another example would be the Purchase Order at [1]. The WSDL definition
>would be:
>
>    <message name="purchase-order">
>        <part name="purchaseOrder" type="tns:PurchaseOrderType"/>
>    </message>
>
>but this is an oversimplification. In reality, the one liner above
expands
>into the 66 lines schema at [2]. I think you are questioning why we
would
>want to expose only the top of the iceberg (i.e. the top-level EIIs)
via
>the wsdl:part element. On that example, it might be more appropriate to
>expose instead the 2nd level EIIs.

I agree. It seems logical to either: (a) expose the 2nd-level EIIs via
an explicit message EII and part EII (as WSDL 1.1 does), or (b) have
operations reference a global element declaration (as we've been
discussing). Enabling both feels unnecessarily complex.

--Jeff
Received on Wednesday, 8 May 2002 21:40:48 GMT

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