[Mono-bugs] [Bug 57705][Nor] New - WebMethods who return a DataSet can't be called by clients
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Apr 2004 05:11:03 -0400 (EDT)
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 gustav-w-s@online.de.
http://bugzilla.ximian.com/show_bug.cgi?id=57705
--- shadow/57705 2004-04-27 05:11:03.000000000 -0400
+++ shadow/57705.tmp.15789 2004-04-27 05:11:03.000000000 -0400
@@ -0,0 +1,62 @@
+Bug#: 57705
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Sys.Web.Services
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gustav-w-s@online.de
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: WebMethods who return a DataSet can't be called by clients
+
+Description of Problem:
+If a WebMethod returns a System.Data.DataSet the Client who called the
+WebMethod hangs/segfaults
+The client just hangs if I use mono-0.31
+The client segfaults if I use mono cvs from last week
+
+I'll attach a test case
+
+
+Steps to reproduce the problem:
+1. Create the following web service:
+----------------------------------------
+<%@ WebService Language="c#" Class="TestService" %>
+
+using System;
+using System.Web;
+using System.Web.Services;
+using System.Data;
+
+[WebService]
+public class TestService : System.Web.Services.WebService
+{
+ [WebMethod]
+ public System.Data.DataSet GetTheDataSet()
+ {
+ return new DataSet();
+ }
+}
+----------------------------------------
+2. Create the following Client:
+----------------------------------------
+using System;
+using System.Data;
+
+class Test
+{
+ public static void Main()
+ {
+ TestService service = new TestService();
+ DataSet ds = service.GetTheDataSet();
+ }
+}
+----------------------------------------
+3. Compile and run the client