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
WSDL 2.0 Conceptual Model
You should note that the main differences between 1.1 and 2.0 are:
- Definition is now Description
- PortType is now Interface
- Message definitions have been deprecated and so have the message bindings
- Port is now EndPoint
- Address, formerly a standalone element, is now an attribute of EndPoint
- Fault is now at the Interface level (instead of Operation) and is reusable
Comments