Understanding the WSDL File

Due to the maturity of Web Services toolkits, many developers do not make the effort to understand and interpret the WSDL file. This is especially so in a code-first development environment where the WSDL is automatically generated.

For those who cannot afford time to read the specifications, I’ve tried to summarise the salient concepts for both WSDL 1.1 and WSDL 2.0 in the following UML Class Diagrams.

In the following diagrams, the colour annotations follows:

  • Blue denotes type/ schema definitions
  • Orange denotes abstract interface definitions
  • Yellow denotes concrete definitions
  • Green denotes message definitions
WSDL 1.1 Concept Model

image

 

WSDL 2.0 Conceptual Model

image

You should note that the main differences between 1.1 and 2.0 are:

  1. Definition is now Description
  2. PortType is now Interface
  3. Message definitions have been deprecated and so have the message bindings
  4. Port is now EndPoint
  5. Address, formerly a standalone element, is now an attribute of EndPoint
  6. Fault is now at the Interface level (instead of Operation) and is reusable

Comments

Popular posts from this blog

Understanding ITIL Service Management the UML way…

Apache Web Server Troubleshooting