addSIBWSOutboundPort command
Use the addSIBWSOutboundPort command to add a service integration bus-enabled web services outbound port.
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.
- Para obter uma lista dos comandos de serviços da Web ativados para barramento disponíveis, mais uma breve descrição de cada comando, digite o seguinte comando no prompt do wsadmin:
print AdminTask.help('SIBWebServices')
- Para obter ajuda de visão geral sobre um determinado comando, digite o seguinte comando no prompt wsadmin:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
This command adds the configuration for an OutboundPort to an OutboundService.
Target object
ObjectName of the OutboundService with which the port is to be associated.
If an OutboundPort for the OutboundService by the given name already exists, or the name of the port does not correspond to a port in the service element of the service provider WSDL (as defined on the OutboundService) the command fails.
The command creates the port destination. If a destination with the specified or default name already exists, the command fails.
Either specify the node and server, or specify the cluster. If there is no messaging engine defined for the specified node and server or cluster, then the command fails.
If the WSDL is to be retrieved through a proxy server, the server on which the command is running must have the system properties that identify the proxy server set correctly. In addition, if the proxy server requires authentication, then the user ID and password can be set as parameters on the command.
If this is the first port for the OutboundService, then it is set as the default, and the service destination default routing is set to point to the port destination.
Required parameters
- -name
- The name of the port in the service provider WSDL.
Conditional parameters
- -node
- The node in which the port destination is localized.
- -server
- The server in which the port destination is localized.
- -cluster
- The cluster in which the port destination is localized.
Optional parameters
- -destination
- The name of the port destination.
- -userId
- The user ID that you use to retrieve the WSDL.Note: This parameter is no longer required. If you have existing scripts that provide this parameter, they will continue to work.
- -password
- The password that you use to retrieve the WSDL.Note: This parameter is no longer required. If you have existing scripts that provide this parameter, they will continue to work.
Example
- Using Jython:
outPort = AdminTask.addSIBWSOutboundPort(outService, ["-name", "MyServiceSoap", "-node", "MyNode", "-server", "server1"])
- Using Jacl:
set outPort [$AdminTask addSIBWSOutboundPort $outService {-name "MyServiceSoap" -node "MyNode" -server "server1"}]