[Mono-bugs] [Bug 78042][Nor] Changed - SOAP list result error. Mono expects response namespace, but it shouldn't
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Nov 8 02:36:06 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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78042
--- shadow/78042 2006-04-10 07:42:38.000000000 -0400
+++ shadow/78042.tmp.32663 2006-11-08 02:36:06.000000000 -0500
@@ -5,13 +5,13 @@
OS Details: Gentoo amd64
Status: NEW
Resolution:
Severity: Unknown
Priority: Normal
Component: Sys.Web.Services
-AssignedTo: lluis at ximian.com
+AssignedTo: atsushi at ximian.com
ReportedBy: krzymkowski at kontinuum.pl
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
Summary: SOAP list result error. Mono expects response namespace, but it shouldn't
@@ -122,6 +122,32 @@
is present.
The solution that works under both Mono and .NET is:
[return: System.Xml.Serialization.XmlArrayAttribute("out", Namespace="",
Form=System.Xml.Schema.XmlSchemaForm.Qualified, IsNullable=true)]
+
+------- Additional Comments From atsushi at ximian.com 2006-11-08 02:36 -------
+This could work as the server. Pass dotnet.soap or mono.soap.
+
+--------
+using System;
+using System.IO;
+using System.Net;
+
+public class Test
+{
+ public static void Main (string [] args)
+ {
+ HttpListener l = new HttpListener ();
+ l.Prefixes.Add ("http://localhost:8080/");
+ l.Start ();
+ HttpListenerContext ctx = l.GetContext ();
+ StreamReader sr = new StreamReader (args [0]);
+ ctx.Response.ContentType = "text/xml";
+ StreamWriter sw = new StreamWriter
+(ctx.Response.OutputStream);
+ sw.Write (sr.ReadToEnd ());
+ sw.Close ();
+ }
+}
+
More information about the mono-bugs
mailing list