Pete,
In order for your Web Service to return XML, all you have to do is return
the XML from the DataSet.GetXML() method.
Then, client-side, you'd do this:
StringReader sr = new StringReader(XML);
MyDataSet.ReadXml(sr, XmlReadMode.InferSchema);
MyDataSet.AcceptChanges();
~~Bonnie
"Peter Morris [Droopy eyes software]" wrote:
> Hi all
>
> Can anyone point me to an article or something similar which will show
> me how to do the following
>
> 1) Webservice creates some object instances
> 2) Webservice creates some XML which looks like DataSet data
> 3) Client can then take the data and edit within a DataSet
>
> The objects on the server cannot have a parameterless constructor, so I
> can't make them [Serializable] (there are other reasons too). So I'd
> like to have the client work with datasets instead.
>
> Thanks
>
>
> --
> Pete
> ====
> Read or write articles on just about anything
> http://www.HowToDoThings.com
>
> My blog
> http://blogs.slcdug.org/petermorris/
>