Information Technology Reference
In-Depth Information
Figure 1.5
Skeleton of a WSDL document.
<
message
>
: Messages are to be referred as the input and output
of operations.
<
portType
>
:AportType contains a collection of operations.
Each operation has an input message and optionally an output
one. Both input and output messages are defined in the message
section.
<
binding
>
:Abinding binds a portType to a specific communi-
cation protocol, such as SOAP, HTTP Get, and HTTP Post. By
this means a client knows which protocol to use when commu-
nicating with the service.
<
service
>
:Aservice, as a concrete entity to be accessed by
clients, contains one or more ports, and each port assigns a URL
to a binding. To access a given port, requests should be sent to its
URL, by using the protocols (e.g., SOAP, HTTP Get/Post)
defined in the corresponding binding element.