When the application is hosted behind a firewall and we required to send the request outside the firewall then we require a proxy to access the internet, to send the request. Then we need to configure the proxy in Oracle Weblogic Server 12c to allow the Web service requests.
We can simply enable the proxy by setting the following parameters in the Weblogic server console.
-Dhttp.proxyHost - specifies the proxy host ( IP or Domain) -Dhttp.proxyHost=192.16.0.0 or -Dhttp.proxyHost=www-proxy.domain.com -Dhttp.proxyPort=80
The JAVA_OPTION suggested by Oracle Team
Path: DOMAIN_HOME/user_projects/domains/DOMAIN_NAME/bin/
EXTRA_JAVA_PROPERTIES="-Dhttp.proxyHost=192.0.0.0 or www-proxy.domain.com -Dhttp.proxyPort=80 ${EXTRA_JAVA_PROPERTIES}" export EXTRA_JAVA_PROPERTIES OR JAVA_OPTIONS="${JAVA_OPTIONS} -Dhttp.proxyHost=10.1.1.02 -Dhttp.proxyPort=80