Modifying an existing JAX-WS handler configuration

Modify a Java™ API for XML-based Web Services (JAX-WS) handler configuration for a handler that is used, as part of a handler list, with Version 7.0 WS-Notification services.

Before you begin

You can modify a JAX-WS handler configuration by using the administrative console as described in this topic, or by using the modifyJAXWSHandler command.

If you modify a handler class but do not change the class name, you do not have to modify the handler configuration as described in this topic. You just have to stop then restart the servers or clusters that host the services or service points that this handler monitors.

About this task

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. You can use the administrative console to list existing handler configurations, and to view and modify their configuration details.

Procedure

  1. Start the administrative console.
  2. Navigate to Service integration > WS-Notification > JAX-WS Handlers. A list of handlers is displayed in a JAX-WS handlers collection form.
  3. Click the name of a handler in the list. The current JAX-WS handlers settings for this handler are displayed.
  4. Modify the following general properties:
    Name
    Modify the name of the handler.
    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: \ / , # $ @ : ; " * ? < > | = + & % '
    Note: When you change a handler name, the system looks up all objects that refer to it and updates the name.
    Description
    Modify the (optional) description of the handler.
    Class name
    Change the name of the class that is to be instantiated.
    If you change the class name, you must also make the new handler class available to the server or cluster that hosts the WS-Notification service points (for inbound invocation handling) or WS-Notification services (for outbound invocation handling) that you want to monitor, as detailed in Loading JAX-WS handler classes.
    Note: You can configure multiple instances of a handler by creating each instance with a different handler name, and pointing to the same handler class.
  5. Save your changes to the master configuration.

Results

If the processing completes successfully, the list of handlers is redisplayed. Otherwise, an error message is displayed.
Task topic    

Terms of Use | Feedback

Last updated: Oct 22, 2010 12:21:29 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-zos&topic=tjwsn_jaxws_handler_mod
File name: tjwsn_jaxws_handler_mod.html