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.
Para executar o comando, utilize o objeto AdminTask do cliente de script wsadmin.
O cliente de script wsadmin é executado do Qshell.
Para obter informações adicionais, consulte Configurando o Qshell para Executar Scripts do WebSphere Usando o Script wsadmin.
A ajuda da linha de comandos é fornecida para comandos do barramento de integração de serviços:
- Para obter uma lista dos comandos de gateway disponíveis, além de uma
breve descrição de cada comando, digite o seguinte comando no prompt wsadmin:
print AdminTask.help('WSGateway')
- Para obter ajuda de visão geral sobre um determinado comando, digite o seguinte comando no prompt wsadmin:
print AdminTask.help('command_name')
Após utilizar o comando, salve suas alterações na configuração principal, utilizando o seguinte comando:
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