Network Deployment (Distributed operating systems), v8.0 > 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
You use the administrative 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. WAS offers two WS-Notification service and service point options: the JAX-WS based v7.0 option and the JAX-RPC based Version 6.1 option. This task assumes that we have already designed a server topology for web service qualities of service for WS-Notification and created a v7.0 WS-Notification service. We 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. See Manage policy sets .
Version 7.0 WS-Notification service points (NotificationBrokers, PublisherRegistrationManagers and SubscriptionManagers) are implemented as JAX-WS applications that are deployed to servers or clusters, and the management of the policy sets for these WS-Notification service points is configured by 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.
Version 7.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 by 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.
Procedure
- Start the administrative console.
- 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.
- 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.
- 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 Version 7.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:
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:
- 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.
- 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.
- 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.
- 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:
- Attach policy set
- Detach policy set
- Assign binding
See Manage policy sets .
- Restart the service provider application.
- If necessary, navigate back to the WS-Notification services [Settings] panel for this v7.0 WS-Notification service.
- 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.
- 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. See Manage policy sets .
Using the Service client.policy set and bindings [collection] form, you can configure the policy set and binding information for both service clients for the selected service. Alternatively, you 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.
WS-Notification
WS-Notification and policy set configuration
Web services policy sets
WS-ReliableMessaging default policy sets
Configure WS-Notification for reliable notification
Design a QoS-partitioned server topology for WS-Notification
Design a server topology for web service qualities of service for WS-Notification
Configure a QoS-partitioned server topology for WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Manage policy sets by
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
Prepare a migrated v6.1 WS-Notification configuration for reliable notification
Related
WS-Notification roles and goals
WS-Notification troubleshooting tips