Stylus Studio XML Editor

Table of contents

Appendices

2.8 Binding Operation

Binding Operation

The Binding Operation Component[top]

The Binding Operation Component

A binding operation component describes a concrete binding for a particular operation of a port type to a particular concrete message format.

Binding operation components are local to a given binding component

The properties of the Binding Operation Component are as follows:

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

  • {target namespace} A namespace name, as defined in [XMLNS].

  • {messages} A set of binding message reference components

For each binding operation component in the {operations} property of a binding component the combination of {name} and {target namespace} properties must be unique.

XML Representation of Binding Operation Component[top]

XML Representation of Binding Operation Component

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

  • A [local name] of operation

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

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

    • A 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]).

    • One of;

      • An input element information item followed by an optional output element information item

      • An output element information item followed by an optional input element information item

    • Zero or more fault element information items

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

name attribute information item with operation [owner][top]

name attribute information item with operation [owner]

The name attribute information item identified a given operation element information item within a given binding 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 operation extension elements[top]

Binding operation extension elements

Binding operation extension elements are used to provide information specific to a particular operation in a binding. 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 operation component with additional properties and specify the mapping between those properties and the XML representation.

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

Mapping Binding Operation's XML Representation to Component Properties

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

1tab_Binding_Operation_Mapping Mapping between Binding Operation Component Properties and XML Representation Property Mapping
11{name} 11The actual value of the name attribute information item
11{target namespace} 11 The actual value of the targetNamespace attribute information item of the [parent] definitions element information item of the [parent] portType element information item.
11{messages} 11The set of binding message reference components corresponding to the input, output and fault element information items in [children], if any.