getWSN_SIBWSInboundPort command

Use the getWSN_SIBWSInboundPort command to retrieve a reference to an inbound port associated with a Version 6.1 WS-Notification service point.

To run the command, use the AdminTask object of the wsadmin scripting client.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell.

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 retrieves a reference to a specified service integration bus inbound port associated with a Version 6.1 WS-Notification service point. Only use this command with Version 6.1 WS-Notification services. There are no bus-enabled inbound ports associated with a Version 7.0 WS-Notification service point..

Target object

WSNServicePoint

Required parameters

-type
The type of service integration bus inbound port 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 subscription manager service integration bus inbound port from the Version 6.1 WS-Notification service point newServicePoint created in the example from the topic about creating a new WS-Notification service point by using the wsadmin tool:

subManInboundPort = AdminTask.getWSN_SIBWSInboundPort(newServicePoint, ["-type", "SUB_MGR"] )