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.
To run the command, use the AdminTask object of the wsadmin scripting client.
The wsadmin scripting client is run from Qshell. For more information, see Configure Qshell to run WebSphere scripts .
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 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 containing 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
- Jython:
AdminTask.publishSIBWSInboundService(inService, ["-uddiPublication", "MyUddi"])
- Jacl:
$AdminTask publishSIBWSInboundService $inService {-uddiPublication "MyUddi"}
Related information:
Inbound services [Settings] Reference topic