Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
createJAXWSHandlerList command
Use the createJAXWSHandlerList command to create a Java API for XML-based Web Services (JAX-WS) handler list for use with v7.0 WS-Notification services.
We can create a new JAX-WS handler list by using the wsadmin tool as described in this topic, or by using the admin console as described in Create a new JAX-WS handler list.
We 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.
Command-line help is provided for service integration bus commands:
- For a list of the available WS-Notification commands, plus a brief description of each command, run at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save changes to the master configuration; for example, by using the following command:
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 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).
Target Object
A cell scope object.
Required parameters
-name
The name of the JAX-WS 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: \ / , # $ @ : ; " * ? < > | = + & % '
For example TestList.
Conditional parameters
None
Optional parameters
-description
A description of the JAX-WS handler list.
-handlers
The list of JAX-WS handler names to be added to this list. 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.
Example
Create the configuration for a particular JAX-WS handler list class:
### Jython
targetCell = AdminConfig.list('Cell') JAXWSHandlerList = AdminTask.createJAXWSHandlerList(targetCell, '[-name handlerList1 -description desc -handlers [[handler1] [handler2]]]')### Jacl
$AdminTask createJAXWSHandlerList targetCell {-name handlerList1 -description desc -handlers {{handler1}{handler2}} }
WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Create a new JAX-WS handler list
Related
WS-Notification troubleshooting tips
JAX-WS Handler Lists [Collection]
JAX-WS Handler Lists [Settings]