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 > Configure WS-Notification resources > Configure WS-Notification resources by > Configure JAX-WS handlers > Create a new JAX-WS handler list


Modify an existing JAX-WS handler list

Modify the configuration details for a Java API for XML-based Web Services (JAX-WS) handler list that is configured for use with JAX-WS based v7.0 WS-Notification services.

We can modify a JAX-WS handler list by as described in this topic, or by using the modifyJAXWSHandlerList command.

We can only add previously-configured handlers to a handler list.

To configure a handler, see Create a new JAX-WS handler configuration.

A Java API for XML-based Web Services (JAX-WS) handler is a Java class that performs a range of handling tasks. For example: logging messages, or transforming their contents, or terminating an incoming request.

To enable handlers to undertake more complex operations, you chain them together into handler lists. The approach taken in WAS is to assign handler lists (rather than individual handlers) to WS-Notification service points (for inbound invocation handling) or WS-Notification services (for outbound invocation handling).

We can use the administrative console to list existing handler lists, and to view and modify their configuration details.


Procedure

  1. Start the administrative console.
  2. Navigate to Service integration -> WS-Notification -> JAX-WS Handler Lists . A list of all the handler lists is displayed in a JAX-WS handler lists collection form.

  3. Click the name of a handler list in the list. The current JAX-WS handler lists settings for this handler are displayed.
  4. Modify the following general properties:

    Name

    Modify the name of the handler list.

    This name must be unique at cell scope, and it must obey the following syntax rules:

    • It must not start with "." (a period).
    • It must not start or end with a space.
    • It must not contain any of the following characters: \ / , # $ @ : ; " * ? < > | = + & % '

    When you change a handler list name, the system looks up all objects that refer to it and updates the name.

    Description

    Modify the (optional) description of the handler list.

    JAX-WS handlers

    In the JAX-WS handlers pane...

    1. Select one or more previously-configured handlers from either the list of available JAX-WS handlers or the list of handlers for this JAX-WS handler list, then click Add or Remove to modify the list of handlers for this JAX-WS handler list.

    2. Select a handler in the list of handlers for this JAX-WS handler list, then click Up or Down to change the position of the handler within the list.

    Handlers are applied in the sequence in which they appear in the handler list.

    If you click Reset, only the Name and Description fields are reset to their state when the form was first loaded. The two lists of available and assigned handlers are not reset.

  5. Save your changes to the master configuration.


Results

If the processing completes successfully, the list of handler lists is redisplayed. Otherwise, an error message is displayed.


What to do next

To apply this handler list to inbound notification requests received at a v7.0 WS-Notification point, associate it with the service point as described in Create a new v7.0 WS-Notification service point or Modify a v7.0 WS-Notification service point.

To apply this handler list to outbound notification requests sent by your v7.0 WS-Notification service, associate the handler list with the service as described in Create a new v7.0 WS-Notification service or Modify a v7.0 WS-Notification service.

For an overview of the end-to-end task of creating JAX-WS handlers, chaining them together in a handler list, then applying the handler list to a v7.0 WS-Notification service point or service, see Apply a JAX-WS handler list to a WS-Notification service.
WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification


Related


modifyJAXWSHandlerList command
showJAXWSHandlerList command
WS-Notification troubleshooting tips
JAX-WS Handler Lists [Settings]

+

Search Tips   |   Advanced Search