deleteWSGWGatewayService command
Use the deleteWSGWGatewayService command to delete a gateway service configuration.
You can delete a gateway service configuration by using the wsadmin tool as described in this topic, or by using the administrative console as described in Deleting gateway service configurations.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell.
Command-line help is provided for service integration bus commands:
- For a list of the available gateway commands, plus a brief description of each
command, enter the following command at the wsadmin prompt:
print AdminTask.help('WSGateway')
- 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 deletes a gateway service.
Target Object
ObjectName of the GatewayService object
The command deletes
the following objects:
- The gateway destination.
- The corresponding reply destination, InboundService and InboundPort enablement objects.
- All associated TargetService objects.
Parameters
None.
Example
- Using Jython:
AdminTask.deleteWSGWGatewayService(gwService)
- Using Jacl:
$AdminTask deleteWSGWGatewayService $gwService