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.

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.



Subtopics
Deleting a WS-Notification topic namespace document using the wsadmin tool
Listing WS-Notification topic namespace documents using the wsadmin tool
Showing the contents of a WS-Notification topic namespace document using the wsadmin tool
Related concepts
Learning about WS-Notification
Related tasks
WS-Notification - publish and subscribe messaging for Web services
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
Configuring WS-Notification resources using the wsadmin tool
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 12:02:36 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-zos&topic=rjwsn_cli_wsntnsdoc_new
File name: rjwsn_cli_wsntnsdoc_new.html