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.

To run the command, use the AdminTask object of the wsadmin scripting client.

[IBM i][IBM i]The wsadmin scripting client is run from Qshell.

Command-line help is provided for service integration bus commands:
  • For a list of the available bus-enabled web services commands, plus a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('SIBWebServices')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    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"}