<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: populate text box from webservice</title><link>https://www.infopathdev.com:443/forums/thread/22996.aspx</link><pubDate>Wed, 12 Sep 2007 12:08:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22996</guid><dc:creator>heath3106</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22996.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=22996</wfw:commentRss><description>&lt;p&gt;&lt;em&gt;&lt;font face="Times New Roman" size="3"&gt;Clay,&lt;/font&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately I don&amp;#39;t have admin rights for my pc at work. We can&amp;#39;t download software that is not supported by our IT department. Any suggestions that would help without downloading the suite?&lt;/p&gt;</description></item><item><title>Re: populate text box from webservice</title><link>https://www.infopathdev.com:443/forums/thread/22976.aspx</link><pubDate>Tue, 11 Sep 2007 17:09:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22976</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22976.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=22976</wfw:commentRss><description>&lt;p&gt;Hey Heath,&lt;/p&gt;
&lt;p&gt;I have done a similar project in HR.&lt;/p&gt;
&lt;p&gt;I would strongly recommend you check out the Database Accelerator Web Suite. &lt;a href="http://www.infopathdev.com/files/folders/dbxldownload/entry22386.aspx" target="_blank"&gt;Qdabra Database Accelerator Suite Version 2.1.2808 - Developer&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This gives you everything you need to identify the user and then more importantly secure it per user or to say a manager&amp;#39;s direct reports.&amp;nbsp; It is a whole toolkit of web services to interact with your databases.&lt;/p&gt;
&lt;p&gt;If you need any advice or would like a demo of a similar project just email me by clicking on my name in the sidebar.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>populate text box from webservice</title><link>https://www.infopathdev.com:443/forums/thread/22968.aspx</link><pubDate>Tue, 11 Sep 2007 13:42:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22968</guid><dc:creator>heath3106</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22968.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=22968</wfw:commentRss><description>&lt;p&gt;I have a form that I am building based on an Access database. I am an InfoPath newbie and just trying to learn jscript. I want to receive data from our HR systems to prefill specific fields when the user opens the form. I&amp;#39;ve been able to get the LAN ID field to populate on the form but can&amp;#39;t get the other data elements that are part of my secondary data connection (web service) to show up on the form .Below is the code I&amp;#39;m using. Any help on how to add the&amp;nbsp;text box controls&amp;nbsp;and get them to pull the data correctly would be appreciated.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;function XDocument::OnLoad(eventObj) &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;XDocument.QueryAdapter.Timeout=60; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var userIDField=XDocument.DOM.selectSingleNode(&amp;quot;dfs:myFields/my:LANUserID&amp;quot;); &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var userID=GetUserID(); &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (userIDField.text == &amp;quot;&amp;quot;) {userIDField.text=userID;} &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;//Also need for web service// &lt;/p&gt;
&lt;p&gt;function GetUserID() &lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;var objNetwork = new ActiveXObject(&amp;quot;Wscript.network&amp;quot;); &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var uid = objNetwork.UserName; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return uid; &lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;</description></item></channel></rss>