connectSIBWSEndpointListener command

Use the connectSIBWSEndpointListener command to connect a service integration bus-enabled web services endpoint listener to a service integration bus.

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 bus-enabled web services commands, plus a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('SIBWebServices')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

After using the command, save your changes to the master configuration by using the following command:

AdminConfig.save()

Purpose

This command connects an endpoint listener to a service integration bus.

The command creates a SIBWSBusConnectionProperty object for the endpoint listener, and a reply destination. The command also sets the reply destination name in the bus connection properties.

Target object

ObjectName of the endpoint listener to be connected.

Required parameters

-bus
The name of the service integration bus to which the endpoint listener is to be connected.

Conditional parameters

None.

Optional parameters

-replyDestination
The name to use for the reply destination for this connection. If no destination name is specified, the command generates a name.

Example

  • Using Jython:
    busConn = AdminTask.connectSIBWSEndpointListener(epl, "[-bus myBus]")
  • Using Jacl:
    set busConn [$AdminTask connectSIBWSEndpointListener $epl {-bus "MyBus"}]