...
In the
<ESB_HOME>/repository/conf/axis2/axis2.xml
file, add the following parameters to thetransportSender
configuration forPassThroughHttpSender
,PassThroughHttpSSLSender
,HttpCoreNIOSender
, andHttpCoreNIOSSLSender
:<parameter name="http.proxyHost" locked="false">hostName</parameter>
where<parameter name="http.proxyPort" locked="false">portNumber</parameter>
hostName
andportNumber
specify the host name and port number of the proxy server.
- Uncomment the following parameter in the
PassThroughHttpSSLSender
andHttpCoreNIOSSLSender
configurations and change the value toAllowAll
.<parameter name="HostnameVerifier">AllowAll</parameter>
Warning Note that changing the
HostnameVerifier
parameter as mentioned above causes security vulnerabilities such as "network poisoning".
For example, if the host name and port number of proxy server is localhost:8080
, your transportSender
configurations for PassThroughHttPSender
and PassThroughHttpSSLSender
would be as follows:
...