• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 804
  • Last Modified:

WCF with custom object became DataSet

Hello Experts,

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.
0
develc
Asked:
develc
1 Solution
 
develcAuthor Commented:
It was a dll error, the client did not update the dll to the new one, and used the one before serialization was in the code.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now