Use the createJAXWSHandlerList command to create a Java API for XML-based Web Services (JAX-WS) handler list for use with Version 7.0 WS-Notification services.
You can create a new JAX-WS handler list by using the wsadmin tool as described in this topic, or by using the administrative console as described in Creating a new 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.
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 cell scope object.
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.
targetCell = AdminConfig.list('Cell') JAXWSHandlerList = AdminTask.createJAXWSHandlerList(targetCell, '[-name handlerList1 -description desc -handlers [[handler1] [handler2]]]')
$AdminTask createJAXWSHandlerList targetCell {-name handlerList1 -description desc -handlers {{handler1}{handler2}} }