SOAP Binding: Is body/@use required?

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
AII is REQUIRED.

 

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
the AII is OPTIONAL.

 

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"
use="optional"/>

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

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

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

   </complexType>

 

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
absent?

Received on Thursday, 6 June 2002 07:11:11 UTC