https://bugzilla.novell.com/show_bug.cgi?id=666333

https://bugzilla.novell.com/show_bug.cgi?id=666333#c5


--- Comment #5 from Atsushi Enomoto <[email protected]> 2011-02-04 04:49:31 
UTC ---
It cannot be written within DataContractSerializer, but should use
TypedMessageConverter. I replaced the try block with the lines below:

var tm = TypedMessageConverter.Create (typeof (CheckLoginResponse), "urn:foo");
var m = Message.CreateMessage (MessageVersion.Default, "urn:foo",
XmlReader.Create (new StringReader (xml)));
var clr = (CheckLoginResponse) tm.FromMessage (m);
Console.WriteLine ("clr.playeractiveuser {0} = {1}", clr.playeractiveuser,
clr.playeractiveuser == null ? "null" : clr.playeractiveuser.GetType
().FullName);

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to