Running the Address Book sample using WS-ReliableMessaging

SOAP requests or responses might fail to be delivered to a Web Service or client due to network outage or server failure. Web Services Reliable Messaging (WS-RM) is a specification that allows two SOAP-based systems to send messages between each other reliably. The WS-RM protocol defines how to send messages again that it determines have not been delivered successfully, and prevents duplicate messages being delivered to the destination application.

We will demonstrate how WS-RM can be used to deliver SOAP/HTTP messages reliably by stopping and starting a TCP/IP channel to simulate network outage. Even with this network outage, all the SOAP/HTTP requests and responses are delivered successfully.

  1. Set up the TCP/IP Monitor as described in Setting up a TCP/IP Monitor in order to simulate network outage.
  2. Complete the instructions in Setting up the Address Book samples to use HTTP.
  3. The following instructions demonstrate that if any network outage happens, an exception will be thrown when the consumer and provider flows are not configured to use WS-RM:
  4. The following instructions demonstrate that if any network outage happens, SOAP/HTTP messages are still delivered reliably when the consumer and provider flows are configured to use WS-RM:
  5. You have extended the Address Book sample to use WS-ReliableMessaging.

Back to Extending the Address Book sample

Back to sample home