<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: sending query to webservice</title><link>https://www.infopathdev.com:443/forums/thread/66074.aspx</link><pubDate>Wed, 20 Apr 2011 16:10:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66074</guid><dc:creator>robszar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66074.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66074</wfw:commentRss><description>got it, I put the rules on the dropdownbox field instead of the text field.  thanks!
&lt;br /&gt;&lt;br /&gt;
here is the site for a reference: http://wssdevelopment.blogspot.com/2007/11/querying-web-service-with-infopath-2007.html</description></item><item><title>Re: sending query to webservice</title><link>https://www.infopathdev.com:443/forums/thread/66072.aspx</link><pubDate>Wed, 20 Apr 2011 16:01:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66072</guid><dc:creator>robszar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66072</wfw:commentRss><description>i found a good post on this subject and followed the directions but I&amp;#39;m not returning any data, does this look right?

&lt;br /&gt;&lt;br /&gt;
I create a new action to set a field’s value.  For the field, I click on the Browse Icon  and select my web service from the data source drop down. You should see query fields and data fields as nodes in the tree. Open the query fields until you find your parameter. Click on the parameter and click OK to set this value.

For the value, I set this to the current node by selecting the function icon  and choosing to insert a field or group. Make sure your main data source is selected and choose the appropriate field. In my case, this is the Client_ID field. Once these bindings are done, I click OK.&lt;br /&gt;&lt;br /&gt;

I now need to add an action to query the web service, so I click on Add Action and choose Query using a data connection in the action drop down. Since I only have one data source, I choose the only available data source and click OK.&lt;br /&gt;&lt;br /&gt;

Now, the final step is to add an action to set the fields of my main data source to the retrieved values from the web service. I click on Add Action and choose the action to Set a field’s value.
This time, the field will be the dropdownbox from the main data source and the value will be the associated value from the web service.</description></item><item><title>Re: sending query to webservice</title><link>https://www.infopathdev.com:443/forums/thread/66063.aspx</link><pubDate>Wed, 20 Apr 2011 14:46:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66063</guid><dc:creator>robszar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66063.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66063</wfw:commentRss><description>this is not working for me, this is what I did with the rules
&lt;br /&gt;&lt;br /&gt;
I took the button out of the picture so now I have a text field and dropdown
&lt;br /&gt;
2 rules, 
&lt;br /&gt;&lt;br /&gt;
1) to &amp;quot;submit&amp;quot; the Client_ID to the webservice&lt;br /&gt;
2) to &amp;quot;query&amp;quot; using data connection

&lt;br /&gt;&lt;br /&gt;

I am not returning anything, I am &amp;quot;submitting&amp;quot; but then my &amp;quot;query&amp;quot; doesn&amp;#39;t have the client_id so I can understand why it&amp;#39;s not returning any data&lt;br /&gt;&lt;br /&gt;
Should I take out the &amp;quot;query data connection&amp;quot; because I&amp;#39;m not passing any parameters to the webservice?  &lt;br /&gt;
does the &amp;quot;submit&amp;quot; return the array?  and can I just refresh the dropdown?  

&lt;br /&gt;&lt;br /&gt;

Do I need to use a &amp;quot;set value rule?&amp;quot;  if so what do I put in for the value?

&lt;br /&gt;&lt;br /&gt;
Thanks for your help</description></item><item><title>Re: sending query to webservice</title><link>https://www.infopathdev.com:443/forums/thread/66061.aspx</link><pubDate>Wed, 20 Apr 2011 14:32:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66061</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66061</wfw:commentRss><description>&lt;p&gt;Create a rule to set the field you want, and another rule to query the web service.&amp;nbsp; Both of these are options in the dropdown when you select a rule action.&lt;/p&gt;
&lt;p&gt;The dropdown options should update as soon as the web service is queried.&lt;/p&gt;</description></item><item><title>Re: sending query to webservice</title><link>https://www.infopathdev.com:443/forums/thread/66059.aspx</link><pubDate>Wed, 20 Apr 2011 14:14:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66059</guid><dc:creator>robszar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66059.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66059</wfw:commentRss><description>I am not very familiar with rules but I&amp;#39;m looking at them now.  can you please guide me?  
&lt;br /&gt;&lt;br /&gt;

I have a text field, a button and a dropdown box.  do I create the rules on the button to:&lt;br /&gt;
submit using a data connection?
&lt;br /&gt;&lt;br /&gt;

how does it then populate the dropdown?</description></item><item><title>Re: sending query to webservice</title><link>https://www.infopathdev.com:443/forums/thread/66056.aspx</link><pubDate>Wed, 20 Apr 2011 13:54:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66056</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66056.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66056</wfw:commentRss><description>&lt;p&gt;Any reason you&amp;#39;re using code to do this?&amp;nbsp; Ordinary rules should do the trick.&lt;/p&gt;</description></item><item><title>sending query to webservice</title><link>https://www.infopathdev.com:443/forums/thread/66055.aspx</link><pubDate>Wed, 20 Apr 2011 13:44:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:66055</guid><dc:creator>robszar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/66055.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=66055</wfw:commentRss><description>I have a webservice and I want to pass a string to it and it should return an array of strings that populate a dropdownbox.  Right now I&amp;#39;m at the point where if I hard code the value that I&amp;#39;m passing to the web service it will populate the dropdownbox.  yay!  Now I have to pass the value of a text field to the webservice, I&amp;#39;m using VB

&lt;p&gt;
this is the value I want to pass: 
            Dim XNavigator As XPathNavigator
            Dim Client_ID As String = &amp;quot;NA&amp;quot;
            XNavigator = Me.MainDataSource.CreateNavigator().SelectSingleNode(&amp;quot;/my:AllDataFields/my:RequestorInformationGroup/my:ExistingClientIDGroup/my:ClientID&amp;quot;, NamespaceManager)
            Client_ID = XNavigator.Value()
&lt;/p&gt;
The datasource name is: QueryOppsForm
&lt;br /&gt;
can someone help me connect to the data source (QueryOppsForm) and pass the Client_ID, then refresh the dropdownbox to show the query results?
&lt;br /&gt;
Thanks in advance.
&lt;br /&gt;
Rob</description></item></channel></rss>