Elis,

try with HttpTransportProperties.ProxyProperties.
Once you have such an object, set it to the options with

options.setProperty(HTTPConstants.PROXY, proxy);


HTH,
Michele

On 5 Feb 2008, at 16:46, Elisei Rotaru wrote:

Hello,

I run an axis2 1.3 webservice on a server which requires proxy settings to connect to the Internet.

I try to access with my webservice an axis1 webservice. And to access this axis1 webservice i have to tell my axis2 webservice that he should connect to the axis1 webservice through a proxy.

This works with System wide settings like:

System.setProperty("http.proxyHost",<ProxyHost>);
System.setProperty("http.proxyPort",<ProxyPort>);

Only that other service get an http transport error afterwards.

How can i set http proxy only for that webservice when he calls the axis1 service?

Thanks a lot.

Elis,




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to