WCF with custom object became DataSet

Posted on 2009-02-11
Last Modified: 2012-05-06
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.
Question by:develc
    1 Comment
    LVL 1

    Accepted Solution

    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.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
    Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now