|
Web Services Definition Language (WSDL)
An Introduction |
|
Prof. David Bernstein
|
| Computer Science Department |
| bernstdh@jmu.edu |
type
|
A container for data type definitions (e.g., XSD). |
message
|
One or more parts (with its/their associated types). |
operation
|
An abstract description of an action. |
portType
|
An abstract set of operations. |
binding
|
A concrete protocol and data format for a port type. |
port
|
A combination of a binding and a network address (i.e., a single endpoint). |
service
|
A collection of related endpoints. |
WSDL uses the XSD type system, for example:
message element has one
or more part elements, each of which represents
what would be called a parameter in a language like Java
An Example
interface
operation elementsname attribute provides a unique name
among all port types defined within in the enclosing
WSDL document
name
parameterOrder (optional)input (optional)output (optional)
An Example
portType element, like an
interface in Java, cannot be instantiatedportType
portType"
An Example
port elements defines an individual
endpoint by specifying a single address for a binding
service element groups a set of related
port elements together