Commands for the WSGateway group of the AdminTask object

Use the Jython (recommended) or Jacl scripting languages to manage deployed applications with the wsadmin tool. The commands and parameters in the WSGateway group can be used to create and manage gateway services, proxy services, and target services.

For more information about the AdminTask object, see the Commands for the AdminTask object article.

The following commands are available for the WSGateway group of the AdminTask object:

 

addWSGWTargetService

The addWSGWTargetService command adds a target to a gateway service. You must specify the targetService parameter or the targetDestination parameter.

Object name of the GatewayService object

Batch mode example usage:

Interactive mode example usage:

 

createWSGWGatewayService

The createWSGWGatewayService command creates a new GatewayService with associated InboundService and TargetService objects. Configuration of the InboundPort and OutboundService/Port that is associated with these objects is done using separate commands.

ObjectName of the gateway instance which the gateway service is created

Batch mode example usage:

Interactive mode example usage:

 

createWSGWProxyService

The createWSGWProxyService command creates a new proxy service with an associated inbound service and a target service object with an associated outbound service. Configuration of the inbound port objects that are associated with the inbound service is done using separate commands.

The object name of the gateway instance within which the proxy service is created.

Batch mode example usage:

Interactive mode example usage:

 

deleteWSGWGatewayService

The deleteWSGWGatewayService command deletes a gateway service. It deletes the gateway destination, the corresponding reply destination, the inbound service, the inbound port enablement objects, and all of the associated target service objects. This command does not delete the destinations that are associated with the target services.

Object name of the gateway service object

Batch mode example usage:

Interactive mode example usage:

 

deleteWSGWProxyService

The deleteWSGWProxyService command deletes a proxy service that includes the proxy destinations, outbound service, outbound ports, inbound service, and inbound port enablement objects.

Object name of the ProxyService object

Batch mode example usage:

Interactive mode example usage:

 

removeWSGWTargetService

The removeWSGWTargetService command removes a target service from the gateway service. The destinations that are associated with the target service are not deleted. If the target service that you remove is the default target service, the default is set to the first target service in the set or cleared if none are left.

The object name of the TargetService object.

Batch mode example usage:

Interactive mode example usage:


Related tasks
Using the AdminTask object for scripted administration Related reference
Commands for the AdminTask object