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

Removing a target service from a gateway 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 gateway commands, plus a brief description of each, enter the following command:
    wsadmin> $AdminTask help WSGateway
  • 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 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
Working with gateway services
Creating a new gateway service configuration
Modifying an existing gateway service configuration
Related information
Target services settings

Reference topic

Terms of Use | Feedback

Last updated: 5 Oct 2005
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.pmc.nd.doc\ref\rwsg_cli_tgt_remove.html

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