deleteJAXWSHandlerList command
Use the deleteJAXWSHandlerList command to delete the configuration for a Java API for XML-based Web Services (JAX-WS) handler list configured for use with Version 7.0 WS-Notification services.
We can delete a JAX-WS handler list using the wsadmin tool as described in this topic, or using the administrative console as described in Delete JAX-WS handler lists.
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 Configure Qshell to run WebSphere scripts .
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, enter the following command at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, enter the following command at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save the changes to the master configuration using the following command:
AdminConfig.save()
Purpose
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. This command deletes the specified JAX-WS handler list.
When you remove a handler currently used by one or more web services on a service integration bus, the system removes the handler from the handler lists for each associated web service.
Target object
The JAX-WS handler list object that is to be deleted.
Parameters
None.
Example
Delete the JAX-WS handler list object JAXWSHandlerList:
- Jython:
AdminTask.deleteJAXWSHandlerList(JAXWSHandlerList)
- Jacl:
$AdminTask deleteJAXWSHandlerList JAXWSHandlerList
Related concepts
WS-Notification
Related tasks
Use WS-Notification for publish and subscribe messaging for web services Secure WS-Notification Delete JAX-WS handler lists
WS-Notification troubleshooting tips
Related information:
JAX-WS Handler Lists [Collection] Reference topic