S
sfslug
Hello. I'm using xmlhttp in a windows application to return xml data.
The xml data is returned successfully, but I get errors when I try
loading the xmlhttp response object to a dataset. I can write the xml
to a file & read that in to a dataset, but what fun is that?
---------------
code:
xmlhttp = New MSXML2.XMLHTTP
xmlhttp.open("POST", strUrl, False)
xmlhttp.setRequestHeader("Content-Type", "text/xml")
xmlhttp.Send("...request ...")
Dim ds1 As New DataSet
ds.ReadXml(xmlhttp.responsexml.xml, XmlReadMode.Fragment)
---------------
the last line above, and any variations I've tried(xmlreadmode.auto,
etc.), all result in varying errors. This variation gives: "Illegal
characters in path."
Any insight appreciated.
The xml data is returned successfully, but I get errors when I try
loading the xmlhttp response object to a dataset. I can write the xml
to a file & read that in to a dataset, but what fun is that?
---------------
code:
xmlhttp = New MSXML2.XMLHTTP
xmlhttp.open("POST", strUrl, False)
xmlhttp.setRequestHeader("Content-Type", "text/xml")
xmlhttp.Send("...request ...")
Dim ds1 As New DataSet
ds.ReadXml(xmlhttp.responsexml.xml, XmlReadMode.Fragment)
---------------
the last line above, and any variations I've tried(xmlreadmode.auto,
etc.), all result in varying errors. This variation gives: "Illegal
characters in path."
Any insight appreciated.