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 Configuring Qshell to run WebSphere scripts using wsadmin scripting.
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
the topic about listing WS-Notification services by using the wsadmin tool, by using the
target object pattern.
- Using
Jython:
AdminTask.showWSNService(wsnServiceList)
- Using
Jacl:
$AdminTask showWSNService $wsnServiceList
Display the WS-Notification service obtained in the example from
the topic about listing WS-Notification services by using the wsadmin tool, by using the
parameters pattern.
- Using
Jython:
AdminTask.showWSNService(["-bus", "bus1", "-name", "NewWSNService"])
- Using
Jacl:
$AdminTask showWSNService {-bus bus1 -name NewWSNService}