In one Web Service I am converting, I need to convert the XML data being returned originally from a VFP CursorToXml() from native .NET code.
When the .NET Web Service was making use of VFP to return the data, VFP was preparing the XML by the use of CursorToXml() which was making it ready for a VFP client to use XmlToCursor() and have the data ready for browse, for example. This XML was also including the XML schema which tells VFP how to apply the structure.
But, now, the .NET Web Service is doing the entire process so it obtain the cursor from a dataset and I am using DataSet.GetXml() to return the data. However, this is not the same structure at all. Everything is in a string format, this cannot be understood by VFP and how would the client know what structure to apply as there is no XML schema?