Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)


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.

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.


Example

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"] )

WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification


Related


WS-Notification troubleshooting tips
WS-Notification services [Collection]

+

Search Tips   |   Advanced Search