WSDL (Web Services Description Language) is an XML format for describing web services and how they can be accessed, with definitions for the data types, messages, operations and bindings. It has two layers - a service definition layer that describes operations and messages, and a binding layer that specifies protocols and data formats. An example WSDL document is provided that shows the typical structure and elements used.
14. < definitions > <!-- root WSDL element --> < types > <!-- defines data types to be transmitted --> </ types > < message > <!-- defines messages to be transmitted -> </ message > < portType > <!-- defines operations (functions) to be supported --> </ portType > < binding > <!-- defines how will the messages be transmitted on the wire --> </ binding > < service > <!-- defines location of web service --> </ service > </ definitions > Example : WSDL
15.
16. targetNamespace attribute in an imported WSDL document's <definitions> element must be the same as the value of the namespace attribute in the WSDL <import> element importing the WSDL document. Definitions – Import
30. Style must be either a RPC/Literal binding or a Document/Literal binding
31. location attribute in a <soapbind:address> element must be unique within a WSDL document
32. HTTP response from a web service operation using the one-way message exchange pattern must have an empty body
33. client of a web service operation using the one-way message exchange pattern must ignore any SOAP messages returned. Such a response just indicates that the message has reached the receiver
34. One or more WSDL documents may contain more than one WSDL <binding> elements that refer to one and the same WSDL <portType> element
35. WSDL document must have the same set of operations as the WSDL <portType> element to which the binding refers
36. SOAP message that is inconsistent with its WSDL document, it must check for “VersionMismatch”, “MustUnderstand” and “Client” fault conditions in that order. Binding
37.
38.
39. must contain exactly one par t accessor element for each of the WSDL <part> elements bound to the envelope's corresponding <soapbind:body> element