Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
deleteWSNService command
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.
We 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 Delete WS-Notification services.
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()
This command deletes the specified WS-Notification service and all the objects configured on the service:
- For v7.0 WS-Notification services, the WS-Notification service points and the associated service point application are deleted.
- For v6.1 WS-Notification services, the WS-Notification service points and the associated service integration bus inbound ports are deleted.
- WS-Notification permanent topic namespaces and any service integration bus topic spaces that were created by the topic namespace are deleted.
- Topic namespace documents defined for the permanent topic namespaces, and (for v6.1 WS-Notification services) the associated XML documents stored in an SDO repository are deleted.
Target object
WSNService
None
Required parameters
Conditional parameters
None
Optional parameters
-deleteSIBTopicSpaces
TRUE or FALSE. Indicates whether service integration bus topic spaces created by definition of a WS-Notification permanent topic namespace should also be deleted (default is FALSE).
Example
Delete the WS-Notification service newService created in the example from topic "Creating a new WS-Notification service by using wsadmin".
### Jython
AdminTask.deleteWSNService(newService, ["-deleteSIBTopicSpaces", "TRUE"])### Jacl
$AdminTask deleteWSNService $newService {-deleteSIBTopicSpaces TRUE}
WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Delete WS-Notification services
Related
WS-Notification troubleshooting tips
WS-Notification services [Collection]