WAS v8.5 > Administer applications and their environment > Administer web services - Notification (WS-Notification) > Use WS-Notification for publish and subscribe messaging for web services > Accomplishing common WS-Notification tasks

Configure a v7.0 WS-Notification service with Web service QoS

Use dmgr console to configure web service qualities of service (QoS) such as reliability or security by applying policy sets to a v7.0 WS-Notification service. The configuration of policy sets for WS-Notification can be split into two types: service provider (for v7.0 WS-Notification service points) and service client (for v7.0 WS-Notification service clients). Policy set configuration for these two elements of a WS-Notification service is handled differently.

This task assumes that we have already created a v7.0 WS-Notification service. You must also have configured policy sets that meet your quality of service requirements. We can reuse existing policy sets within your organization, use the default policy sets provided by WAS, or create new policy sets. For more information, see Manage policy sets . v7.0 WS-Notification service points (NotificationBrokers, PublisherRegistrationManagers and SubscriptionManagers) are implemented as JAX-WS applications deployed to servers or clusters, and the management of the policy sets for these WS-Notification service points is configured using the policy set administrative infrastructure for service providers (both panels and wsadmin commands). In the Service provider [settings] panel for a WS-Notification service provider, there is a link to the associated WS-Notification service point application. We can use the service provider settings panel to attach policy sets to each NotificationBroker, PublisherRegistrationManager and SubscriptionManager.


v7.0 WS-Notification services are implemented as two configurable service clients (OutboundNotificationService and OutboundRemotePublisherService) for each WS-Notification service. Events that need outgoing web service invocations occur at the service integration bus level rather than the bus member level, even though notifications of the events occur within a particular bus member. The two service clients that a WS-Notification service implements are therefore configured using the policy set administrative infrastructure for service clients. In the Service client policy sets and bindings [collection] panel, the two service clients for a given WS-Notification service are listed in a tree structure, along with their endpoints and operations. We can use this panel to attach policy sets to each service client, or to both service clients for the WS-Notification service.

  1. Start the dmgr console.
  2. Navigate to Service integration -> WS-Notification -> Services or Service integration -> Buses -> bus_name -> [Services] WS-Notification services. The WS-Notification services [Collection] form is displayed.
  3. In the content pane, click the name of the v7.0 WS-Notification service to which to apply web service qualities of service. The current settings for this v7.0 WS-Notification service are displayed in the WS-Notification services [Settings] panel.

  4. Optional: To configure web service QoS for inbound requests, apply policy sets to the service provider applications (NotificationBroker, PublisherRegistrationManager and SubscriptionManager) associated with a service point:

    Click [Additional Properties] WS-Notification service points. The WS-Notification service points [Collection] form is displayed. This form shows all the service points configured for this v7.0 WS-Notification service.

    Repeat the following steps, as required, to configure the policy set and binding information for one or more service provider applications for one or more service points:

    1. In the content pane, click the name of a v7.0 WS-Notification service point in the list. The current settings for this v7.0 WS-Notification service point are displayed in the WS-Notification service points [Settings] form.

    2. Click [Additional Properties] Policy set configuration. A link to each of the service provider applications (NotificationBroker, PublisherRegistrationManager and SubscriptionManager) for this service point is displayed in the Service provider [Collection] form.

    3. Click the name of one of the applications. An indented list of endpoints and operations for this service is displayed in the Service provider [settings] form.

    4. Select one or more items in the list (service, endpoint or operations), then perform one of the three available operations on the items we have selected:

      For more information, see Manage policy sets .

    5. Restart the service provider application.

  5. Optional: To configure web service QoS for outbound requests, apply policy sets to one or both of the web service clients associated with the WS-Notification service:

    1. If necessary, navigate back to the WS-Notification services [Settings] panel for this v7.0 WS-Notification service.

    2. Click [Additional Properties] Outbound request policy sets and bindings. The two service clients for this WS-Notification service are listed in a tree structure, along with their endpoints and operations, in the Service client policy set and bindings [collection] form.

    3. Select one or both service clients, then perform one of the three available operations on the items we have selected:

      • Attach client policy set
      • Detach client policy set
      • Assign binding

      For WS-Notification service clients, policy set attachments are not supported at the endpoint (port) or operation level. Therefore endpoints or operations are not selectable, and are shown as inheriting any policy set or binding that is attached to the service client. For more information, see Manage policy sets .

      Using the Service client policy set and bindings [collection] form, we can configure the policy set and binding information for both service clients for the selected service. Alternatively, we can configure the policy set and binding information for a single v7.0 WS-Notification service client by clicking Services -> Service clients -> ws-notification_service_client_name and using the WS-Notification service client [settings] panel. This panel also provides links to the associated service integration bus and WS-Notification service.


Results

The WS-Notification service has been successfully enabled with the required web service QoS.


Related concepts:

WS-Notification
WS-Notification and policy set configuration
Web services policy sets
WS-ReliableMessaging default policy sets


Related


Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Manage policy sets
Add assured delivery to web services through WS-ReliableMessaging
Create a new v7.0 WS-Notification service
Create a new v7.0 WS-Notification service point
Configure WS-Notification for reliable notification
Prepare a migrated v6.1 WS-Notification configuration for reliable notification


Reference:

WS-Notification troubleshooting tips


+

Search Tips   |   Advanced Search