Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)
deleteWSGWGatewayService command
Use the deleteWSGWGatewayService command to delete a gateway service configuration.
We can delete a gateway service configuration by using wsadmin.sh as described in this topic, or by using the administrative console as described in Delete gateway service configurations.
To run the command, use the AdminTask object of the wsadmin scripting client.
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, run at the wsadmin prompt:
print AdminTask.help('WSGateway')
- For overview help on a given command, run at the wsadmin prompt:
print AdminTask.help('command_name')
After using the command, save changes to the master configuration; for example, by using the following command:
AdminConfig.save()
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.
Destinations associated with the target services are not deleted.
Parameters
None
Example
### Jython
AdminTask.deleteWSGWGatewayService(gwService)### Jacl
$AdminTask deleteWSGWGatewayService $gwService