Target services and gateway services
The gateway makes the following distinction between a target service and
a gateway service:
- A target service is an actual service that exists outside
the gateway, and that you make available to others through the gateway.
- A gateway service is the view of a target service that the
gateway gives to service requesters. It is decoupled from the actual target
service.
When you deploy a target service to the gateway, the gateway creates an
equivalent gateway service. This gateway service is described in a new representation
of the target service WSDL that is published to a gateway-controlled URL.
This indirection gives the following benefits:
- You can move the target service to a new location, or replace it with
a new implementation, and you only need to update the target service
information that is held in the gateway. Existing service requesters can still
find it and use it, because (as far as they can see) nothing has changed.
- If you have several different implementations of the same service, and
you deploy them all to the gateway as multiple target services for a single
gateway service, then they appear to service requesters as a single service.
You can then use a filter (or similar mechanism) to choose the most appropriate
target service for each incoming request.
- You can set, quite independently, the security measures that apply between
the service requester and the gateway, and the security measures that apply
between the gateway and each target service.

Working with Web services
Searchable topic ID:
cwsg_gw_target
Last updated: Jun 21, 2007 8:07:48 PM CDT
WebSphere Business Integration Server Foundation, Version 5.0.2
http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?topic=/com.ibm.wasee.doc/info/ee/ae/cwsg_gw_target.html