WebSphere WebSphere Application Server Network Deployment, Version 6.1.x Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Listing WS-Notification topic namespace documents 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 list the topic namespace documents in the configuration of the target WS-Notification topic namespace that match the specified input parameters.

To run the command, use the AdminTask object of the wsadmin scripting client.

For i5/OS platforms 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 lists all the topic namespace documents in the configuration of the target WS-Notification topic namespace that match the specified input parameters. This command can be used to obtain a reference to one or more topic namespace documents that have already been created in the configuration in order to work with the topic namespace document further, for example to delete the definition.

Command name
listWSNTopicDocuments
Target
WSNTopicNamespace
Result
A List of topic namespace documents that match the requested pattern.

Required parameters

None.

Conditional parameters

None.

Optional parameters

url
The Web address that was used to load the XML document.

Examples

Obtain a reference to the first topic namespace document defined against the "newTopicNamespace" object.

set wsnDocList [$AdminTask listWSNTopicDocuments $newTopicNamespace]
set wsnTopicDoc [ lindex $wsnDocList 0 ]

Obtain a reference to the first topic namespace document defined against the "newTopicNamespace" object with a given url

set wsnDocList [$AdminTask listWSNTopicDocuments $newTopicNamespace {-url file://c:/temp/doc.xml}]
set wsnDoc [ lindex $wsnDocList 0 ] 
Related tasks
WS-Notification - publish and subscribe messaging for Web services
Learning about WS-Notification
Securing WS-Notification
Related reference
Deleting a WS-Notification topic namespace document using the wsadmin tool
Showing the contents of a WS-Notification topic namespace document using the wsadmin tool
WS-Notification troubleshooting tips

Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 26 February 2009
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.nd.multiplatform.doc/ref/rjwsn_cli_wsntnsdoc_list.html

Copyright IBM Corporation 2004, 2009. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)