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® Application Server scripts.

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

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.

Example

Display the WS-Notification service obtained in the example from topic "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 topic "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}
Reference topic    

Terms of Use | Feedback

Last updated: Oct 21, 2010 3:36:59 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-express-iseries&topic=rjwsn_cli_wsnserv_show
File name: rjwsn_cli_wsnserv_show.html