Stylus Studio XML Editor

Table of contents

Appendices

3.10 Specifying the transfer coding

Specifying the transfer coding

Description[top]

Description

Every Binding Message Reference component MAY indicate which transfer codings, as defined in section 3.6 of [RFC2616], are available for this particular message.

The HTTP binding provides a mechanism for indicating a default value at the Binding component and Binding Operation levels.

If no value is specified, no claim is being made.

Relationship to WSDL Component Model[top]

Relationship to WSDL Component Model

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

  • {http transfer coding}, a string value to the Binding Message Reference component.

XML Representation[top]

XML Representation
<definitions >
  <binding name="xs:NCName" interface="xs:QName"? type="xs:anyURI"
           whttp:defaultTransferCoding="xs:string"? >
    <operation location="xs:anyURI"?
               whttp:defaultTransferCoding="xs:string" ? >
      <input messageLabel="xs:NCName"? 
             whttp:transferCoding="xs:string"? />

      <output messageLabel="xs:NCName"?
              whttp:transferCoding="xs:string"? />
    </operation>
  </binding>
</definitions>

The XML representation for specifying the default transfer coding is an OPTIONAL attribute information item for the binding element information item or binding's child operation element information items with the following Infoset properties:

  • A [local name] of defaultTransferCoding

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

  • A type of wsdls:string

  • No default value

The XML representation for specifying the transfer coding is an OPTIONAL attribute information item with the following Infoset properties:

  • A [local name] of transferCoding

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

  • A type of wsdls:string

  • No default value

Mapping Between Component Properties and XML Representation[top]

Mapping Between Component Properties and XML Representation

See [tab_HTTP_Transfer_Coding_Mapping].

1tab_HTTP_Transfer_Coding_Mapping Mapping between Message Reference Component Extension Properties and XML Representation Property Mapping
11{http transfer coding} 11The actual value of the whttp:transferCoding attribute information item on the Binding Message Reference component, if present. If not, the actual value of the whttp:defaultTransferCoding on the Binding Operation component, if present. If not, the actual value of the whttp:defaultTransferCoding on the Binding component, if present.