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

Applying 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 add a topic namespace document to an existing topic namespace.

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 adds a new WS-Notification topic namespace document to an existing WS-Notification topic namespace.

Command name
createWSNTopicDocument
Target
WSNTopicNamespace
Result
A topic namespace document is added.

Required parameters

url
The URL of the topic namespace document that should be loaded. This URL must address a valid topic namespace document as defined in the WS-Topics Version 1.3 OASIS Standard

Conditional parameters

None.

Optional parameters

description
An optional description of the topic namespace document.

Example

Create a new topic namespace document on the WS-Notification topic namespace "newTopicNamespace" created in the example from topic "Creating a new permanent WS-Notification topic namespace using the wsadmin tool".

set newTopicDoc [ $AdminTask createWSNTopicDocument $newTopicNamespace 
{ -url http://www.example.org/instance_doc1.xml } ]
Note that you must change the url parameter to point to a valid topic namespace document as defined in the WS-Topics Version 1.3 OASIS Standard.
Related tasks
WS-Notification - publish and subscribe messaging for Web services
Learning about WS-Notification
Securing WS-Notification
Related reference
Creating a new WS-Notification service using the wsadmin tool
Creating a new WS-Notification service point using the wsadmin tool
Creating a new WS-Notification administered subscriber using the wsadmin tool
Creating a new permanent WS-Notification topic namespace using the wsadmin tool
Retrieving a reference to an inbound service using the wsadmin tool
Retrieving a reference to an inbound port 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_new.html

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