Skip to main content

Configuring the IBM WebSphere DataPower SOA appliance to forward outgoing requests to an HTTP Proxy Server.


Technote (FAQ)


Question

How do I configure the IBM WebSphere DataPower SOA appliance to forward outgoing requests to an HTTP Proxy Server?

Answer

In order for the DataPower appliance to forward specific outgoing requests to a HTTP Proxy server, a Proxy Policy will have to be defined on the 'XML Manager' -> 'User Agent' (Proxy Policy tab) associated with the service in question. For example, to configure the Web Service Proxy (WS-Proxy) so that all the outgoing requests to an external destination goes through a HTTP Proxy server, the following steps can be used. From the WebGUI:

  1. Click Control Panel -> Web Service Proxy
  2. Click to edit the appropriate 'Web Service Proxy' (WS-Proxy).
  3. Click on the 'Proxy Settings' tab
  4. Click to edit the 'XML Manager' attached to the WS-Proxy.
  5. Click to edit the 'User Agent Configuration'.
  6. On the 'User Agent -> Proxy Policy' tab, define the policies accordingly.
  7. Apply and save all configuration changes.

In addition to the above steps, if the HTTP Proxy server requires SSL, then a 'SSL Proxy Profile' will have to be added on the ' User Agent -> SSL Proxy Profile' tab. The SSL Proxy Profile must be either a client or two-way profile and will be used by DataPower to establish the SSL connection to the HTTPS Proxy server. Also, if the HTTP Proxy server requires user authentication, define the User Credentials to use on the ' User Agent -> Basic HTTP Authentication' tab.

Also, if you wish to dynamically define the User Credentials to use for the proxy authentication, you can do so by using a stylesheet to set the 'Proxy-Authorization' header. In the stylesheet, you can use 'dp:set-request-header' to set the header. Below is a sample snippet showing the use of 'dp:set-request-header':

<dp:set-request-header name="'Proxy-Authorization'" value="$Proxy-Auth-value"/>

Note for firmware version 3.7.3 and 3.8.0 users: If you are currently running a 3.7.3.x or 3.8.0.x firmware release that is prior to 3.7.3.7 and 3.8.0.1 respectively, be aware of the following APAR fix that was put in the 3.7.3.7 and 3.8.0.1 firmware release and relates to the use of the 'User Agent -> Proxy Policy':

APAR IC62376: AFTER REBOOT, DATAPOWER USER AGENT PROXY PROFILES DO NOT DIRECT OUTGOING HTTP REQUESTS TO THE PROXY HOSTNAME SPECIFIED

For more information on configuring the 'Proxy Policy' on different DataPower services, refer to the Development section of the IBM WebSphere DataPower SOA Appliances product documentation to obtain documentation on the various services.

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

WebSphere DataPower SOA Appliances

General


Software version:
3.8.2, 4.0.1, 4.0.2, 5.0.0


Operating system(s):
Firmware


Reference #:
1418086


Modified date:
2011-02-07

Translate my page

Content navigation