cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Proxy name and proxy port using Hostname and port

Former Member
0 Kudos

Hi Colleagues,

I my Application i am consuming webserice and i am setting proxy host and proxy port using the below code :

httpItf  = HTTPControlFactory.getInterface(port);
httpItf.setHTTPProxy("proxy", 8080);

But this "Proxy" is getting changed if the application is deployed to another network. (like some other landscape)

So Could it be possible to get the proxy dynamically depending on the Hostname and port.

such that it should automatically pick up the "ProxyHost" and "Proxy port".........depending upon the system it runs .

Please help me out here

Thanks & Regards

Swetha

Edited by: Swetha Nellore on Sep 17, 2009 7:52 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Colleagues,

i have solved this by maintaining a proxy settings properties file.....where proxy settings can be changed using system administrator

Thanks & Regards

Swetha