Why my WCF Service returns xml serialized objects?

Posted by user294554 on Stack Overflow See other posts from Stack Overflow or by user294554
Published on 2010-03-16T07:49:50Z Indexed on 2010/03/16 7:56 UTC
Read the original article Hit count: 222

Filed under:
|
|

Hi, I'm new here and I hope anyonte can help me.

I have WCF Service and Windows Forms working with this client written in VB.NET. The Service class started to return xml serialized objects, but all my classes on Service side are DataContract-s and the service class is DataContractFormat. I googled everywhere about serializations and I couldn't find reason why it started to do that.

I checked my classes and service, app.config file, but I couldn't find anything.

I checked Reference.vb class, and it's System.Xml.Serialization.XmlElementAttribute everywhere. The question may seem dummy, but I really don't know what to do. I just want to know what can cause the service to act like that.

Thank you.

© Stack Overflow or respective owner

Related posts about wcf

Related posts about serialization