Serializing Objects in Web Services
Posted on 2006-04-27
I am currently experiencing difficulty when returned an arraylist of objects from a web service. I am calling the web service using the web browser, however the xml returned does not contain all the public properties of the objects.
I am returned an arraylist of Question objects, each with a number of public properties one of which is an arraylist of Selection objects. I thought that the web service would automatically serialize the public properties into XML etc. I've been reading up on XMLSerialization but cant seem to understand it all that well.
Any suggestions on returning the XML I want?