WebSphere WebSphere Application Server Express, Version 6.0.x Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Creating a new outbound service configuration through the command line

Before you begin

The command described in this topic is run using the AdminTask object of the wsadmin scripting client.

This command is only valid when run against WebSphere Application Server Version 6 application servers. Do not run it against earlier versions.

Command-line help is provided with each of the service integration technologies commands:
  • For a list of all the available service integration bus Web services enablement (SIBWS) commands, plus a brief description of each, enter the following command:
    wsadmin> $AdminTask help SIBWebServices
  • For detailed help on a given command, enter the following command:
    wsadmin> $AdminTask help command_name

For additional details of the command properties, see the related reference topic.

Purpose

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.

Command name
createSIBWSOutboundService
Target
ObjectName of the messaging bus within which the service is created.
Result
ObjectName of the created OutboundService object

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.

Required Parameters

name
The outbound service name.
wsdlLocation
The location of the service provider WSDL file. This is either a Web address or a UDDI service key. If you specify a UDDI reference, the WSDL location is assumed to be a UDDI service key.

Conditional Parameters

wsdlServiceName
The name of the service within the WSDL. Only required if the service provider WSDL contains more than one service, or the WSDL is located through a UDDI registry.
wsdlServiceNamespace
The namespace of the service within the WSDL. Only required if the service provider WSDL contains more than one service, or the WSDL is located through a UDDI registry, or the service is not in the default namespace for the WSDL document.

Optional Parameters

uddiReference
If you specified a UDDI service key as the WSDL location, supply the UDDI reference for the target UDDI registry.
destination
The name of the service destination.
Note: The command creates the service destination. If a destination with the specified or default name already exists, the command fails.
userId
The user ID that you use to retrieve the WSDL.
password
The password that you use to retrieve the WSDL.

Example

set outService [$AdminTask createSIBWSOutboundService $bus {-name "MyService" -wsdlLocation "http://myserver.com/MyService.wsdl"}]
Related information
Outbound Services settings

Reference topic

Terms of Use | Feedback

Last updated: 2 Aug 2005
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.pmc.express.doc\ref\rjw_cli_out_new.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)