[Mono-bugs] [Bug 78696][Maj] Changed - SoapReader fails to deserialize some method calls
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Sat Jun 24 21:55:28 EDT 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 robertj at gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=78696
--- shadow/78696 2006-06-24 12:36:07.000000000 -0400
+++ shadow/78696.tmp.29529 2006-06-24 21:55:28.000000000 -0400
@@ -11,13 +11,13 @@
AssignedTo: mono-bugs at ximian.com
ReportedBy: albertoavila at gmail.com
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Bug on remothing
+Summary: SoapReader fails to deserialize some method calls
Description of Problem:
When runing a remothing service on mono (1.1.7.1, may happend on others
version, i haven't tested it) in windows xp (may occur on linux, i haven't
tested it) the client gets a exception when calling it, if the service is
run with .net everything works ok (same binary)
@@ -87,6 +87,40 @@
How often does this happen?
Always
------- Additional Comments From albertoavila at gmail.com 2006-06-24 12:36 -------
Someone has confirmed that it also happens on SVN HEAD
+
+------- Additional Comments From robertj at gmx.net 2006-06-24 21:55 -------
+Here another simple test case.
+
+It seems that SoapReader has problems to deserialize a method
+call with 2 strings that have the same value. It sounds
+strange, but it's reproducible.
+
+
+using System;
+using System.Runtime.Remoting;
+using System.Runtime.Remoting.Channels;
+using System.Runtime.Remoting.Channels.Http;
+
+class Server : MarshalByRefObject
+{
+ public void Method (string p1, string p2)
+ {
+ }
+
+ static void Main ()
+ {
+ ChannelServices.RegisterChannel (new HttpChannel (3344));
+ RemotingConfiguration.RegisterWellKnownServiceType
+(typeof (Server),"Server.soap", WellKnownObjectMode.Singleton);
+
+ Server s = (Server) Activator.GetObject (typeof
+(Server), "http://localhost:3344/Server.soap");
+
+ // this works: s.Method ("a", "b");
+ s.Method ("a", "a");
+ }
+}
+
More information about the mono-bugs
mailing list