The message standards define the structure of the communication units and the ways they can be exchanged between services.

The elementary message concepts are: message, operation, interface, interface binding, endpoint and service. A message is the basic unit of communication between a client and a web service. An operation is the sequence of actions related to a single service invocation. An interface is a logical grouping of operations. An interface binding relates an abstract interface to a specific transport protocol and message format. An endpoint is the location of a bound interface, specified by an URI (Uniform Resource Identifier). Finally, the service is a collection of endpoints.

Standard Reference Status Standards
organization
Sponsors
SOAP [Gudgin03] standard 1.2 --
SOAP MTOM (Message Transmission Optimization Method) [Gudgin05b] standard
XOP (XML-binary Optimized Packaging) [Gudgin05a] standard
SwA (SOAP with Attachments) [Barton00] deprecated
WS-Attachments / DIME [Nielsen02b] deprecated
WS-Addressing [Box04a] draft standard
WS-Enumeration [Geller04a] proposal -- , ...
WS-Eventing [Geller04c] proposal -- , ...
WS-Notification [Graham04] proposal , ...

SOAP defines the message protocol for Web Services as a XML document, making transport independence possible. The SOAP envelope separates the header with system data from the body with application data or fault information. The header can contain data from different Web Service extension protocols.

MTOM/XOP is used to transport binary data in SOAP messages, replacing former approaches like SwA and WS-Attachments/DIME. XOP is a data encoding that allows both binary data and text data in XML documents, without using base 64 encoding. MTOM specifies how to use XOP in SOAP messages.

WS-Addressing allows for the addressing and forwarding of SOAP messages in a transport-independent way. WS-Addressing defines header elements to identify the message, the SOAP nodes and the action to perform. The addressing with endpoint references is more fine-grained than with basic URIs, allowing for properties and additional parameters.

WS-Enumeration enables the creation of data enumeration sessions encompassing several requests and responses.

WS-Eventing and WS-Notification are competing standards for asynchronous event notification using Web Services. With either one, polling is not necessary. Both models have subscribers, subscription managers and event consumers.

WS-Polling specifies mechanisms for successive requests when asynchronous notifications are made impossible by a firewall or another reason. In these cases, one of the endpoints must periodically connect to check for information updates.


References

BibTeX entries

[Barton00]
Barton, J.J.; Thatte, S. & Nielsen, H.F., SOAP Messages with Attachments, W3C, Hewlett Packard Labs, Microsoft, 2000
http://www.w3.org/TR/2000/NOTE-SOAP-attachments-20001211

[Box04a]
Box, D. & Curbera, F., Web Services Addressing (WS-Addressing), W3C, Microsoft, IBM, BEA, SAP, 2004
http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/

[Davis05]
Davis, D., Web Services Polling (WS-Polling), W3C, IBM, 2005
http://www.w3.org/Submission/2005/SUBM-ws-polling-20051026/

[Geller04a]
Geller, A., Web Service Enumeration (WS-Enumeration), Microsoft, Systinet, Sonic Software, BEA, Computer Associates, 2004
http://msdn.microsoft.com/library/en-us/dnglobspec/html/ws-enumeration.pdf

[Geller04c]
Geller, A., Web Services Eventing (WS-Eventing), Microsoft, IBM, TIBCO Software, BEA Systems, Computer Associates, Sun Microsystems, 2004
http://www-128.ibm.com/developerworks/webservices/library/specification/ws-eventing/

[Graham04]
Graham, S. & Niblett, P., Web Services Notification (WS-Notification) Version 1.0, IBM, Sonic Software, TIBCO Software, Akamaii Technologies, SAP AG, Globus, Argonne National Laboratory, Hewlett-Packard, 2004
http://ifr.sap.com/ws-notification/ws-notification.pdf

[Gudgin03]
Gudgin, M.; Hadley, M.; Mendelsohn, N.; Moreau, J. & Nielsen, H.F., SOAP Version 1.2 Part 1: Messaging Framework, W3C, Microsoft, Sun Microsystems, IBM, Canon, 2003
http://www.w3.org/TR/2003/REC-soap12-part1-20030624/

[Gudgin05a]
Gudgin, M.; Mendelsohn, N.; Nottingham, M. & Ruellan, H., XML-binary Optimized Packaging, W3C, Microsoft, IBM, BEA, Canon, 2005
http://www.w3.org/TR/2005/REC-xop10-20050125/

[Gudgin05b]
Gudgin, M.; Mendelsohn, N.; Nottingham, M. & Ruellan, H., SOAP Message Transmission Optimization Mechanism, W3C, Microsoft, IBM, BEA, Canon, 2005
http://www.w3.org/TR/2005/REC-soap12-mtom-20050125/

[Nielsen02b]
Nielsen, H.F.; Christensen, E. & Farrell, J., WS-Attachments, Microsoft, IBM, 2002
http://msdn.microsoft.com/library/en-us/dnglobspec/html/draft-nielsen-dime-soap-01.txt