<?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: Submit schema group, then query results from web service</title><link>https://www.infopathdev.com:443/forums/thread/22060.aspx</link><pubDate>Fri, 27 Jul 2007 16:10:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22060</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22060.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22060</wfw:commentRss><description>&lt;p&gt;Ah, I see your problem.&amp;nbsp; It&amp;#39;s not that your too slow in getting to the data, it&amp;#39;s that it is never stored onto that DOM.&amp;nbsp; We have hit this problem&amp;nbsp;a couple times when working with DBXL.&amp;nbsp; If you want to remain codeless, then you should transform your Submit data connection into a Query data connection.&amp;nbsp; These two are the same thing in the underlying framework, they are just presented to through the IP Designer in a more user-friendly way.&amp;nbsp; So, turn your current Submit connection into a Query connection, load your values into the queryFields node, and then Query it.&amp;nbsp; When it is done, the result will be stored under the dataFields node.&amp;nbsp; This is where your second Query connection can pick the data up from.&lt;/p&gt;&lt;p&gt;If you want to use code you can use the OutputLocation of the WebServiceAdapter2 object to look at the XML that is returned by the web service.&lt;/p&gt;&lt;font color="#2b91af" size="2"&gt;&lt;p&gt;WebServiceAdapter2&lt;font size="2"&gt; wsAdapter = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;WebServiceAdapter2&lt;/font&gt;&lt;font size="2"&gt;)thisXDocument.DataAdapters[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MySubmitDataConnection&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;];&lt;p&gt;wsAdapter.Submit();&lt;/p&gt;&lt;p&gt;thisXDocument.UI.Alert(wsAdapter.OutputLocation.xml);&lt;/p&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt; wsAdapter = (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;WebServiceAdapter2&lt;/font&gt;&lt;font size="2"&gt;)thisXDocument.DataAdapters[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;MySubmitDataConnection&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;];&lt;p&gt;wsAdapter.Submit();&lt;/p&gt;&lt;p&gt;thisXDocument.UI.Alert(wsAdapter.OutputLocation.xml);&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Submit schema group, then query results from web service</title><link>https://www.infopathdev.com:443/forums/thread/22054.aspx</link><pubDate>Fri, 27 Jul 2007 13:55:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22054</guid><dc:creator>admot</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22054</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;In one rule, I can place in a submit action and a query action. This submit action is supposed to manipulate data G in the background. The query action is designed to pick up that manipulated data G. The problem is once the submit action is complete, the manipulated data G isn&amp;#39;t stored anywhere. The query then just pulls the data G as if a submit never occured. A submit and immediate query action would resolve this.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Is there a way the submit can cause the manipulated data G to store inside a temporary xml? From there, I can use a query to pull up the xml.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Submit schema group, then query results from web service</title><link>https://www.infopathdev.com:443/forums/thread/22039.aspx</link><pubDate>Fri, 27 Jul 2007 11:41:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22039</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22039.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22039</wfw:commentRss><description>&lt;p&gt;I don&amp;#39;t understand why using multiple actions in one Rule, or even multiple Rules is a problem.&amp;nbsp; The rules run in a deterministic order, so it should all be the same.&lt;/p&gt;</description></item><item><title>Submit schema group, then query results from web service</title><link>https://www.infopathdev.com:443/forums/thread/22024.aspx</link><pubDate>Thu, 26 Jul 2007 18:19:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:22024</guid><dc:creator>admot</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/22024.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=22024</wfw:commentRss><description>&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Hi all,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I did a search before posting and found results for querying and submitting but not vise versa. &lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;What I would like to do is submit an xml schema group from there,&amp;nbsp;I want to retrieve webservice xml data which I can populate attributes all based on the data submitted.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I can submit a specific schema group and I can also retrieve data from a webservice but I can only do it on separate actions in a rule. I need to perform a submit+retrieve in one action. The Query action doesn&amp;rsquo;t seem to provide a way to submit more than just the one control.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;To help envision, I have a pull down. Every time a user selects a pull down, it submits the input data entered in from all the other fields in that section. In the background (independent from InfoPath), the inputs influence within the section influence specific elements. From there InfoPath queries this data and each one is pulled into an attribute.&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0in 0in 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Thoughts?&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>