WCF with custom object became DataSet
Posted on 2009-02-11
I have a custom class, let's call it MyClass. It implements IXmlSerializable, .
Now I have a WCF Service, and one of its method uses this MyClass as a parameter.
The service starts, everything seems to be ok. But when I add a service reference in the client side, and want to call this method, instead of MyClass it requires DataSet. What is going on? Why is my custom class became a DataSet?
One other problem is HashTable became ArrayOfKeyValueOfanyType....
Both sides are .NET, I use netnamedpipe.