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

RE: SOAP Binding: Is body/@use required?

From: Jeffrey Schlimmer <jeffsch@windows.microsoft.com>
Date: Thu, 6 Jun 2002 11:12:15 -0700
Message-ID: <2E33960095B58E40A4D3345AB9F65EC1078AA26E@win-msg-01.wingroup.windeploy.ntdev.microsoft.com>
To: <www-ws-desc@w3.org>

I am sorry for the duplicate. This is already captured in Issue 48 [1]

    "use" attribute of "soap:body" should be optional

However, I think the right thing to do is to make @use required, but
perhaps that will become clearer as we work through other SOAP binding



-----Original Message-----
Date: Thu, 6 Jun 2002 04:10:27 -0700
From: "Jeffrey Schlimmer" <jeffsch@windows.microsoft.com>
To: <www-ws-desc@w3.org>
Subject: 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

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 14:12:55 UTC

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