publishSIBWSInboundService command

Use the publishSIBWSInboundService command to publish to UDDI a service integration bus-enabled web services inbound service WSDL file.

Before and immediately after performing this command, save the configuration by using either the AdminConfig.save() command or an equivalent command from within the administrative console. This ensures consistency between what is published to UDDI and what is recorded in the service integration bus configuration as having been published to UDDI.

如果要執行這個指令,請使用 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')

Purpose

This command publishes the WSDL document for the InboundService, with all its ports, to the registry and business defined by the UDDIPublication object.

Target object

ObjectName of the InboundService object.

If the UDDI publish operation succeeds, the service key in the UDDIPublication object is updated and a warning message is produced indicating that the service is successfully published to UDDI, but that without a save of the configuration the system is in an inconsistent state.

If the UDDI publish operation fails, the service key is not updated and an error message is produced indicating that the publish operation failed.

If the UDDI publish operation succeeds, an information message is produced that contains sufficient details for the administrator to independently find the service in the UDDI registry if that becomes necessary.

If the WSDL is to be published through a proxy, the server on which the command is running must have the system properties that identify the proxy server set correctly. If the proxy requires authentication, then the user ID and password can be set as parameters on the command.

Required parameters

-uddiPublication
The name of the UDDI publication property for this service.

Conditional parameters

None.

Optional parameters

-userId
The user ID that you use to retrieve the WSDL.
-password
The password that you use to retrieve the WSDL.

Example

  • Using Jython:
    AdminTask.publishSIBWSInboundService(inService, ["-uddiPublication", "MyUddi"])
  • Using Jacl:
    $AdminTask publishSIBWSInboundService $inService {-uddiPublication "MyUddi"}

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



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