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

Adding an outbound port 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 adds the configuration for an OutboundPort to an OutboundService.

Command name
addSIBWSOutboundPort
Target
ObjectName of the OutboundService with which the port is to be associated.
Result
ObjectName of the created OutboundPort object.

If an OutboundPort for the OutboundService by the given name already exists, or the name of the port does not correspond to a port in the service element of the service provider WSDL (as defined on the OutboundService) the command fails.

The command creates the port destination. If a destination with the specified or default name already exists, the command fails.

If the WSDL is to be retrieved through a proxy server, the server on which the command is running must have the system properties that identify the proxy server set correctly. In addition, if the proxy server requires authentication, then the user ID and password can be set as parameters on the command.

If this is the first port for the OutboundService, then it is set as the default, and the service destination default routing is set to point to the port destination.

Required Parameters

name
The name of the port in the service provider WSDL.

Conditional Parameters

node
The node in which the port destination is localized.
server
The server in which the port destination is localized.

Optional Parameters

destination
The name of the port destination.
userId
The user ID that you use to retrieve the WSDL.
password
The password that you use to retrieve the WSDL.

Example

set outPort [$Admintask addSIBWSOutboundPort $outService {-name "MyServiceSoap" -node "MyNode" -server "server1"}]
Related information
Outbound Ports 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_outp_add.html

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