Stylus Studio XML Editor

Table of contents

Appendices

3 WSDL HTTP Binding

WSDL HTTP Binding

The HTTP binding described in this section is an extension for [WSDL-PART1] to enable Web Services applications to use HTTP 1.1 [RFC2616] (as well as other versions of HTTP) and HTTPS [RFC2818]. This binding extends WSDL 2.0 by adding properties to the component model defined in [WSDL-PART1]. In addition an XML Infoset representation for these additional properties is provided, along with a mapping from that representation to the various component properties.

As allowed in [WSDL-PART1], a Binding component MAY exist without indicating a specific Interface component that it applies to. In this case there MUST NOT be any Binding Operation or Binding Fault components present in the Binding component.

The HTTP binding is designed with the objective of minimizing what needs to be explicitly declared for common cases. This is achieved by defining a set of default rules which apply for all Interface Operation components of an Interface component, unless specifically overidden on a per Interface Operation basis. Thus, if a given Interface Operation component is not referred to specifically, then all the default rules apply for that component. That is, per the requirements of [WSDL-PART1] all operations of an Interface component are bound by this binding.

Notice that there are no default binding rules defined for Fault components by this binding. Thus, if a given Interface component has any Fault components, then such Interface components MUST be bound via Binding components which indicate a specific interface and contain as many Binding Fault components as there are Fault components in the Interface Fault component.

The internal tree representation of an input, output or fault message is called an instance data, and is constrained by the schema definition associated the message: the XML element referenced in the [{element}] property of the Message Reference component for input and output messages, and in the [{element}] property of an Interface Fault component for faults.