A quick overview of WSDL (Web Services Description Language)
Chapters
WSDL Document structure
WSDL Documents
A WSDL document is a simple XML document which contains set of definitions to describe a web service.
WSDL Document Structure
A WSDL document consists below major elements:
Element |
Description |
<types> |
A container for data type definitions used by web service |
<message> |
A typed definition of data being communicated |
<portType> |
A set of operations supported by one or more endpoints |
<binding> |
A data format and protocol specification for a particular port type |
The structure of a WSDL document as below:
<definitions> <types> Definition of data type </types> <message> Definition of data </message> <portType> Set of operations</portType> <binding> Protocol and Data format specification </binding> </definitions>
A WSDL document also contain other elements, like extension elements, and a service element that makes it possible to group together definitions of several web services in one single WSDL document.
WSDL Ports
The <portType> element is most important WSDL element. It describes a web service operations that can be performed, and messages that are involved.
WSDL Messages
The <message> element defines data elements of operation. Each message can consist of one or more parts. The parts can be compared to parameters of a function call in a traditional programming language.
WSDL Types
The <types> element defines data types that are used by web service.
For maximum platform neutrality, WSDL uses XML Schema syntax to define data types.
WSDL Bindings
The <binding> element defines data format and protocol for each port type.
Description
In this tutorial, you will get a quick overview on WSDL
- What is WSDL?
- WSDL Documents
- Port Type
- Binding
Learning Objectives
Quickly get to know WSDL
Author: Subject Coach
Added on: 20th Aug 2015
You must be logged in as Student to ask a Question.
None just yet!