<?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: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/96297.aspx</link><pubDate>Tue, 04 Mar 2014 17:59:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96297</guid><dc:creator>craig.j.comeau</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=96297</wfw:commentRss><description>Hi Patrick 

How would one go about creating a receive data connection that submits through qrules? Which i have.</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/67063.aspx</link><pubDate>Thu, 02 Jun 2011 16:59:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67063</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67063.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=67063</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m confused what &amp;quot;this scenario&amp;quot; refers to. If you just need to get back a return value from a Web Service, you can create a Retrieve data connection that submits and that will return results. You can use code or qRules to access those results.&lt;/p&gt;
&lt;p&gt;The original poster seemed more interested in submitting repeating data to a Web service. We have a generic Web service (DBXL) that supports this and we pass the XML as a string when we call it. The Web service is smart and parses out the repeating data and maps to SQL based on a user-defined XML-to-SQL mapping (it&amp;#39;s data driven). Seems like the original poster needs a similar approach.&lt;/p&gt;</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/67048.aspx</link><pubDate>Thu, 02 Jun 2011 12:17:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67048</guid><dc:creator>ajay.sawant@prosares.com</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67048.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=67048</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Any possibility of getting this scenario working in InfoPath 2010 ?&lt;/p&gt;&lt;p&gt;Thanks &lt;/p&gt;&lt;p&gt;Ajay Sawant&lt;/p&gt;</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/38471.aspx</link><pubDate>Mon, 16 Feb 2009 22:06:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:38471</guid><dc:creator>MonteMcD</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/38471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=38471</wfw:commentRss><description>I am running into the same issue.  The query params are locked for the receive DC and you have to use a rule action to assign the values (one by one) *and* it doesn&amp;#39;t seem to accept repeating values.  Is there any way to do both without resorting to code?  I need to submit a repeating table (lineitems) and get back a record ID to put back into the form.</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/17949.aspx</link><pubDate>Wed, 07 Feb 2007 00:26:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17949</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17949</wfw:commentRss><description>The receive DC should provide query parameters as well. Are you seeing a difference in the query parameters between a receive DC and a submit DC to the same data source?</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/17948.aspx</link><pubDate>Wed, 31 Jan 2007 20:35:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17948</guid><dc:creator>tbrentlong</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17948</wfw:commentRss><description>Greg,&lt;br /&gt;&lt;br /&gt;Can you elaborate on using the Receive Data Connection?  I've created a Receive DC, but don't know how to assign value to the input parameter for the web service (it doesn't let you select the receive service when specifying submit options).&lt;br /&gt;</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/17947.aspx</link><pubDate>Wed, 17 Jan 2007 17:22:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17947</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17947.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17947</wfw:commentRss><description>Great! Glad to hear you got it working!</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/17946.aspx</link><pubDate>Wed, 17 Jan 2007 14:38:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17946</guid><dc:creator>jdogan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17946.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17946</wfw:commentRss><description>Thanks Greg,&lt;br /&gt;&lt;br /&gt;Before I saw your reply, I ended up adding a web reference to my web service, and then adding custom submit code that invokes the method on the web service directly instead of utilizing a data connection at all.&lt;br /&gt;&lt;br /&gt;&amp;lt;Code Snippet&amp;gt;&lt;br /&gt;        public void FormEvents_Submit(object sender, SubmitEventArgs e)&lt;br /&gt;        {&lt;br /&gt;            XPathNavigator nav = MainDataSource.CreateNavigator();&lt;br /&gt;            XPathNavigator idNode = nav.SelectSingleNode("/XPath/Node/That/Stores/The/FormId", this.NamespaceManager);&lt;br /&gt;            // We need to capture the return value of the submit, so that we can update the FormId.&lt;br /&gt;            InfoPathService.IInfoPathForm IPService = new InfoPathService.IInfoPathForm();&lt;br /&gt;            XPathNavigator responseNode = nav.SelectSingleNode("/XPath/Node/That/Contains/The/Response", this.NamespaceManager);&lt;br /&gt;            Guid FormId = IPService.SubmitInfoPathForm(responseNode.InnerXml);&lt;br /&gt;            idNode.SetValue(FormId.ToString());&lt;br /&gt;            e.CancelableArgs.Cancel = false;&lt;br /&gt;        }&lt;br /&gt;&amp;lt;/Code Snippet&amp;gt;&lt;br /&gt;&lt;br /&gt;This looks like it does what I need, so I'll run with that for now.&lt;br /&gt;Thanks again!&lt;br /&gt;&lt;br /&gt;Jason</description></item><item><title>Re: Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/17945.aspx</link><pubDate>Tue, 16 Jan 2007 23:40:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17945</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17945</wfw:commentRss><description>You can probably do what you want by using a Receive Data connection rather than a Submit Data connection. Both allow submit, the difference is that the Receive one lets you get data back as a result.</description></item><item><title>Return value from Web Service submit</title><link>https://www.infopathdev.com:443/forums/thread/17574.aspx</link><pubDate>Mon, 15 Jan 2007 14:59:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17574</guid><dc:creator>jdogan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17574.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17574</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I am wondering if it is possible to handle a web method return value after submitting a form? Basically, I have a web method&lt;br /&gt;&lt;br /&gt;Guid Submit(){...}&lt;br /&gt;&lt;br /&gt;When submitting a new form, the Guid returned is the new Id in the database, which I would like to capture and store in a form dataField so that if the user clicks the Submit again, it will update the existing database record instead of creating a new record.&lt;br /&gt;&lt;br /&gt;I am assuming this requires custom submit code, if its even possible. If anyone has advice, it would be much appreciated!&lt;br /&gt;&lt;br /&gt;Jason</description></item></channel></rss>