Web Service Field Declerations - InfoPath Dev
in

InfoPath Dev

Web Service Field Declerations

Last post 05-23-2008 10:15 AM by sdhSiemens. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 05-23-2008 10:15 AM

    Web Service Field Declerations

    I am trying to write some Jscript to set a fields value = to the value of a web service field. I have been unable to figure out how to declare the web service fields as variables. Here is what I have tried.

      var qPayrollCC = XDocument.DOM.selectSingleNode("dfs:myFields/dfs:dataFields/s0:GetNameByGIDResponse/s0:GetNameByGIDResult/ns1:SqlRowSet1/ns1:row1/ns1:accountingCode");

     var qPayrollCC = XDocument.GetDOM("dfs:myFields/dfs:dataFields/s0:GetNameByGIDResponse/s0:GetNameByGIDResult/ns1:SqlRowSet1/ns1:row1/ns1:accountingCode");

     var qPayrollCC = xdXDocument:GetDOM("GetNameByGID")("dfs:myFields/dfs:dataFields/s0:GetNameByGIDResponse/s0:GetNameByGIDResult/ns1:SqlRowSet1/ns1:row1/ns1:accountingCode");

      var qPayrollCC = XDocument:GetDOM("GetNameByGID");xmlDoc.setProperty("SelectionNamespaces", 'xmlns:ns1="dfs:myFields/dfs:dataFields/s0:GetNameByGIDResponse/s0:GetNameByGIDResult/ns1:SqlRowSet1/ns1:row1/ns1:accountingCode"');

    Nothing seems to work. Can anyone shed some light on this. I haven't found anything online about this.

Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.