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

SOAP Binding: Is body/@use required?

From: Jeffrey Schlimmer <jeffsch@windows.microsoft.com>
Date: Thu, 6 Jun 2002 04:10:27 -0700
Message-ID: <2E33960095B58E40A4D3345AB9F65EC1078AA1D1@win-msg-01.wingroup.windeploy.ntdev.microsoft.com>
To: <www-ws-desc@w3.org>
The WSDL 1.1 specification appears inconsistent about whether the @use
attribute information item (AII) is required or optional on the SOAP
binding body element information item (EII).


In Section 3.2, the pseudo-schema does not have a question mark after
soap:body/@use AII for wsdl:input or wsdl:output, indicating that the


In Section 3.5, the pseudo-schema has a question mark after
soap:body/@use AII for both wsdl:input and wsdl:output, indicating that


In Section 3.5, the following prose appears: 


            "The required use attribute indicates whether the message
parts are encoded using some encoding rules, or whether the parts define
the concrete schema of the message."


Section 3.5 does not specify behavior if the @use AII is absent.


In Section A4.2, in the schema for the SOAP binding, the @use AII is
marked OPTIONAL.


   <complexType name="bodyType">

      <attribute name="encodingStyle" type="uriReference"

      <attribute name="parts" type="NMTOKENS" use="optional"/>

      <attribute name="use" type="soap:useChoice" use="optional"/>

      <attribute name="namespace" type="uriReference" use="optional"/>



The @use AII is apparently required for the SOAP binding fault, header,
and headerfault EII's. 


Issue 1: Is the @use AII optional or required for the soap:body EII?


Issue 2: If it is optional, what is the default behavior if it is
Received on Thursday, 6 June 2002 07:11:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:06:23 UTC