What steps will reproduce the problem?
1. Create a class/struct that contains a public static field of a type which is
not XML-RPC serializable
2. Craete a service with a method which returns this class/struct
3. Invoke the method
What is the expected output? What do you see instead?
The method should be serialized correctly, however an exception is thrown that
the type is not XML-RPC serializable.
The bug is in the GetXmlRpcType(Type t, Stack typeStack) method in
XmlRpcServiceInfo.cs. When enumerating fields, it should skip static ones. It
checks them for validity instead.
Original issue reported on code.google.com by ivail...@gmail.com on 15 Oct 2010 at 12:25
Original issue reported on code.google.com by
ivail...@gmail.com
on 15 Oct 2010 at 12:25