source : http://www.w3schools.com/wsdl/wsdl_documents.asp
A 'Web Service Description Language' (WSDL) document is just a simple XML document.
It contains set of definitions to describe a web service.
A WSDL document describes a web service using these major elements:
| Element | Defines |
<types> |
The data types used by the web service |
<message> |
The messages used by the web service |
<portType> |
The operations performed by the web service |
<binding> |
The communication protocols used by the web service |
The main structure of a WSDL document looks like this:
A WSDL document can also contain other elements, like extension elements, and a service element that makes it possible to group together the definitions of several web services in one single WSDL document.
The
It describes a web service, the operations that can be performed, and the messages that are involved.
The
The
Each message can consist of one or more parts. The parts can be compared to the parameters of a function call in a traditional programming language.
The
For maximum platform neutrality, WSDL uses XML Schema syntax to define data types.
The
This is a simplified fraction of a WSDL document:
In this example the
The "getTerm" operation has an input message called "getTermRequest" and an output message called "getTermResponse".
The
Compared to traditional programming, glossaryTerms is a function library, "getTerm" is a function with "getTermRequest" as the input parameter, and getTermResponse as the return parameter.

Post new comment