Thanks again for your follow up.
When returning a string, how can I add the schema information to WSDL so
that the service client have access to the data structure at design time?
> I would use the GetXML and GetXMLSchema methods that return their respective
> data as strings.
>
> > The WriteXml method on the DataSet allows you to write to a string or to
> > a stream.
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataDataSetClassWr
iteXmlTopic.asp
> > You do not need to write to a file.
> >
> > You can also call GetXmlSchema method on the dataset, and put that into a
> > string.
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatadatasetclassge
txmlschematopic.asp
> > Consider using 2 methods - one that returns the schema and one that
> > returns the data. Either that or put them into different XmlDocuments.
[quoted text clipped - 41 lines]
> >>> >
> >>> > Thanks.