Stylus Studio XML Editor

Table of contents

Appendices

2.7 Binding Faults

Binding Faults

Description[top]

Description

For every Interface Fault component contained in an Interface component, a mapping to a SOAP Fault must be described. This binding specification allows the user to indicate the SOAP fault code and subcodes that are transmitted for a given Interface Fault component.

Relationship to WSDL Component Model[top]

Relationship to WSDL Component Model

The SOAP Fault binding adds the following properties to the WSDL component model (as defined in [WSDL-PART1]):

  • {soap fault code}, a QName as defined by [XML10], to the Binding Fault component. The value of this property identifies a possible SOAP fault (see [SOAP12-PART1]) for the operation in scope.

  • {soap fault subcodes}, a list of QNames, to the Binding Fault component. The value of this property identifies one or more subcodes for this SOAP fault.

XML Representation[top]

XML Representation
<definitions >
  <binding >
    <fault ref="xs:QName"
           wsoap:code="xs:QName"
           wsoap:subcodes="list of xs:QName"? />
    </fault>*
  </binding>
</definitions>

The XML representation for binding a SOAP Fault are two attribute information items with the following Infoset properties:

  • wsoap:code REQUIRED attribute information item

    • A [local name] of code

    • A [namespace name] of http://www.w3.org/2004/08/wsdl/soap12

  • wsoap:subcodes OPTIONAL attribute information item

    • A [local name] of subcodes

    • A [namespace name] of http://www.w3.org/2004/08/wsdl/soap12

Mapping Between Component Properties and XML Representation[top]

Mapping Between Component Properties and XML Representation

See [tab_SOAP_Fault_Mapping].

1tab_SOAP_Fault_Mapping Mapping between SOAP Fault Component Properties and XML Representation Property Mapping
11{soap fault code} 11The actual value of the code attribute information item.
11{soap fault subcodes} 11The actual value of the subcodes attribute information item.