Section 10.3. Architectural Concepts


10.3. Architectural Concepts

Of all the proposals for reliable messaging for Web services, WS-Reliable Messaging seems to have the most promise for broad adoption and widespread deployment necessary to become a standard for interoperability. That is because its sponsors represent a majority market-share in both the reliable messaging and Web services solution space.

WS-Reliable Messaging is by far the simplest of the proposed specifications. It focuses exclusively on the reliable messaging aspect. The addressing aspect has been factored out into a separate specification called WS-Addressing, covered in detail in Chapter 5, "WS-Addressing."

Reliable messaging is enabled by virtue of something called a Sequence, which is effectively a shared context for a set of messages to be delivered with a common quality of service between a sending and a receiving endpoint. Each message within a Sequence is assigned a unique message number, starting with 1 and increasing monotonically, by one, for each subsequent message in the Sequence. The receiving endpoint acknowledges receipt of the messages within a Sequence by indicating the range of messages it has received using a SequenceAcknowledgement. Each SequenceAcknowledgement message carries the acknowledgement information for all the messages that have been received within a Sequence. Hence, a SequenceAcknowledgement message does not require retransmission should it fail to reach the sending endpoint of the original message, because the information is sent with a subsequent SequenceAcknowledgement message.

As with the other reliable messaging specifications proposed, WS-Reliable Messaging is defined as a set of SOAP Header extension elements that enable a range of qualities of service for a Web service, from at-most-once through exactly-once delivery assurances, preservation of message order, and duplicate detection. However, unlike the other proposals, WS-Reliable Messaging accomplishes this with a much simpler syntax and more efficient processing semantics.



    Web Services Platform Architecture(c) SOAP, WSDL, WS-Policy, WS-Addressing, WS-BP[.  .. ] More
    Web Services Platform Architecture(c) SOAP, WSDL, WS-Policy, WS-Addressing, WS-BP[. .. ] More
    ISBN: N/A
    EAN: N/A
    Year: 2005
    Pages: 176

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net