getWSN_SIBWSInboundService command
Use the getWSN_SIBWSInboundService command to retrieve a reference to an inbound service associated with a v6.1 WS-Notification service.
To run the command, use the AdminTask object of the wsadmin scripting client.
(iSeries) (iSeries) The wsadmin scripting client is run from Qshell. (iSeries) 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 at the wsadmin prompt:
print AdminTask.help('WSNotificationCommands')
- For overview help on a given command, enter at the wsadmin prompt:
print AdminTask.help('command_name')
This command retrieves a reference to a specified service integration bus inbound service associated with a v6.1 WS-Notification service. Only use this command with v6.1 WS-Notification services. There are no bus-enabled inbound services associated with a v7.0 WS-Notification service.
Target object
WSNService
Required parameters
- -type
- The type of inbound service to retrieve. Valid options are:
- BROKER (notification broker)
- SUB_MGR (subscription manager)
- PUB_REG_MGR (publisher registration manager)
Conditional parameters
None.
Optional parameters
None.
Example
Retrieve a reference to the notification broker inbound service from the v6.1 WS-Notification service newService created in the example from topic "Creating a new WS-Notification service using the wsadmin tool":
brokerInboundService = AdminTask.getWSN_SIBWSInboundService(newService, ["-type", "BROKER"] )