[Mono-bugs] [Bug 51841][Maj] Changed - Problem accessing Web Service using HTTP Basic Auth.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 14 Feb 2004 22:33:34 -0500 (EST)


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 davidandrewtaylor@hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=51841

--- shadow/51841	2004-02-14 22:29:20.000000000 -0500
+++ shadow/51841.tmp.26202	2004-02-14 22:33:33.000000000 -0500
@@ -117,6 +117,40 @@
 
 ------- Additional Comments From davidandrewtaylor@hotmail.com  2004-02-14 22:29 -------
 Sorry but the back end service is currently down; I will need to get 
 someone to fix it at work (which may take 24 hours because it is 
 currently the weekend).  However I will update this bug report with 
 another example from a service that is running!
+
+------- Additional Comments From davidandrewtaylor@hotmail.com  2004-02-14 22:33 -------
+1. Generate Proxy from this WSDL:
+wsdl 
+http://trillian.research.melbourneit.com.au/dnmonitoring/services/Dom
+ainNameMonitoring?WSDL -username:ximian -password:ximian
+
+2. Compile this program against the proxy:
+using System;
+
+public class test
+{
+	public static void Main()
+	{
+		DomainNameMonitoringWSService service = new
+			DomainNameMonitoringWSService();
+
+		service.Credentials = new 
+System.Net.NetworkCredential
+			("ximian", "ximian");
+		Console.WriteLine("Starting");
+		service.getAllTriggers("ximian");
+		Console.WriteLine("Everything worked nicely");
+	}
+}
+
+3. Compile
+mcs *.cs /r:System.Web.Services
+
+Results: It works prefectly on MS.NET but on mono it just sits there 
+and eventually timesout with the WebException.
+
+Note: I will directly email Lluis a TCP dump.
+