[Mono-bugs] [Bug 80234][Nor] New - XSP error when using SOAP with HTTPS

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 12 08:44:58 EST 2006


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 mwixson at slipserve.com.

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

--- shadow/80234	2006-12-12 08:44:58.000000000 -0500
+++ shadow/80234.tmp.7892	2006-12-12 08:44:58.000000000 -0500
@@ -0,0 +1,82 @@
+Bug#: 80234
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: XSP
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: mwixson at slipserve.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: XSP error when using SOAP with HTTPS
+
+Description of Problem:
+ I am receiving the following error when running a very simple web service
+(the MonoDevelop sample) in HTTPS using XSP.  The web service works fine
+when run in HTTP using XSP and only fails in HTTPS.
+ 
+After clicking invoke on "SayHello", the web service returned the following
+result:  "Error getting response stream (Write): SendFailure" 
+
+I first suspected SSL keys, but I can access other ASPX pages securily in
+HTTPS on the same site so it's specific to SOAP.  I generated the server
+key using makecert -r and added it to my Trust store using certmgr.  I even
+used certmgr -ssl (myurl) just to be sure that all keys were added. 
+
+Steps to reproduce the problem:
+1. Create a Web Project in MonoDevelop
+2. Add New File->Web Service.  Add [WebMethod], change void to string.
+<%@ WebService Language="C#" Class="WebService.TestService" %>
+
+using System;
+using System.Web.Services;
+
+namespace WebService
+{
+	
+	
+	public class TestService
+	{
+		[WebMethod]
+		public virtual string SayHello()
+		{
+			return "Hello World";
+		}
+	}
+}
+
+3. makecert -r -n "CN=myhost.mydomain.com" -p12 mykey.p12 test
+   certmgr -add -c -m Trust mykey.p12
+
+4. Change Project->Options XSP settings in MonoDevelop to enable SSL and
+provide a Pkcs12 key.  I use port 8443.
+
+5. Project->Run
+
+6. Just to be sure the keys are added:
+   certmgr -ssl https://myhost.mydomain.com:8443
+
+7.  Using Firefox, access URL/webservice.asmx, select SayHello and then
+select the Test Form's Invoke button.
+
+Actual Results:
+After clicking invoke on "SayHello", the web service returned the following
+result:  "Error getting response stream (Write): SendFailure" 
+
+Expected Results:
+Hello World!
+
+How often does this happen? 
+Everytime
+
+Additional Information:
+XSP 1.2.1.0
+Mono 1.2.2.1
+Firefox (the browser) 1.5.0.7
+OpenSuse 10.1


More information about the mono-bugs mailing list