Closing XML Protocol LC issue 320: Clarification on Use of Multiple Fault Codes

The WG has accepted the following boiled down version of the proposal
referenced in [1] for incorporation in SOAP 1.2 part 1, section 5.4.6
[2]:

* * * * *

SOAP fault codes are XML qualified names, and are intended to provide a
means by which faults are classified. A hierarchical list of SOAP codes
and associated supporting information is included in every SOAP fault
message, with each such code identifying the fault category at an
increasing level of detail.

The values of the Value child element information item of the Code
element information item are restricted to those defined by the
env:faultCodeEnum type (see Table 2). Additional fault subcodes MAY be
created for use by applications or features. Such subcodes are carried
in the Value child element information item of the Subcode element
information item.

SOAP fault codes are to be interpreted as modifiers of the contents of
the Detail element information item in the sense that they provide the
context for the Detail element information item. A SOAP node MUST
understand all SOAP fault codes in a SOAP fault message in order to be
able to interpret the Detail element information item in a SOAP fault.

* * * * *

Henrik Frystyk Nielsen 
mailto:henrikn@microsoft.com 

[1] http://www.w3.org/2000/xp/Group/xmlp-lc-issues.html#x320
[2] http://www.w3.org/2000/xp/Group/2/06/LC/soap12-part1.xml#faultcodes

Received on Sunday, 15 September 2002 20:02:40 UTC