The Enterprise Gateway can act as a proxy for clients of the secured Web Service.
When a client uses a proxy, it includes the fully qualified URL of the
destination in the request line of the HTTP request. It sends this
request to the configured proxy, who then forwards the request to the
host specified in the URL. The relative path used in the original request
will be preserved by the proxy on the outbound connection.
The following is an example of an HTTP request line that was made through
a proxy, where WEB_SERVICE_HOST is the name or IP address of the machine
hosting the destination Web Service:
| | |
|
POST http://WEB_SERVICE_HOST:80/myService HTTP/1.0
| |
| | |
|
When the Enterprise Gateway is acting as a proxy for clients, it can receive
requests like the one above. The Dynamic Router filter can simply route
the request onwards to the URL specified in the request line, i.e.
http://WEB_SERVICE_HOST:80/myService.
|