WSDL ( English W eb S ervices D escription L anguage ) is an XML -based language for describing and accessing web services .
| Web Services Description Language | |
|---|---|
| Expansion | |
| MIME type | |
| Developer | |
| Format type | and |
| Contained in | XML |
| Standard (s) | 2.0 Recommendation |
Versions 1.1 and 2.0
The latest official specification at the time of writing is version 2.0 ( WSDL Version 2.0 dated June 26, 2007 ), which has the status of recommendations, and version 1.1 ( WSDL Version 1.1 dated March 15, 2001 ), which has the status of a note (note).
Content
Structure
Each WSDL 1.1 document can be divided into the following logical parts:
- definition of data types (types) - determining the type of XML messages sent and received by the service
- data elements (message) - messages used by the web service
- abstract operations (portType) - a list of operations that can be performed with messages
- service binding (binding) - the way the message will be delivered
WSDL Example
<message name = "getTermRequest" >
<part name = "term" type = "xs: string" />
</message>
<message name = "getTermResponse" >
<part name = "value" type = "xs: string" />
</message>
<portType name = "glossaryTerms" >
<operation name = "getTerm" >
<input message = "getTermRequest" />
<output message = "getTermResponse" />
</operation>
</portType>
See also
- Wadl
- SOAP
- Wddx