disconnectSIBWSEndpointListener command

Use the disconnectSIBWSEndpointListener command to disconnect a bus-enabled web services endpoint listener from 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 disconnects an endpoint listener from a service integration bus.

Target object

ObjectName of the endpoint listener to be disconnected.

The command deletes the SIBWSBusConnectionProperty object for the endpoint listener, and also deletes the reply destination (if any) that is named in the bus connection properties.

Required parameters

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

Conditional parameters

None.

Optional parameters

None.

Example

  • Using Jython:
    AdminTask.disconnectSIBWSEndpointListener(epl, ["-bus", "MyBus"])
  • Using Jacl:
    $AdminTask disconnectSIBWSEndpointListener $epl {-bus "MyBus"}