[Mono-bugs] [Bug 82725][Nor] Changed - multiref not deserialized

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 12 15:19:06 EDT 2007

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 xim at divinehawk.com.


--- shadow/82725	2007-09-07 12:34:42.000000000 -0400
+++ shadow/82725.tmp.30712	2007-09-12 15:19:06.000000000 -0400
@@ -121,6 +121,19 @@
 TestService.testService can not be reflected. --->
 System.InvalidOperationException: There was an error reflecting
 'testServiceResult'. ---> System.InvalidOperationException: 'int' is
 an invalid value for the SoapElementAttribute.DataType property. The
 property may only be specified for primitive types.
+------- Additional Comments From xim at divinehawk.com  2007-09-12 15:19 -------
+Through lots of debugging, I found the two issues causing this:
+1> This statement isn't being used to correctly recognize the name:
+ [return: System.Xml.Serialization.SoapElement("ReturnValue")]
+Replacing "ReturnValue" with "testServiceReturnValue" in the soap
+message works.
+2> Namespace issue, changing testServiceReturnValue to
+typens:testServiceReturnValue and ResultTable to typens:ResultTable fixes.
+The soap message processes fine in .NET though.

More information about the mono-bugs mailing list