M
Mike Bridge
Hi-
I'm trying to move my .Net 1.1 WebServices to .Net 2.0, and for some reason I can't set a WebProxy any more. I've been
using this to tunnel through a proxy to debug SOAP calls:
MyWebServices.TestService testservice = new MyWebServices.TestService();
WebProxy webproxy = new System.Net.WebProxy("http://localhost:8080/");
webproxy.BypassProxyOnLocal = false;
testservice.Proxy = webproxy;
String result = testservice.MyTestWebMethod("Howdy");
This bypasses my proxy entirely without any error messages. It works fine in .Net 1.1---any idea why this doesn't work?
Thanks,
-Mike
I'm trying to move my .Net 1.1 WebServices to .Net 2.0, and for some reason I can't set a WebProxy any more. I've been
using this to tunnel through a proxy to debug SOAP calls:
MyWebServices.TestService testservice = new MyWebServices.TestService();
WebProxy webproxy = new System.Net.WebProxy("http://localhost:8080/");
webproxy.BypassProxyOnLocal = false;
testservice.Proxy = webproxy;
String result = testservice.MyTestWebMethod("Howdy");
This bypasses my proxy entirely without any error messages. It works fine in .Net 1.1---any idea why this doesn't work?
Thanks,
-Mike