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 createWSNTopicDocument command to apply a topic namespace document to an existing topic namespace.
You can apply a WS-Notification topic namespace document to an existing topic namespace by using the wsadmin tool as described in this topic, or by using the administrative console as described in Applying a WS-Notification topic namespace document.
To run the command, use the AdminTask object of the wsadmin scripting client.
print AdminTask.help('WSNotificationCommands')
print AdminTask.help('command_name')
AdminConfig.save()
This command adds a new WS-Notification topic namespace document to an existing WS-Notification topic namespace.
WSNTopicNamespace
None.
newTopicDoc = AdminTask.createWSNTopicDocument(newTopicNamespace, ["-url", "http://www.example.org/instance_doc1.xml"] )
set newTopicDoc [ $AdminTask createWSNTopicDocument $newTopicNamespace { -url http://www.example.org/instance_doc1.xml } ]