koraykazgan
Programmer
Hi all,
I have written an ASP.Net 2.0 Web Project Application, which is consuming a Web Service of a company. The first method will be called over https, because its the authentification method. All other methods are called over http.
On my local computer, where I have direct access to the internet, everything is working fine. But after I have published the application to the server, which is in DMZ, I had problems. First I noticed, that I can't even reach from the browser on that computer. So I spoke with my system admin, and he has configured a proxy, where I can get out to the net over port 8080 instead of 80.
I have to enter the proxy settings in the browser and am able to reach websites from the browser.
But now, my application can reach the WebService, because it doesn't know, that it have to go outside using port 8080, instead of 80. After googling a bit I found out. I had to create a WebProxy instance and pass it to the web service. Here is the code, how I am creating that object:
WebProxy proxy = new WebProxy(" true);
With this code, I can reach all http methods of the web service. So my question is how I would use the WebProxy object for https?
I have written an ASP.Net 2.0 Web Project Application, which is consuming a Web Service of a company. The first method will be called over https, because its the authentification method. All other methods are called over http.
On my local computer, where I have direct access to the internet, everything is working fine. But after I have published the application to the server, which is in DMZ, I had problems. First I noticed, that I can't even reach from the browser on that computer. So I spoke with my system admin, and he has configured a proxy, where I can get out to the net over port 8080 instead of 80.
I have to enter the proxy settings in the browser and am able to reach websites from the browser.
But now, my application can reach the WebService, because it doesn't know, that it have to go outside using port 8080, instead of 80. After googling a bit I found out. I had to create a WebProxy instance and pass it to the web service. Here is the code, how I am creating that object:
WebProxy proxy = new WebProxy(" true);
With this code, I can reach all http methods of the web service. So my question is how I would use the WebProxy object for https?