Use the deleteWSNService command to delete a WS-Notification service and associated resources. A WS-Notification service provides access to service integration bus resources for web services publish and subscribe clients.
You can delete a WS-Notification service by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting WS-Notification services.
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 scripts using wsadmin scripting.
Command-line help is provided for service integration bus commands:
print AdminTask.help('WSNotificationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
WSNService
None.
None.
AdminTask.deleteWSNService(newService, ["-deleteSIBTopicSpaces", "TRUE"])
$AdminTask deleteWSNService $newService {-deleteSIBTopicSpaces TRUE}