Hi All,
Please could someone advise me on how to populate an XML Node parameter on a secondary data source webservice call. The simplified code below errors with "The left-hand side of an assignment must be a variable, property or indexer" I understand the error but i am now confused as to how i am going to populate this non simple data type webservice parameter.
// Create new XML Document.
System.Xml.XmlDataDocument xmlDataDoc = new System.Xml.XmlDataDocument();
// Populate document.
xmlDataDoc.LoadXml("<HELP><Scott>Test</Scott></HELP>");
// Create Node.
System.Xml.XmlNode xmlNodeParam = xmlDataDoc.FirstChild;
// Assign Node to webservice parameter.
thisXDocument.GetDOM("BuildTaskPane").selectSingleNode("//*[local-name()='xmlNodeData']") = xmlNodeParam;
xmlNodeData is the name of secondary data source queryField.
Any pointers would be greatly appreciated.
Many thanks in advance, Scott