Hello,
I have some code that reads an %XML.DataSet object that gets returned from a web service. I'd like to unit test this code by importing an XML data set from a test file. How can I do this?
I created the test file by calling WriteXML on the data set, and copying the output into the file:
I tried to import the file using the XML reader, but the resulting data set doesn't have any rows:
USER>w reader.OpenFile(filename)
1
USER>do reader.Correlate("SQLResult","%XML.DataSet")
USER>w reader.Next(.dataset,.
