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.

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}



Related concepts
WS-Notification
Related tasks
Using WS-Notification for publish and subscribe messaging for web services
Securing WS-Notification
Modifying a Version 6.1 WS-Notification service
Related reference
WS-Notification troubleshooting tips
Related information
WS-Notification services [Settings]
Reference topic Reference topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=rjwsn_cli_wsnserv_show
File name: rjwsn_cli_wsnserv_show.html