Use the modifyJAXWSHandlerList command to modify the configuration details for a Java API for XML-based Web Services (JAX-WS) handler list that has been configured for use with Version 7.0 WS-Notification services.
You can modify a JAX-WS handler list by using the wsadmin tool as described in this topic, or by using the administrative console as described in Modifying an existing JAX-WS handler list.
You can only add previously-configured handlers to a handler list. To configure a handler, see the createJAXWSHandler command.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts .
print AdminTask.help('WSNotificationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
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 WebSphere Application Server 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).
A JAX-WS handler list object.
When you change a handler list name, the system looks up all objects that refer to it and updates the name.
None.
Each handler name supplied must exist as a JAX-WS handler object at cell scope. Handlers are applied in the sequence in which they appear in the handler list.
JAXWSHandlerList = AdminTask.modifyJAXWSHandlerList(JAXWSHandlerList, '[-name newHandlerList1 -description newDesc -handlers [[handler1] [handler2]]]')
$AdminTask modifyJAXWSHandlerList JAXWSHandlerList {-name handlerList1 -description newDesc -handlers {{handler1}{handler2}} }