removeSIBWSOutboundPort command
Use the removeSIBWSOutboundPort command to remove a service integration bus-enabled web services outbound port.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configure Qshell to run WebSphere scripts .
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 the changes to the master configuration using the following command:
AdminConfig.save()
Purpose
This command removes the configuration for an OutboundPort.
Target object
ObjectName of the OutboundPort object that is to be removed.
The port destination is deleted. Any messages on the port destination are either deleted or sent to an exception destination as specified in the policy for the messaging bus.
If the port that is removed is the default for the OutboundService, then one of the remaining ports (if any) is chosen to be the default, and the default routing on the service destination is updated. If there are no more ports, the default is cleared from the OutboundService and the service destination.
Resources associated with the OutboundPort (JAX-RPC handler lists, WS-Security configuration) are dissociated from the OutboundPort, but not deleted.
Parameters
None.
Example
- Jython:
AdminTask.removeSIBWSOutboundPort(outPort)
- Jacl:
$AdminTask removeSIBWSOutboundPort $outPort
Related information:
Outbound Ports [Settings] Reference topic