Stylus Studio XML Editor

Table of contents

Appendices

2.8 Binding Operations

Binding Operations

Description[top]

Description

For every Interface Operation component contained in an Interface component, in addition to the default binding rules described in [Default Binding Rules], there may be additional binding information to be specified. This binding specification allows the user to indicate the SOAP Message Exchange Pattern (MEP) and a value for the SOAP Action Feature (see [SOAP12-PART2]) on a per-operation basis.

Relationship to WSDL Component Model[top]

Relationship to WSDL Component Model

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

  • {soap mep}, an absolute URI as defined by [RFC2396], to the Binding Operation component. The value of this property identifies the SOAP Message Exchange Pattern (MEP) (as defined by [SOAP12-PART1]) for this specific operation. If no specific value is assigned, then the value assigned by the default rules apply (see [Default Binding Rules]). It is an error for this property to not have a value (which MAY happen if the default rules are not applicable).

  • {soap action}, an absolute URI as defined by [RFC2396], to the Binding Operation component. The value of this property identifies the value of the SOAP Action Feature (as defined by [SOAP12-PART1]) for this specific operation.

XML Representation[top]

XML Representation
<definitions >
  <binding >
    <operation ref="xs:QName" 
               wsoap:mep="xs:anyURI"?
               wsoap:action="xs:anyURI"? >
    </operation>
  </binding>
</definitions>

The XML representation for binding an Operation are two attribute information items with the following Infoset properties:

  • wsoap:mep OPTIONAL attribute information item

    • A [local name] of mep

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

  • wsoap:action OPTIONAL attribute information item

    • A [local name] of action

    • 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_Operation_Mapping].

1tab_SOAP_Operation_Mapping Mapping between SOAP Operation Component Properties and XML Representation Property Mapping
11{soap mep} 11The actual value of the wsoap:mep attribute information item, if present. If not, the actual value of the wsoap:mepDefault attribute information item of the parent wsdl:binding element information item, if present. If not the value as defined by the default SOAP binding rules (see [Default Binding Rules]), if applicable.
11{soap action} 11The actual value of the action attribute information item., if any.