External datasource
Hi,
I have created an external data source which calls a web service and return a string.
I have something like that
objDataObject=XDocument.DataObjects("getDate");
objDataObject.DOM.setProperty("SelectionNamespaces ",'xmlns:dfs="http://schemas.microsoft.com/office/infopath/2003/dataFormSolution"');
data=objDataObject.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/getDateResponse/getDateResult");
XDocument.UI.Alert(data);
but I get an error when it tries to display it.
Am I doing something wrong with the namespace?
Thanks
|