deleteJAXWSHandler command
Use the deleteJAXWSHandler command to delete the configuration for a Java API for XML-based Web Services (JAX-WS) handler configured for use, as part of a handler list, with Version 7.0 WS-Notification services.
We can delete a JAX-WS handler configuration by using wsadmin.sh as described in this topic, or using the administrative console as described in Delete JAX-WS handler configurations.
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 configuration that enables the handler to be used (as part of a handler list) with Version 7.0 WS-Notification services.
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 configuration object that is to be deleted.
Parameters
None.
Example
Delete the JAX-WS handler configuration object JAXWSHandler.
- Jython:
AdminTask.deleteJAXWSHandler(JAXWSHandler)
- Jacl:
$AdminTask deleteJAXWSHandler JAXWSHandler
Related concepts
WS-Notification
Related tasks
Use WS-Notification for publish and subscribe messaging for web services Secure WS-Notification Delete JAX-WS handler configurations
WS-Notification troubleshooting tips
Related information:
JAX-WS Handlers [Collection] Reference topic