Hey Paul,
I neglected to mention that I had tried that as well, i.e.,
<axisconfig name="AxisJava2.0">
<parameter name="Proxy">
<Configuration>
<ProxyHost>localhost</ProxyHost>
<ProxyPort>8888</ProxyPort>
</Configuration>
</parameter>
....other stuff
</axisconfig>
Unfortunately, it didn't result in any traffic coming through the proxy.
That article was where I had gotten the info on the Java system properties.
jeff
On Mon, Nov 24, 2008 at 2:45 PM, Paul Fremantle <[EMAIL PROTECTED]> wrote:
> Jeff
>
> You need to edit the Axis2.xml
>
> This article shows how:
>
> http://wso2.org/library/3346
>
> Paul
>
> PS this is because we don't use the standard Java HTTP libraries.
>
> On Mon, Nov 24, 2008 at 8:47 PM, Jeff Davis <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm trying to funnel all outbound HTTP requests through a local HTTP
> proxy
> > server. For some reason, the outbound requests never get proxy'd through
> (I
> > can see from the logs that no activity takes place when an outbound HTTP
> > call is made). To setup the proxy, I just modified synapse.xml so that
> the
> > java command looks like:
> >
> > $JAVA_HOME/bin/java -server -Xms128M -Xmx128M \
> > $XDEBUG \
> > $TEMP_PROPS \
> > -Djava.net.useSystemProxies=false \
> > -Dhttp.proxyHost=localhost -Dhttp.proxyPort=8888 \
> > ... everything else unmodified
> >
> > The java.net.useSystemProxies was a desperation attempt (I tried without
> it,
> > or setting it to true, but it never made any different -- I saw that
> > referenced somewhere). I suspect it maybe has something to do with Linux,
> as
> > I've tried it on a few different Linux boxes but to no avail. I tried
> using
> > Java 1.5 and 6.
> >
> > I realize this is probably not a Synapse issue, per se, but figured if
> > someone else experienced a similar issue and found a workaround, perhaps
> > they would share it.
> >
> > jeff
> >
>
>
>
> --
> Paul Fremantle
> Co-Founder and CTO, WSO2
> Apache Synapse PMC Chair
> OASIS WS-RX TC Co-chair
>
> blog: http://pzf.fremantle.org
> [EMAIL PROTECTED]
>
> "Oxygenating the Web Service Platform", www.wso2.com
>