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 a command script to show the contents of a WS-Notification topic namespace document.
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 the topic "Configure Qshell to
run WebSphere Application Server scripts".
This command is only valid when used with WebSphere Application Server Version 6.1 and later application servers. Do not use it with earlier versions.
Command-line help is provided for service integration bus commands:
wsadmin> $AdminTask help WSNotificationCommands
wsadmin> $AdminTask help command_name
None.
None.
Show the contents of the topic namespace document "newTopicDoc" created in the example from topic "Applying a WS-Notification topic namespace document using the wsadmin tool":
$AdminTask showWSNTopicDocument $newTopicDoc
Show the contents of the topic namespace document "newTopicDoc" created in the example from topic "Applying a WS-Notification topic namespace document using the wsadmin tool" using the WSNTopicNamespace target pattern:
$AdminTask showWSNTopicDocument $newTopicNamespace { -url http://www.example.org/instance_doc1.xml }