refreshSIBWSInboundServiceWSDL command
Use the refreshSIBWSInboundServiceWSDL command to refresh a service integration bus-enabled web services inbound service WSDL file.
如果要執行這個指令,請使用 wsadmin Scripting 用戶端的 AdminTask 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
- 如需可用且具有匯流排功能的 Web 服務指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBWebServices')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
AdminConfig.save()
Purpose
This command loads the WSDL document from the InboundService WSDLLocation parameters, and locates the WSDLLocation-specified service element.
Target object
ObjectName of the InboundService object.
If the service element is not present, the command fails.
All templatePortName values in InboundPorts for the InboundService must correspond to ports in the loaded WSDL document, otherwise the command fails.
If the WSDL is to be retrieved 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
None.
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.refreshSIBWSInboundServiceWSDL(inService)
- Using Jacl:
$AdminTask refreshSIBWSInboundServiceWSDL $inService