+

Search Tips   |   Advanced Search

Configuring WS-Notification for reliable notification

To ensure that WS-Notification web service interactions are performed in a reliable way, you configure a JAX-WS based Version 7.0 WS-Notification service, JAX-WS client, and JAX-WS based WS-Notification consumer web service (through policy set functions) to use WS-ReliableMessaging.

This task assumes that we have created a Version 7.0 WS-Notification service and service point, and that we have created two JAX-WS applications:

For more information about how to create these applications, see Use JAX-WS clients and web services with new Version 7.0 WS-Notification service points.

Reliable notification refers to the reliable transmission of messages to and from the IBM WS-Notification implementation. You enable this reliability to mitigate the problems inherent in network transmission protocols such as HTTP.

This reliability does not include the behavior of the application server itself. For more information, see WS-Notification and end-to-end reliability.

To enable reliable notification, you apply policy sets that include the WS-ReliableMessaging policy to the service point, service client, and service consumer applications.

We can configure policy sets for JAX-WS clients for both application server and client environments, including thin clients. For more information, see Manage policy sets using the administrative console.

  1. Configure policy sets that meet the reliable messaging requirements.

    We can reuse existing policy sets within our organization, use the WS-ReliableMessaging default policy sets provided by WebSphere Application Server, or create new policy sets. For more information, see Configure a WS-ReliableMessaging policy set using the administrative console.

  2. Configure the Version 7.0 WS-Notification service and service points for reliable notification.

    Apply policy sets that include the WS-ReliableMessaging policy.

  3. Configure the JAX-WS based WS-Notification client application so that it interacts reliably with its target web service by using WS-ReliableMessaging.

    Apply policy sets that include the WS-ReliableMessaging policy, as described in Configure a Version 7.0 WS-Notification service with Web service QoS and Attaching and binding a WS-ReliableMessaging policy set to a web service application using the administrative console.

  4. Configure the JAX-WS based WS-Notification consumer web service application so that it interacts reliably with clients that attempt to communicate with it.

    Apply policy sets that include the WS-ReliableMessaging policy, as described in Attaching and binding a WS-ReliableMessaging policy set to a web service application using the administrative console.

  5. Configure the WS-Notification client application (which has been configured to interact reliably) to communicate with the WS-Notification service point (which has similarly been configured to receive messages reliably).

  6. Prompt the WS-Notification client application to subscribe on behalf on the (reliably configured) WS-Notification consumer web service.

    The WS-Notification consumer web service might also act as a client to perform its own subscription. This client would require additional policy set configuration if reliable interactions were required.

  7. Initiate notification message publications from the WS-Notification client application.


Results

The JAX-WS based Version 7.0 WS-Notification service point receives the notification messages in a reliable way from the WS-Notification client, and publishes the notification messages in a reliable way to the WS-Notification consumer web service.


Related concepts

  • WS-Notification
  • WS-Notification and policy set configuration
  • WS-ReliableMessaging default policy sets


    Related tasks

  • Use WS-Notification for publish and subscribe messaging for web services
  • Secure WS-Notification
  • Configure a Version 7.0 WS-Notification service with Web service QoS
  • Manage policy sets using the administrative console
  • Add assured delivery to web services through WS-ReliableMessaging

  • WS-Notification troubleshooting tips