A topic namespace can optionally have topic namespace documents applied to it that define the structure of the topics that are permitted within the namespace. Use the deleteWSNTopicDocument command to delete a WS-Notification topic namespace document and the associated resources.
You can delete a WS-Notification topic namespace document by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting WS-Notification topic namespace documents.
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® Application Server scripts .
print AdminTask.help('WSNotificationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
This command removes the XML file associated with the WS-Notification topic namespace document.
WSNTopicDocument and associated objects.
None.
None.
None.
AdminTask.deleteWSNTopicDocument(newTopicDoc)
$AdminTask deleteWSNTopicDocument $newTopicDoc