W3C home > Mailing lists > Public > public-ws-desc-comments@w3.org > December 2004

Clarification needed: Part 3 sec 2.8.1 and 2.8.2: soap fault codes

From: David Booth <dbooth@w3.org>
Date: Sun, 12 Dec 2004 15:59:46 -0500
To: public-ws-desc-comments@w3.org
Message-Id: <1102885186.3268.437.camel@nc6000.w3.org>

Regarding part 3 sec 2.8.1 and 2.8.2: soap fault codes, the meaning of
the {soap fault code} seems unclear. 

Does the fault message type determine the soap fault code, or vice
versa?  For example, given the following:

<binding . . . >
  <fault ref="tns:myFaultMessage"
	wsoap:code="foo" />
</binding

which of the following interpretations applies?

a. If the actual error condition causing the fault corresponds to SOAP
code foo, then transmit a fault of type tns:myFaultMessage.

b. If the actual error condition causing the fault corresponds to
tns:myFaultMessage, then transmit SOAP code foo.

If (a) is the correct interpretation, then what happens if an error
corresponding to a different SOAP code occurs?  Does this imply that a
tns:myFaultMessage will NOT be sent if the SOAP code is NOT foo?

-- 

David Booth
W3C Fellow / Hewlett-Packard
Received on Sunday, 12 December 2004 20:59:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:20:31 GMT