addSIBWSOutboundPort command

Use the addSIBWSOutboundPort command to add a service integration bus-enabled web services outbound port.

如果要執行這個指令,請使用 wsadmin Scripting 用戶端AdminTask 物件

[IBM i][IBM i]wsadmin Scripting 用戶端是從 Qshell 執行. [IBM i]如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.

服務整合匯流排指令有指令行說明:
  • 如需可用且具有匯流排功能的 Web 服務指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:

    print AdminTask.help('SIBWebServices')

  • 如需給定指令的概觀說明,請在 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"}]

指出主題類型的圖示 參照主題



時間戳記圖示 前次更新: July 9, 2016 11:12
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=was-nd-mp&topic=rjw_cli_outp_add
檔名:rjw_cli_outp_add.html