You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Ri...@wellsfargo.com on 2003/10/06 16:51:55 UTC
Setting proxy in Axis
I am trying to connect to a web service using Axis from behind a firewall
but I am not sure how to include the proxy in the call. Setting the
proxyHost and proxyPort system properties did not appear to work. I believe
I was able to get the call to work using the older Apache soap call. Is
there something equivalent to the code below in Axis?
SOAPHTTPConnection connection = new SOAPHTTPConnection();
connection.setProxyHost( "host name");
org.apache.soap.rpc.Call call = new org.apache.soap.rpc.Call();
call.setSOAPTransport(connection);
Thanks.
Rick