Configuring WS-Notification for reliable notification

To ensure that WS-Notification web service interactions are performed in a reliable way, you configure a 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.

Before you begin

This task assumes that you have created a Version 7.0 WS-Notification service and service point, and that you have created two JAX-WS applications:
  • A JAX-WS client application, created from the WSDL of the new service point.
  • A JAX-WS based WS-Notification consumer web service.
For more information about how to create these applications, see Using JAX-WS clients and web services with new Version 7.0 WS-Notification service points.

About this task

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.
Note: 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.

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

Procedure

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

    You can reuse existing policy sets within your organization, use the WS-ReliableMessaging default policy sets provided by WebSphere® Application Server, or create new policy sets. For more information, see Configuring a WS-ReliableMessaging policy set by 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 Configuring 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 by 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 by 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.
    Note: 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 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.
Task topic    

Terms of Use | Feedback

Last updated: Oct 20, 2010 11:50:58 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-base-iseries&topic=tjwsn_task_config_wsrm
File name: tjwsn_task_config_wsrm.html