12 - WSDL 1.1 Elements

A WSDL 1.1 document as mentioned before defines services as a collection of network endpoints or ports. WSDL 1.1 separates the abstract definition of an endpoint and messages from the concrete network deployment or data bindings. The following are the WSDL 1.1 elements:

  • definition: this element is the root of any WSDL 1.1 file, any other WSDL element will be nested within this element
  • types: these are containers for data type definitions using some type system.
  • message: these are an abstract typed definition of the data that is going to be exchanged.
  • operation: these are an abstract description of any action supported by the service.
  • port type: these are an abstract set of operations supported by one or more endpoints.
  • binding: these are concrete protocol and data format specifications for a particular port type.
  • port: these describe a single endpoint defined as a combination of a binding and a network address.
  • service: these are a collection of related endpoints.
  • documentation: this element is optional and provides a humanly readable description of the web service.
  • import: this element is optional. It is used for importing XML schemas or even other WSDL files.

The following is a basic example of a WSDL 1.1 file with all the required elements:



Like us on Facebook