Well :oops:, I can still hear myself say to everybody who wanted to hear it “Keep the objects that you are returning in your webservices simple”. So this means, don’t return complex objects like a dataset, datatable, arraylist or all other kinds of collections. Make a POCO (Plain old C# object) and pass that to the client.
So yesterday I switched to VS 2008 and the first thing I do is compile the thing and get the application out there. And guess what, one of my webservices started returning gibberish. So after a while I noticed that this webservice (not written by me) returned an Arraylist and although I didn’t write the webservice myself I should have checked before deploying. I changed the ArrayList to a simple array of objects and hey presto, everything worked again. Happy me.
So next time listen to me and I will do the same:D.