Hi,
I need some help regarding a web services client that I am coding in C# .NET. The web service returns a dataset from a database table as System.XML.XMLElement over SOAP. In the client code, I stored the result in a variable of type System.XML.XMLElement, and convert it to a dataset but it doesen't show any rows returned whereas I can see data getting returned in the packet trace. Here's how I am trying:
System.Xml.XmlElement resultCode; resultCode = GwareWebInt.ReadIVRConfiguration(locationID);
System.Xml.XmlNodeReader xnr = new XmlNodeReader(resultCode);
DataSet ds = new DataSet();
ds.ReadXml(xnr);
DataTable dt = ds.Tables["CFGDATA"];
It'll be great if you could provide any helpful pointers.
Thanks,
gc
I need some help regarding a web services client that I am coding in C# .NET. The web service returns a dataset from a database table as System.XML.XMLElement over SOAP. In the client code, I stored the result in a variable of type System.XML.XMLElement, and convert it to a dataset but it doesen't show any rows returned whereas I can see data getting returned in the packet trace. Here's how I am trying:
System.Xml.XmlElement resultCode; resultCode = GwareWebInt.ReadIVRConfiguration(locationID);
System.Xml.XmlNodeReader xnr = new XmlNodeReader(resultCode);
DataSet ds = new DataSet();
ds.ReadXml(xnr);
DataTable dt = ds.Tables["CFGDATA"];
It'll be great if you could provide any helpful pointers.
Thanks,
gc