- What the service does
- Where it can be found
- How the service can be invoked
Two main elements
- Functional description: where, how and what of the service
- Nonfunctional description: why (service should be invoked); who (the service provider is)
- Root element is <definitions>
- Namespace URIs
- Use XML schema to describe datatypes
Abstract (service interface definition)
- Datatypes:
- Messages:
- Operations
Concrete
- Specific bindings:
- Service endpoint URLs:
Child elements of
- <types>(1): datatypes be exchanged in messages; no need if built-in simple XML schema datatypes used
- <message>: structure of message (parameters, return types); made up of
-
-
-
<definitions>
<types>
<message> & <portType>
<binding>
In some cases,
<service>
Across multiple files
Splitting documents into
- service interface definition:
- Service implementation definition:
* Ensure:
SOAP fault msg, param in header
Fault information
- Abstract message format for error message
- Define fault Information in
- <soap:header><soap:headerfault>
- Request-response
- One-way operations
- Notification operations
- Solicit-response (endpoint “pushes” message and receive a correlated message)
Binding
- Using HTTP GET/POST operations
- MIME extensions
No comments:
Post a Comment