Stylus Studio XML Editor

Table of contents

Appendices

3.4 Specifying the HTTP Version

Specifying the HTTP Version

Description[top]

Description

Every Binding component MUST indicate what version of HTTP is in use for the operations of the interface that this binding applies to.

By default, HTTP/1.1 [RFC2616] is used.

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 version}, a string value to the Binding component.

XML Representation[top]

XML Representation
<definitions >
  <binding name="xs:NCName" interface="xs:QName"? type="xs:anyURI"
           whttp:version="xs:string"? >
  </binding>
</definitions>

The XML representation for specifying the HTTP version is an optional attribute information item with the following Infoset properties:

  • A [local name] of version

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

  • A type of wsdls:string

  • A default value of "1.1"

Mapping Between Component Properties and XML Representation[top]

Mapping Between Component Properties and XML Representation

See [tab_HTTP_Version_Mapping].

1tab_HTTP_Version_Mapping Mapping between Binding Component Extension Properties and XML Representation Property Mapping
11{http version} 11The actual value of the whttp:version attribute information item.