Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
listWSNServicePoints command
Use the listWSNServicePoints command to list the WS-Notification service points in the configuration of the target WS-Notification service that match the specified input parameters. A WS-Notification service point defines access to a WS-Notification service on a given bus member through a specified web service binding (for example SOAP over HTTP). Applications use the bus members associated with the WS-Notification service point to connect to the WS-Notification service.
To run the command, use the AdminTask object of the wsadmin scripting client.
Command-line help is provided for service integration bus commands:
- For a list of the available WS-Notification commands, plus a brief description of each command, run at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
The existence of a WS-Notification service point on a bus member implies that a WS-Notification web service is exposed from that bus member, and causes web service endpoints for the notification broker, subscription manager and publisher registration manager for this WS-Notification service to be exposed on the bus member with which the service point is associated. WS-Notification applications use these endpoints to interact with the WS-Notification service.
This command lists all the WSNServicePoint objects in the configuration of the target WSNService that match the specified input parameters. This command can be used to obtain a reference to one or more WSNServicePoint objects that have already been created in the configuration in order to work with the WSNServicePoint further - for example to add a new WSNTopicNamespace definition.
Target object
WSNServicePoint objects that match the requested pattern.
None
Required parameters
Conditional parameters
None
Optional parameters
-name
The name of the WSNServicePoint by which the list is filtered. Omitting this parameter results in the listing of all WSNServicePointsfor the target WSNService.
Example
Obtain a reference to the first WSNServicePoint defined against the wsnService object.
### Jython
wsnServicePointList = AdminTask.listWSNServicePoints(wsnService) wsnServicePoint = wsnServicePointList.split("\n")[0].rstrip()### Jacl
set wsnServicePointList [$AdminTask listWSNServicePoints $wsnService] set wsnServicePoint [ lindex $wsnServicePointList 0 ]
WS-Notification
Use WS-Notification for publish and subscribe messaging for web services
Secure WS-Notification
Related
WS-Notification troubleshooting tips
WS-Notification service points [Collection]