<?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 dropdown list from web service</title><link>https://www.infopathdev.com:443/forums/thread/17920.aspx</link><pubDate>Mon, 06 Nov 2006 18:52:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17920</guid><dc:creator>dream1213</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17920.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17920</wfw:commentRss><description>Thank you all, I am going to try it by using code.&lt;br /&gt;&lt;br /&gt;Eugene,</description></item><item><title>Re: Populate dropdown list from web service</title><link>https://www.infopathdev.com:443/forums/thread/17919.aspx</link><pubDate>Fri, 03 Nov 2006 09:06:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17919</guid><dc:creator>Suresh Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17919.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17919</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Try out this link &lt;br /&lt;a target="_blank" href=http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=419&gt;http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=419&lt;/a&gt;&lt;br /&gt;Hope this will help you.</description></item><item><title>Re: Populate dropdown list from web service</title><link>https://www.infopathdev.com:443/forums/thread/17918.aspx</link><pubDate>Fri, 03 Nov 2006 03:11:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17918</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17918</wfw:commentRss><description>Hi Eugene,&lt;br /&gt;&lt;br /&gt;Follow these steps,&lt;br /&gt;&lt;br /&gt;1. Drag and drop your parameter text fields into the InfoPath form.&lt;br /&gt;2. Add a button to your form and double click it to bring up properties. &lt;br /&gt;3. Click rules and add. &lt;br /&gt;4. Click Add an Action. &lt;br /&gt;5. Select Submit using a data connection and choose the submit you would like to use. &lt;br /&gt;6. Close the dialogs and preview your form.&lt;br /&gt;7. Enter text in above filed (step1).&lt;br /&gt;8. Click on Submit button.&lt;br /&gt;&lt;br /&gt;By using code we can set the parameters to the text field before query. The code below describe how to query and read the result of a&lt;br /&gt;webervice(Datasource) with Infopath&lt;br /&gt;&lt;br /&gt;//Request information from the webservice&lt;br /&gt;WebServiceAdapter2 myWebAdapter = (WebServiceAdapter2)thisXDocument.DataAdapters["AdapterName"];&lt;br /&gt;&lt;br /&gt;//Fill parameter&lt;br /&gt;myWebAdapter.DOM.selectSingleNode("XPath").text = parameterText;&lt;br /&gt;&lt;br /&gt;//Send the query&lt;br /&gt;myWebAdapter.Query();</description></item><item><title>Populate dropdown list from web service</title><link>https://www.infopathdev.com:443/forums/thread/17563.aspx</link><pubDate>Thu, 02 Nov 2006 23:19:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17563</guid><dc:creator>dream1213</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17563.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17563</wfw:commentRss><description>I have an Infopath 2003 form with dropdown list populated the values of list through webservice.&lt;br /&gt;&lt;br /&gt;I can set the request parameters manually in design time. It works well when the form opening.&lt;br /&gt;&lt;br /&gt;The question is:&lt;br /&gt;&lt;br /&gt;Is it possible to set the request parameter from a text field on the form?&lt;br /&gt;&lt;br /&gt;or selected from another dropdown list, to repopulate it again?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Thanks advanced,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Eugene&lt;br /&gt;</description></item></channel></rss>