<?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: How to Pass Parameter value to the webservice on loading the form?</title><link>https://www.infopathdev.com:443/forums/thread/40315.aspx</link><pubDate>Sat, 04 Apr 2009 08:43:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40315</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40315.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=40315</wfw:commentRss><description>&lt;p&gt;You can set the parameter to point to a field in your form when you create the data connection. Just make sure the form has data set correctly before it queries. You could also use an Open Rule to set the PersonId and then query the Web service (in other words, don&amp;#39;t use the default query on open, but use the Tools-&amp;gt;Form Options-&amp;gt;Open Rules instead). Hope this helps!&lt;/p&gt;</description></item><item><title>How to Pass Parameter value to the webservice on loading the form?</title><link>https://www.infopathdev.com:443/forums/thread/40290.aspx</link><pubDate>Fri, 03 Apr 2009 12:59:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40290</guid><dc:creator>skumar38</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40290.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=40290</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am creating infopath form which shows information about the logged in person.&lt;/p&gt;
&lt;p&gt;I am using web service Dataconnection to get the person details from DB. GetPersonDetail() method will accept PersonId as parameter.&lt;/p&gt;
&lt;p&gt;I need to pass this parameter when user open the form. parameter value should be dynamic. it has to take the currently logged on user&amp;nbsp; and show the information.&lt;/p&gt;
&lt;p&gt;how i can pass the parameter value to the web service method on the load of the form?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>