<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Retrieving Data from a Web Service Using Browser Enabled Froms (infopath 2007/ moss 2007)</title><link>https://www.infopathdev.com:443/forums/thread/24195.aspx</link><pubDate>Mon, 05 Nov 2007 03:23:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24195</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24195.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=24195</wfw:commentRss><description>&lt;p&gt;You have your data connection, which is queried automatically.&amp;nbsp; This is done before the open rules. I see how this could be confusing but if you have query parameters you have to run the data connection manually.&lt;/p&gt;
&lt;p&gt;So you would need to query the Data connection again in your rules after you set your parameters.&amp;nbsp; I think that is your issue because it does not look like you are running it again after you set the values.&lt;/p&gt;</description></item><item><title>Retrieving Data from a Web Service Using Browser Enabled Froms (infopath 2007/ moss 2007)</title><link>https://www.infopathdev.com:443/forums/thread/24188.aspx</link><pubDate>Sat, 03 Nov 2007 10:05:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24188</guid><dc:creator>phyrephly</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=24188</wfw:commentRss><description>&lt;p&gt;HI all,&lt;/p&gt;
&lt;p&gt;I have written a simple web service that returns a string value:&lt;/p&gt;
&lt;p&gt;here is the code for the web service:&lt;/p&gt;
&lt;p&gt;&amp;lt;WebMethod&amp;gt; _&lt;/p&gt;
&lt;p&gt;Public Function getString() as String&lt;/p&gt;
&lt;p&gt;Return &amp;quot;TestString&amp;quot;&lt;/p&gt;
&lt;p&gt;End Function&lt;/p&gt;
&lt;p&gt;If i test the webservice from the service.asmx page it returns the correct value and works.&lt;/p&gt;
&lt;p&gt;Next i created a browser enabled from with a field called test-string-text-box&lt;/p&gt;
&lt;p&gt;I have created a secondary data connection to a the web service called getString, and disabled the store a copy on form option and left the automatically retrieve data option enabled.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Next i went to the form open options and set the following actions:&lt;/p&gt;
&lt;p&gt;1 - Query data using a web service: getString&lt;/p&gt;
&lt;p&gt;2 - set a fields value: test-string-text-box = result of the getString web service retrieval.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I converted the data connection to a UCDX file and tried both link typ relative and link type store options, approving the UDCX files and uploading them to the central data connection store.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Lastly i pulbished the form as a content type to a MOSS 2007 sharepoint library.&lt;/p&gt;
&lt;p&gt;When i open the form it does not set the value of the text box to the result of the get string command.&lt;/p&gt;
&lt;p&gt;I have no idea what the problem is, any suggestions?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance.&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>