Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
deleteWSNTopicNamespace command
Use the deleteWSNTopicNamespace command to delete a WS-Notification permanent topic namespace and the associated resources. A topic namespace is a grouping of topics that allows information to be shared between applications. You use a permanent topic namespace to statically define the association between a WS-Notification topic namespace URI and a service integration bus topic space destination.
We can delete WS-Notification permanent topic namespaces by using wsadmin as described in this topic, or by using the admin console as described in Delete WS-Notification permanent topic namespaces.
Deleting the topic namespace mapping that was used to establish a (currently active) subscription has the same effect as deleting the underlying service integration bus topic space, and subscriptions that were created using this namespace mapping are deleted. For more information about the effect that deleting a topic namespace has upon new and existing WS-Notification applications, see Failures as a result of changes in topic space and topic namespace configurations.
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 all the objects associated with the specified WS-Notification topic namespace, including any linked topic namespace documents.
Target object
WSNTopicNamespace and associated objects.
None
Required parameters
Conditional parameters
None
Optional parameters
-deleteSIBTopicSpace
TRUE or FALSE. Indicates whether the associated service integration bus topic space is deleted with this object if the WS-Notification topic namespace was responsible for creating it. If the bus topic space existed before the WS-Notification topic namespace was created then this parameter has no effect and the bus topic space is not deleted.
Example
Delete the WS-Notification topic namespace newTopicNamespace created in the example from topic "Creating a new permanent WS-Notification topic namespace by using wsadmin".
### Jython
AdminTask.deleteWSNTopicNamespace(newTopicNamespace)### Jacl
$AdminTask deleteWSNTopicNamespace $newTopicNamespace
WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Delete WS-Notification permanent topic namespaces
Related
WS-Notification troubleshooting tips
Permanent topic namespaces [Collection]