Thursday, August 28, 2008

Want to run Apache Axis2 behind a proxy ?

If you want to start the axis2 server behind a proxy, it is very simple. All you need to do is add the following entry to axis2.xml, the server's configuration file.


<axisconfig name="AxisJava2.0">
....
<parameter name="Proxy">
<Configuration>
<ProxyHost> proxy_ip</ProxyHost>
<ProxyPort> proxy_port </ProxyPort>
</Configuration>
</parameter>
..
</axisconfig>



This can become handy when you want to debug addressable ( dual channel ) scenarios where the axis2 server sends the reply in a separate channel and we want to monitor that reply through the TCPMon.

0 comments: