axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doolittle, Todd" <>
Subject RE: [Axis2] RE: Proxy
Date Wed, 27 Sep 2006 15:37:19 GMT



No, I never received an answer.  Here is an example of what I'm doing
for right now.  I created a client stub using wsdl2java called
TerraServiceStub.  Here is how my class sets up the proxy...


TerraServiceStub terraService = new TerraServiceStub();


      // Setup the proxy

ProxyProperties proxyProperties = new ProxyProperties();

proxyProperties.setProxyName("<your proxy server here>");

proxyProperties.setProxyPort(<your proxy port here>);


PROXY, proxyProperties);


I hope that helps.



-----Original Message-----
From: Brecht Yperman [] 
Sent: Wednesday, September 27, 2006 11:31 AM
Subject: [Axis2] RE: Proxy




was there an answer to this question?


I can't find it, and I desperately need a solution to get through the
proxy server over here.


Thanks a lot,




From: Doolittle, Todd []
Sent: Tue 19/09/2006 23:06
Subject: Proxy


I'm writing a client that must go out through a proxy.  Axis 1 used the
properties http.proxyHost and http.proxyPort.  They could be set on the
VM command line like this -Dhttp.proxyHost=uskihsvpcflow

Axis 2 appears to ignore those properties.  I figured out that hack the
generated service stub up to set the proxy in the transport options, but
this can't be the right way to do it.  What is the right way to get Axis
2 to use a proxy?




This message, including any attachments, is the property of Sears
Holdings Corporation and/or one of its subsidiaries. It is confidential
and may contain proprietary or legally privileged information. If you
are not the intended recipient, please delete it without reading the
contents. Thank you. 

View raw message