Adding an outbound port using the wsadmin tool

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

This command is only valid when used with WebSphere® Application Server Version 6 and later application servers. Do not use it with earlier versions.

Command-line help is provided for service integration bus commands:

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.

Either specify the node and server, or specify the cluster. If there is no messaging engine defined for the specified node and server or cluster, then 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.
cluster
The cluster 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.
Note: This parameter is no longer required. If you have existing scripts that provide this parameter, they will continue to work.
password
The password that you use to retrieve the WSDL.
Note: This parameter is no longer required. If you have existing scripts that provide this parameter, they will continue to work.

Example

set outPort [$AdminTask addSIBWSOutboundPort $outService {-name "MyServiceSoap" -node "MyNode" -server "server1"}]



Related reference
Creating a new outbound service configuration using the wsadmin tool
Deleting an outbound service configuration using the wsadmin tool
Removing an outbound port using the wsadmin tool
Setting the default outbound port using the wsadmin tool
Creating a new inbound service configuration using the wsadmin tool
Deleting an inbound service configuration using the wsadmin tool
Adding an inbound port using the wsadmin tool
Removing an inbound port using the wsadmin tool
Refreshing the outbound service WSDL file using the wsadmin tool
Refreshing the inbound service WSDL file using the wsadmin tool
Publishing to UDDI the inbound service WSDL file using the wsadmin tool
Removing from UDDI the inbound service WSDL file using the wsadmin tool
Creating a new endpoint listener configuration using the wsadmin tool
Deleting an endpoint listener configuration using the wsadmin tool
Connecting an endpoint listener to a service integration bus using the wsadmin tool
Disconnecting an endpoint listener from a service integration bus using the wsadmin tool
Working with bus-enabled Web services using the wsadmin tool
Related information
Outbound Ports [Settings]
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 9:31:45 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=rjw_cli_outp_add
File name: rjw_cli_outp_add.html