BPEL Knowledge Base - Technical Note #003

HTTP Proxy Configuration

Consider the following use case: The Oracle BPEL Process Manager server is installed on internal123.company.com. One of the BPEL processes deployed on the BPEL server needs to access a synchronous Web service hosted outside the firewall at http://services.myPartner.com. All the outbound http traffic needs to be routed through an http proxy server located a myproxy004.company.com on port 8090. How can you configure the Oracle BPEL Process Manager to invoke the partner web service through the proxy server?

To configure the Ant tasks and the Oracle BPEL Process Manager to use an http proxy server, modify the line "set OB_JAVA_PROPERTIES=" in orabpel\bin\obsetenv.bat on Windows or orabpel/bin/obsetenv.sh on Unix/Linux to look like the following:

set OB_JAVA_PROPERTIES="-Dhttp.proxySet=true" "-Dhttp.proxyHost=myproxy004.company.com" 
"-Dhttp.proxyPort=8090" "-Dhttp.nonProxyHosts=internal123.company.com"
By setting http.proxySet to true, you activate the client proxy and redirect all the outbound traffic through http.proxyHost and http.proxyPort. By setting the http.nonProxyHosts to the server which hosts the BPEL server you prevent the local request from going through the proxy. You might want to consider expanding the nonProxyHosts list to include other servers inside your corporate network or other logical names for the internal123 machine by using | as a delimiter.
E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy