- From: Joshua Boverhof <JRBoverhof@lbl.gov>
- Date: Thu, 18 Dec 2003 14:41:45 -0800
- 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"/>
</complexType>
<element name="fault" type="soap:faultType"/>
<complexType name="faultType">
<complexContent>
<restriction base="soap:bodyType">
<attribute name="parts" type="NMTOKENS" use="prohibited"/>
</restriction>
</complexContent>
</complexType>
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 .... >
<fault>*
* <soap:fault name="nmtoken" use="literal|encoded"
encodingStyle="uri-list"?
namespace="uri"?>*
</fault>
</operation>
</binding>
</definitions>
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