Chapter 1. Introducing WSDL Contracts
1.1. Structure of a WSDL document
definitionelement. These elements describe a service and how an endpoint implementing that service is accessed.
The logical part
message, and the
portTypeelements. It describes the service’s interface and the messages exchanged by the service. Within the
typeselement, XML Schema is used to define the structure of the data that makes up the messages. A number of
messageelements are used to define the structure of the messages used by the service. The
portTypeelement contains one or more
operationelements that define the messages sent by the operations exposed by the service.
The concrete part
serviceelements. It describes how an endpoint that implements the service connects to the outside world. The
bindingelements describe how the data units described by the
messageelements are mapped into a concrete, on-the-wire data format, such as SOAP. The
serviceelements contain one or more
portelements which define the endpoints implementing the service.