WSDL 1.2

The first working draft of WSDL 1.2 specifications has been released. The following discussion pertains to the contents of the first draft of the specification. Some of this information may not be applicable to the final 1.2 specifications. This section summarizes some of the changes between the two versions.

WSDL 1.2 is described using XML information sets. An information set (infoset) is an abstract XML data set. Its primary purpose is to provide a consistent way to describe specifications that describe information in a well-formed XML document structure. As a WSDL document is a well-formed XML document, it can be described as an information set (a tree) with information items (nodes). The WSDL 1.2 specification introduces a clearer conceptual model for a WSDL document structure. Conceptually, a WSDL document is a container for a WSDL definitions group, which in turn is a container for description components, with each description component describing different parts of the Web service. For example, a message description component describes the abstract messages exchanged by the service and the portType description component describes the abstract service interface. Like WSDL 1.1, WSDL 1.2 describes Web services by defining abstract types, messages, and operations and combining operations into portTypes. However, in WSDL 1.2, a collection of portTypes is defined and called a serviceType, and a service is considered an implementation of a serviceType. The model dictates six description components, which together provide a complete functional and location description of the service:

WSDL 1.2 also attempts to clarify some areas of WSDL 1.1 that were not defined adequately and areas where some WSDL 1.1 service descriptions features could not be supported by all service implementation platforms. For example,

Many proposed changes to WSDL stem from the WSDL 1.2 specification's aim of supporting SOAP 1.2. Most of the proposed changes therefore deal with SOAP binding. As SOAP 1.2 specification is in draft form, the proposed changes are not discussed in this section.

To summarize, the main changes to WSDL are to describe the specification itself in a standard manner using information sets, to clarify some of the language descriptions, to remove ambiguities, and to support SOAP 1.2.