Use the createSIBWSOutboundService command to create a new service integration bus-enabled web services outbound service configuration.
You can create a new outbound service configuration by using the wsadmin tool as described in this topic, or by using the administrative console as described in Making an externally-hosted web service available internally.
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 Configuring Qshell to run WebSphere scripts using wsadmin scripting.
print AdminTask.help('SIBWebServices')
print AdminTask.help('command_name')
AdminConfig.save()
This command creates a new OutboundService object, that represents a protocol attachment to a service provider. When you run this command you must identify a single service element within a WSDL document.
ObjectName of the messaging bus within which the service is created.
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.
After you have run this command, you use other commands to further configure the service. For example, to add an outbound port.
This is either a web address or the service-specific part of a UDDI service key. If you specify a UDDI reference, the WSDL location is assumed to be a UDDI service key.
uddi:blade108node01cell:blade108node01:server1:default:6e3d106e-5394-44e3-be17-aca728ac1791
The
service-specific part of this key is the final part: 6e3d106e-5394-44e3-be17-aca728ac1791
outService = AdminTask.createSIBWSOutboundService(bus, ["-name", "MyService",
"-wsdlLocation", "http://myserver.com/MyService.wsdl"])
set outService [$AdminTask createSIBWSOutboundService $bus {-name "MyService"
-wsdlLocation "http://myserver.com/MyService.wsdl"}]