Removing a target service from a gateway service configuration 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 removes a target service from a gateway service.

Command name
removeWSGWTargetService
Target
ObjectName of the TargetService object.
Result
None.

The command removes the named target service from the gateway service. The gateway destination property com.ibm.websphere.wsgw.targets is updated to contain the new list of target destinations. The destinations associated with the target service are not deleted.

If you remove the default target service, then the default is changed to the first remaining target service in the set, or cleared if there are none. The forward routing path on the gateway destination is updated accordingly.

Parameters

None.

Example

$AdminTask removeWSGWTargetService $gwTarget



Related concepts
Target services and gateway services
Related tasks
Creating a new gateway service configuration
Modifying an existing gateway service configuration
Related reference
Creating a new gateway service configuration using the wsadmin tool
Deleting a gateway service configuration using the wsadmin tool
Adding a target service to a gateway service configuration using the wsadmin tool
Creating a new proxy service configuration using the wsadmin tool
Deleting a proxy service configuration using the wsadmin tool
Working with the Web services gateway using the wsadmin tool
Related information
Target services [Settings]
Reference topic    

Terms of Use | Feedback

Last updated: Aug 29, 2010 10:43:27 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=v602web&product=was-nd-mp&topic=rwsg_cli_tgt_remove
File name: rwsg_cli_tgt_remove.html