WebSphere WebSphere Application Server Version 6.1.x Feature Pack for Web Services Operating Systems: AIX, HP-UX, i5/OS, Linux, Solaris, Windows, z/OS

Showing the properties of a WS-Notification administered subscriber using the wsadmin tool

Use a command script to show the properties of an administered subscriber. An administered subscriber provides a mechanism for the WS-Notification service point to subscribe to an external notification producer at server startup time.

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 shows the properties of a WS-Notification administered subscriber object in a human-readable form. There are two patterns for use of this command:
  • The required administered subscriber is determined by the target WSNAdministeredSubscriber object.
  • The required administered subscriber is determined by a combination of the target WS-Notification service point, and the endpoint, topic, topicNamespace and dialect provided as parameters.
Command name
showWSNAdministeredSubscriber
Target
There are two choices for the target type of this command:
  • WSNAdministeredSubscriber (explicitly nominates the administered subscriber to be shown).
  • WSNServicePoint (determines the required WS-Notification service point; must be used in combination with the conditional parameters).
Result
Details of the administered subscriber are displayed.

Required parameters

None.

Conditional parameters

endpoint
The remote Web service endpoint by which the list is filtered. That is, the endpoint reference (Web address) of a notification producer or notification broker application. For example http://remoteproducer.com. This parameter must be specified if the target type is WSNServicePoint, and must not be specified if a WSNAdministeredSubscriber target is supplied.
topic
Topic expression describing the class of notification messages by which the list is filtered. This describes the class of notification messages that are delivered to the WS-Notification service point. For example stock/IBM. This property can include wildcards if they are supported by the topic dialect that you select. This parameter must be specified if the target type is WSNServicePoint, and must not be specified if a WSNAdministeredSubscriber target is supplied.
topicNamespace
The namespace URI by which the list is filtered. This parameter must be specified if the target type is WSNServicePoint, and must not be specified if a WSNAdministeredSubscriber target is supplied.
dialect
The dialect in which the topic is expressed. That is, the name of the chosen topic dialect as defined by the WS-Topics specification, by which the list is filtered. Values of this parameter are SIMPLE, CONCRETE, FULL. For more information, see WS-Topics. This parameter must be specified if the target type is WSNServicePoint, and must not be specified if a WSNAdministeredSubscriber target is supplied.

Optional parameters

None.

Examples

Show the properties of the administered subscriber "newAdminSub" created in the example from topic "Creating a new WS-Notification administered subscriber using the wsadmin tool":

$AdminTask showWSNAdministeredSubscriber $newAdminSub

Show the properties of the administered subscriber "newAdminSub" created in the example from topic "Creating a new WS-Notification administered subscriber using the wsadmin tool" using the WSNServicePoint target pattern:

$AdminTask showWSNAdministeredSubscriber $newServicePoint {-topic stock}
Related tasks
WS-Notification - publish and subscribe messaging for Web services
Learning about WS-Notification
Securing WS-Notification
Related reference
Deleting a WS-Notification administered subscriber using the wsadmin tool
Listing WS-Notification administered subscribers using the wsadmin tool
WS-Topics Version 1.3 OASIS Standard
WS-Notification troubleshooting tips

Reference topic

Terms of use | Feedback


Timestamp icon Last updated: 27 November 2008
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.pmc.wsfep.multiplatform.doc/ref/rjwsn_cli_wsnadminsub_show.html

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