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

WSDL-1.1 fault

From: Joshua Boverhof <JRBoverhof@lbl.gov>
Date: Thu, 18 Dec 2003 14:41:45 -0800
Message-ID: <3FE22D29.7060905@lbl.gov>
To: www-ws@w3.org

This is from W3C Note 15 March 2001

The soap-binding schema is inconsistent with section 3.6.   The name 
attribute isn't included in
the type definition for faultType or its derived type bodyType.

<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"/>
<element name="fault" type="soap:faultType"/>
<complexType name="faultType">
  <restriction base="soap:bodyType">
    <attribute name="parts" type="NMTOKENS" use="prohibited"/>

     3.6 soap:fault

The soap:fault element specifies the contents of the contents of the 
SOAP Fault Details element. It is patterned after the soap:body element 
(see section 3.5 <http://www.w3.org/TR/wsdl#_soap:body>).

<definitions .... >
   <binding .... >
       <operation .... >
*               <soap:fault name="nmtoken" use="literal|encoded"

The *name* attribute relates the soap:fault to the wsdl:fault defined 
for the operation.

The fault message MUST have a single part. The *use*, *encodingStyle* 
and *namespace* attributes are all used in the same way as with 
soap:body (see section 3.5 <http://www.w3.org/TR/wsdl#_soap:body>), only 
style="document" is assumed since faults do not contain parameters.
Received on Thursday, 18 December 2003 20:50:14 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:10 UTC