Web Service callback in Desktop Client getting problem
-
AoA Thanks in advance for help. Please help me if any one have some info about it. I have made a solution with three projects a web services project , a client windows application project and a class library project. I made a class in class library. this class library is added as reference in the client and web services project. Now from client application, when i call some web methods of the web service they work fine. I have a web method with an object type attribute. that method just cast it to string using ToString() and return that string. Now i made an object of a class in class library. When i call that web method and pass this object. An InvalidOperationException generated, with error message There was an error generating the XML document. I can not solve this, i search it on web but no solution found. I can not know how to upload the code here. Please help me if any one can. Will wait for reply.