http://bugzilla.novell.com/show_bug.cgi?id=625734
http://bugzilla.novell.com/show_bug.cgi?id=625734#c0 Summary: Accessing SOAP service results in: Error writing request: The authentication or decryption has failed. Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: 64bit OS/Version: Ubuntu Status: NEW Severity: Major Priority: P5 - None Component: Sys.Web.Services AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Created an attachment (id=378461) --> (http://bugzilla.novell.com/attachment.cgi?id=378461) generated wsdl source code User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8 One of the major Belgian Internet providers opened up there usage statistics stuff via a SOAP service. I tried creating a demo application on how to retrieve the information. It works well on Windows using .net 3.5, but fails using mono 2.6.3 (Debian 2.6.3-2~dhx1). The problem part is the following: try { TelemeterService service = new TelemeterService (); RetrieveUsageRequestType usageRequestType = new RetrieveUsageRequestType { UserId = "", Password = "" }; RetrieveUsageResponseType usageResponseType = service.retrieveUsage (usageRequestType); StageType stage = usageResponseType.Item as StageType; if (stage != null) { Console.WriteLine (stage.Description); } } catch (Exception ex) { Console.WriteLine (ex.Message); Console.WriteLine (ex.StackTrace); } Unfortunately you need a user and password to be able to run it. I can be contacted on #mono using the name "jsomers" during most parts of the day, although I can only debug and test from 7pm to 11pm GMT+2. I attached the generated WSDL related source code file. Reproducible: Always Actual Results: Error writing request: The authentication or decryption has failed. at System.Net.WebConnectionStream.WriteHeaders () [0x00000] in <filename unknown>:0 at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Net.WebConnectionStream:SetHeaders (byte[]) at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error) [0x00000] in <filename unknown>:0 Expected Results: Should not fail and return a proper StageType object. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
