+

Search Tips   |   Advanced Search

deleteWSNTopicDocument command

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.

We can delete a WS-Notification topic namespace document by as described in this topic, or by using the administrative console as described in Delete 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 Configure Qshell to run WebSphere scripts .

Command-line help is provided for service integration bus commands:

After using the command, save the changes to the master configuration using the following command:

AdminConfig.save()


Purpose

This command removes the XML file associated with the WS-Notification topic namespace document.


Target object

WSNTopicDocument and associated objects.


Required parameters

None.


Conditional parameters

None.


Optional parameters

None.


Example

Delete the topic namespace document newTopicDoc created in the example from topic "Applying a WS-Notification topic namespace document by ":


Related concepts

  • WS-Notification


    Related tasks

  • Use WS-Notification for publish and subscribe messaging for web services

  • Secure WS-Notification

  • Delete WS-Notification topic namespace documents

  • WS-Notification troubleshooting tips


    Related information:

  • Topic namespace document [Collection] Reference topic