<?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: Newbie to accessing webservices....</title><link>https://www.infopathdev.com:443/forums/thread/70934.aspx</link><pubDate>Thu, 06 Oct 2011 18:40:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70934</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70934.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=70934</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I was hoping someone would point me in the right direction.&lt;/p&gt;&lt;p&gt;As a test, I created a new blank form using the Webservice template so I get the automatic query button.&amp;nbsp; Just so I understand...if I drag the query field (LanID) on to the form and drag the data fields (LastName, FirstName, etc) into the form and enter a valid LanID then process QUERY I should get a result?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Nothing happens... &lt;/p&gt;&lt;p&gt;&amp;nbsp;Here&amp;#39;s the webservice test page&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;span&gt;
&lt;/span&gt;&lt;/p&gt;&lt;h3&gt;SOAP 1.2&lt;/h3&gt;
&lt;p&gt;The following is a sample SOAP 1.2 request and response. The &lt;font class="value"&gt;placeholders&lt;/font&gt; shown need to be replaced with actual 
values.&lt;/p&gt;&lt;pre&gt;POST /lookup.asmx HTTP/1.1
Host: practitionerlookup
Content-Type: application/soap+xml; charset=utf-8
Content-Length: &lt;font class="value"&gt;length&lt;/font&gt;

&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;
&amp;lt;soap12:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soap12=&amp;quot;http://www.w3.org/2003/05/soap-envelope&amp;quot;&amp;gt;
  &amp;lt;soap12:Body&amp;gt;
    &amp;lt;GetEmployeeByLanId xmlns=&amp;quot;http://practitionerpookup/&amp;quot;&amp;gt;
      &amp;lt;lanId&amp;gt;&lt;font class="value"&gt;string&lt;/font&gt;&amp;lt;/lanId&amp;gt;
    &amp;lt;/GetEmployeeByLanId&amp;gt;
  &amp;lt;/soap12:Body&amp;gt;
&amp;lt;/soap12:Envelope&amp;gt;&lt;/pre&gt;&lt;pre&gt;HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: &lt;font class="value"&gt;length&lt;/font&gt;

&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;
&amp;lt;soap12:Envelope xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:soap12=&amp;quot;http://www.w3.org/2003/05/soap-envelope&amp;quot;&amp;gt;
  &amp;lt;soap12:Body&amp;gt;
    &amp;lt;GetEmployeeByLanIdResponse xmlns=&amp;quot;http://practitionerpookup/&amp;quot;&amp;gt;
      &amp;lt;GetEmployeeByLanIdResult&amp;gt;
        &amp;lt;EmployeeId&amp;gt;&lt;font class="value"&gt;string&lt;/font&gt;&amp;lt;/EmployeeId&amp;gt;
        &amp;lt;LastName&amp;gt;&lt;font class="value"&gt;string&lt;/font&gt;&amp;lt;/LastName&amp;gt;
        &amp;lt;FirstName&amp;gt;&lt;font class="value"&gt;string&lt;/font&gt;&amp;lt;/FirstName&amp;gt;
        &amp;lt;Phone&amp;gt;&lt;font class="value"&gt;string&lt;/font&gt;&amp;lt;/Phone&amp;gt;
        &amp;lt;Email&amp;gt;&lt;font class="value"&gt;string&lt;/font&gt;&amp;lt;/Email&amp;gt;
      &amp;lt;/GetEmployeeByLanIdResult&amp;gt;
    &amp;lt;/GetEmployeeByLanIdResponse&amp;gt;
  &amp;lt;/soap12:Body&amp;gt;
&amp;lt;/soap12:Envelope&amp;gt;&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Newbie to accessing webservices....</title><link>https://www.infopathdev.com:443/forums/thread/70843.aspx</link><pubDate>Tue, 04 Oct 2011 18:08:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70843</guid><dc:creator>Sailor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=70843</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am quite new to Infopath, but I&amp;#39;ve created a number of succesful form in the past two years.&amp;nbsp; These have been quite basic, with connections only to WSS 3.0.&amp;nbsp; I now want to create a form that will populate user information, but research tells me that this isn&amp;#39;t easily possible using WSS.&amp;nbsp; I&amp;#39;m in a large corporation, where I&amp;#39;ve been told there is an existing webservice that should get me what I need. &amp;nbsp;&lt;/p&gt;&lt;p&gt;In Infopath I&amp;#39;ve created a SOAP connection to the webservice (GetUserByLANid).&amp;nbsp; This gives me query and data fields in my data connection.&amp;nbsp; On FormLoad I want to populate text fields (LastName, FirstName, etc) from the webservice based on LanID.&amp;nbsp; I have a field (LanID) already populating using the userName() function.&amp;nbsp; I just simply don&amp;#39;t know how to pass the value in the LanID field to the webservice, to return the results.&lt;/p&gt;&lt;p&gt;&amp;nbsp;This has to be very simple I&amp;#39;m sure...but you don&amp;#39;t know what you don&amp;#39;t know:-)&amp;nbsp; Can anyone suggest a easy to follow sample of how to do this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>