+

Search Tips   |   Advanced Search

listWSNServices command

Use the listWSNServices command to list WS-Notification services. A WS-Notification service provides access to service integration bus resources for web services publish and subscribe clients.

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

(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) See Configure Qshell to run WebSphere scripts .

Command-line help is provided for service integration bus commands:

This command lists all the WS-Notification services in the configuration that match the specified input parameters. This command can be used to obtain a reference to one or more WS-Notification services that have already been created in the configuration in order to work with the service further, for example to add a new WS-Notification topic namespace definition.


Target object

WS-Notification services that match the requested pattern.


Required parameters

None.


Conditional parameters

None.


Optional parameters

-bus

The name of the service integration bus by which the list of WS-Notification services is filtered.

-name

The name of the WS-Notification service by which the list of WS-Notification services is filtered.

-type

The type of WS-Notification service by which the list of WS-Notification services is filtered. Permitted values are V7.0 and V6.1. By default, services of all types are listed.


Examples

List all WS-Notification services of any type on bus1:

wsnServiceList = AdminTask.listWSNServices(["-bus", "bus1"] )

List all v7.0 WS-Notification services on bus1:

wsnServiceList = AdminTask.listWSNServices(["-bus", "bus1", "-type", "V7.0"] )