Hi!
I have some C# code which works fine. I need to convert it to VFP and call a webservice and pass it an XML Node. (not sure how to create a XML Node from an XML file in VFP everything else works fine). Posted this in the VFP Forum but did not get an answer.
Service1 is the Webservice and DataXmlNodeMethod is a web method which needs an XML Node as a parameter.
Thanks in advance.
Sarosh
string xmlPath;
string sResult;
// Set Xml File
xmlPath = @"C:\temp\DataImport.xml";
// Send XmlNode
XmlDocument doc = new XmlDocument();
XmlTextReader reader = new XmlTextReader(xmlPath);
reader.MoveToContent();
XmlNode datanode = doc.ReadNode(reader);
Service1 proxy = new Service1();
sResult = proxy.DataXmlNodeMethod(datanode);
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only