Stylus Studio XML Editor

Table of contents

Appendices

2.11 Binding Operation

Binding Operation

The Binding Operation Component[top]

The Binding Operation Component

The Binding Operation component describes the concrete message format(s) and protocol interaction(s) associated with a particular interface operation for a given endpoint. A particular operation of an interface is uniquely identified by the target namespace of the interface and the name of the operation within that interface.

The properties of the Binding Operation component are as follows:

  • {operation reference} REQUIRED. An Interface Operation component in the {operations} property of the Interface component identified by the {interface} property of the parent Binding component. This is the Interface Operation component for which binding information is being specified.

  • {message references} OPTIONAL. A set of Binding Message Reference components

  • {features} OPTIONAL. A set of Feature components.

  • {properties} OPTIONAL. A set of Property components.

For each Binding Operation component in the {operations} property of a Binding component, the {operation reference} property MUST be unique. That is, one cannot define multiple bindings for the same operation within a given Binding component.

XML Representation of Binding Operation Component[top]

XML Representation of Binding Operation Component
<definitions>
  <binding>
    <operation
          ref="xs:QName" >
      <documentation />?
      [ <input /> | <output /> | <feature /> | <property /> ]*
    </operation>
  </binding>
</definitions>

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/2004/08/wsdl

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

    • A REQUIRED ref 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/2004/08/wsdl.

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

    1. An OPTIONAL documentation element information item (see [Documentation]).

    2. Zero or more element information items from among the following, in any order:

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

ref attribute information item with operation [owner]

The ref attribute information item has the following Infoset properties:

  • A [local name] of ref

  • A [namespace name] which has no value

The type of the ref attribute information item is xs:QName.

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 operation 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{operation reference} 11The actual value of the ref attribute information item.
11{messages references} 11The set of Binding Message Reference components corresponding to the input and output element information items in [children], if any.
11{features} 11The set of Feature components corresponding to the feature element information items in [children], if any.
11{properties} 11The set of Property components corresponding to the property element information items in [children], if any.