showWSNService command
Use the showWSNService command to show the properties of a WS-Notification service. 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.
The wsadmin scripting client is run from Qshell. For more information, see Configure Qshell to run WebSphere scripts .
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, enter the following command at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, enter the following command at the wsadmin prompt:
print AdminTask.help('command_name')
Purpose
This command shows the properties of a WS-Notification service in a human-readable form. There are two patterns for use of this command:
- The required WS-Notification service is determined by the target object used.
- The required WS-Notification service is determined by the values specified on the parameters.
Target object
WSNService (conditional - must be provided if the bus and name parameters are not provided).
Required parameters
None.
Conditional parameters
- -bus
- The name of the service integration bus on which the WS-Notification service is located. This must be specified if a target object is not specified.
- -name
- The name of the WS-Notification service to be displayed. This must be specified if a target object is not specified.
Optional parameters
None.
Examples
Display the WS-Notification service obtained in the example from topic "Listing WS-Notification services by ", using the target object pattern.
- Jython:
AdminTask.showWSNService(wsnServiceList)
- Jacl:
$AdminTask showWSNService $wsnServiceList
Display the WS-Notification service obtained in the example from topic "Listing WS-Notification services by ", using the parameters pattern.
- Jython:
AdminTask.showWSNService(["-bus", "bus1", "-name", "NewWSNService"])
- Jacl:
$AdminTask showWSNService {-bus bus1 -name NewWSNService}
Related concepts
WS-Notification
Related tasks
Use WS-Notification for publish and subscribe messaging for web services Secure WS-Notification Modify a Version 6.1 WS-Notification service
WS-Notification troubleshooting tips
Related information:
WS-Notification services [Settings] Reference topic