unpublishSIBWSInboundService command
Use the unpublishSIBWSInboundService command to remove from 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 物件。
wsadmin Scripting 用戶端是從 Qshell 執行.
如需相關資訊,請參閱利用 wsadmin Script 配置 Qshell 來執行 WebSphere Script.
- 如需可用且具有匯流排功能的 Web 服務指令清單,以及每個指令的簡要說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('SIBWebServices')
- 如需給定指令的概觀說明,請在 wsadmin 提示下,輸入下列指令:
print AdminTask.help('command_name')
Purpose
This command removes the WSDL document for the InboundService, with all its ports, from the registry and business defined by the UDDIPublication object.
Target object
ObjectName of the InboundService object.
If the UDDIPublication object has no service key, the command fails.
If the UDDI removal operation succeeds, the service key in the UDDIPublication object is cleared and a warning message is produced indicating that the service is successfully removed from UDDI, but that without a save of the configuration the system is in an inconsistent state and the service must be republished to UDDI by using the GUI or publishToUDDI command.
If the UDDI removal operation fails because the service key is not found, the service key is cleared and a warning message is produced indicating that the service is not found.
If the UDDI removal operation fails for any other reason, the service key is not cleared and an error message is produced indicating that the removal failed.
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.unpublishSIBWSInboundService(inService, ["-uddiPublication", "MyUddi"])
- Using Jacl:
$AdminTask unpublishSIBWSInboundService $inService {-uddiPublication "MyUddi"}