Showing the contents of a WS-Notification topic namespace document using the wsadmin tool

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:

Purpose

This command shows the XML contents of a WS-Notification topic namespace document. There are two patterns for use of this command:
  • The required topic namespace document is determined by the target topic namespace document.
  • The required topic namespace document is determined by a combination of the target WS-Notification topic namespace, and the url provided as a parameter.
Command name
showWSNTopicDocument
Target
There are two choices for the target type of this command:
  • WSNTopicDocument (explicitly nominates the topic namespace document to be shown).
  • WSNTopicNamespace (determines the required WS-Notification topic namespace; must be used in combination with the url parameter).
Result
Details of the topic namespace document are displayed.

Required parameters

None.

Conditional parameters

url
The Web address that was used to load the XML document. This parameter must be specified if the target type is WSNTopicNamespace, and must not be specified if a WSNTopicDocument target is supplied.

Optional parameters

None.

Example

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 }



Related concepts
Learning about WS-Notification
Related tasks
WS-Notification - publish and subscribe messaging for Web services
Securing WS-Notification
Related reference
Deleting a WS-Notification topic namespace document using the wsadmin tool
Listing WS-Notification topic namespace documents using the wsadmin tool
WS-Notification troubleshooting tips
Applying a WS-Notification topic namespace document using the wsadmin tool
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 6:03:36 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-iseries&topic=rjwsn_cli_wsntnsdoc_show
File name: rjwsn_cli_wsntnsdoc_show.html