Stylus Studio XML Editor

Table of contents

Appendices

2.9 Binding Message Reference

Binding Message Reference

The Binding Message Reference Component[top]

The Binding Message Reference Component

A binding message reference component describes a concrete binding for a particular message in an operation to a particular concrete message format.

Binding message reference components are local to a given binding operation component, they cannot be referred to by QName.

The properties of the Binding Message Reference Component are as follows:

  • {name} An NCName as defined by [XMLNS].

  • {variety} One of input, output or fault

For each binding message reference component in the {messages} property of a binding operation component the {name} property must be unique.

XML Representation of Binding Message Reference Component[top]

XML Representation of Binding Message Reference Component

The XML representation for a binding message reference component is an element information item with the following Infoset properties;

  • A [local name] of input, output or fault.

  • A [namespace name] of http://www.w3.org/2003/03/wsdl

  • Zero or more attribute information items amongst its [attributes] as follows;

    • An optional name attribute information item as described below in [ ].

    • Zero or more namespace qualified attribute information items. The [namespace name] of such attribute information items MUST NOT be http://www.w3.org/2003/03/wsdl.

  • Zero or more element information items amongst its [children], in order, as follows;

    • An optional documentation element information item (see [Documentation]).

    • Zero or more namespace qualified element information items. Such element information items MUST be a member of one of the element substitution groups related to input, output or fault children of binding operations described in [Language Extensibility]. Such element information items are considered to be binding message reference extension elements, as described below (see [Binding message reference extension elements]).

name attribute information item with input, output or fault [owner][top]

name attribute information item with input, output or fault [owner]

The name attribute information item identifies a given binding message reference element information item within a given operation element information item.

The name attribute information item has the following Infoset properties;

  • A [local name] of name

  • A [namespace name] which has no value

The type of the name attribute information item is xs:NCName.

Binding message reference extension elements[top]

Binding message reference extension elements

Binding message reference extension elements are used to provide information specific to a particular message in an operation. The semantics of such element information items are defined by the specification for those element information items. Such specifications are expected to annotate the binding message reference component with additional properties and specify the mapping between those properties and the XML representation.

Mapping Binding Message Reference's XML Representation to Component Properties[top]

Mapping Binding Message Reference's XML Representation to Component Properties

The mapping between the properties of the Binding Message Reference Component (see [The Binding Message Reference Component]) and the XML Representation of the binding element information item (see [XML Representation of Binding Message Reference Component]) is as described in [tab_Binding_Message_Reference_Mapping].

1tab_Binding_Message_Reference_Mapping Mapping between Binding Message Reference Component Properties and XML Representation Property Mapping
11{name} 11The actual value of the name attribute information item if present, otherwise the actual value of the name attribute information item on the element information item with the same [local name] whose [parent] operation element information item has the same value for its name attribute information item as the operation element information item in the binding element information item but is rather in the portType element information item referred to by the type attribute information item.
11{variety} 11If the [local name] of the element information item is input then input, else if the [local name] of the element information item is output then output, else if the [local name] of the element information item is fault then fault.