[Mono-bugs] [Bug 73994][Nor] New - Web service client code does not work with WebProxy
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 22 Mar 2005 23:44:54 -0500 (EST)
In-Reply-To: <bug-73994@chernobyl.ximian.com>
X-Bugzilla-Product: Mono: Class Libraries
X-Bugzilla-Component: Sys.Web
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: Normal
X-Bugzilla-Severity:
X-Bugzilla-Target-Milestone: ---
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by siddacious@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=73994
--- shadow/73994 2005-03-22 23:44:54.000000000 -0500
+++ shadow/73994.tmp.17926 2005-03-22 23:44:54.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 73994
+Product: Mono: Class Libraries
+Version: 1.1
+OS: SLES 9
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: siddacious@gmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Web service client code does not work with WebProxy
+
+
+Description of Problem:
+ Creating a WebProxy object that points to a valid squid proxy and adding to
+ to a WebService object does not alter the behavior of the web service. The
+ WebService makes no attempt to connect through the proxy. This same (mono
+ compiled) assembly successfully connects to the proxy under Microsoft .net.
+
+Steps to reproduce the problem:
+ Our code looks like this:
+
+ wp = new WebProxy(ProxyHost, ProxyPort);
+ wp.Credentials = CredentialCache.DefaultCredentials;
+ GlobalProxySelection.Select = wp;
+ webService = new MyWebService(address, port);
+ webService.Proxy = wp;
+ webService.Request();
+
+ We expect that GlobalProxySelection is redundant with adding the proxy
+to the webService, however neither produce results under mono.
+
+ We set up squid as a proxy enabled access from the subnet, and verified
+correct operation of squid.
+
+Actual Results:
+ By viewing the squid logs, we see that no access attempts are being made by
+ the webService client code.
+
+Expected Results:
+ Client successfully connects via proxy.
+
+Additional Information:
+ Again, note that the same assembly makes the connection under MS .NET