<?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: Submitting to a webservice and retrieving the returned value (IP2003)</title><link>https://www.infopathdev.com:443/forums/thread/44073.aspx</link><pubDate>Thu, 09 Jul 2009 19:34:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44073</guid><dc:creator>DanRegalia</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44073.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=44073</wfw:commentRss><description>&lt;p&gt;Hey Patrick,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;thanks for your quick reply, I had actually started down that path, and got discouraged.&amp;nbsp; When i set up a &amp;#39;recieve&amp;#39; data connection that pulls posts the information, and then returns back the value, I run into an issue where I can&amp;#39;t&amp;nbsp;execute the &amp;#39;set sample value&amp;#39; part of the wizard to test for the value coming back in.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;My webservice is looking for:&amp;nbsp; &lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; txtXML &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlDocument&lt;br /&gt;Which is the entire form of the submission.&amp;nbsp; I&amp;#39;m currently sending the entire file into the web service.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;While i&amp;#39;m still a bit newbish when it comes to this software, what would be the best way to handle this type of submission as a &amp;#39;sample value&amp;#39;.&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;I&amp;#39;ve tried capturing any&amp;nbsp;submission thru, and returning&amp;nbsp;the value i want in the webservice, but it has to&amp;nbsp;go thru as an xml document, and the test fails.&amp;nbsp; What would be an easy way to send thru a value that pretends to be an xml document.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;But I follow where you&amp;#39;re going with your comment, but i can&amp;#39;t figure out how to setup the recieve data connection.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;~Dan&lt;font size="2"&gt;&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Submitting to a webservice and retrieving the returned value (IP2003)</title><link>https://www.infopathdev.com:443/forums/thread/44014.aspx</link><pubDate>Thu, 09 Jul 2009 05:53:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44014</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44014.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=44014</wfw:commentRss><description>&lt;p&gt;Hi Dan and welcome,&lt;/p&gt;
&lt;p&gt;Yes, you can write some code to get the return value and display that, or you can do something clever and use a Retrieve Data Connection to submit part of the data. The retrieve data connection would be called first and it would give you a unique &amp;quot;handle&amp;quot; to the data. Then, use this handle to do the submit. Finally, call another retrieve data connection to verify that the handle&amp;#39;s submit succeeded. Complex, and requires two retrieve web methods, but you can do it all without code. Bon appetit!&lt;/p&gt;</description></item><item><title>Submitting to a webservice and retrieving the returned value (IP2003)</title><link>https://www.infopathdev.com:443/forums/thread/43989.aspx</link><pubDate>Wed, 08 Jul 2009 22:26:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43989</guid><dc:creator>DanRegalia</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=43989</wfw:commentRss><description>&lt;p&gt;Hey all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I wrote a custom web service, which handles and consumes form submissions.&amp;nbsp; It works great.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;What i&amp;#39;d like to be able to do now, is when&amp;nbsp;a form is submitted, it displays a message that is returned from the web service.&lt;br /&gt;(I send in the whole document, it&amp;#39;s proccessed and then the result is&amp;nbsp;posted back to the client form)&lt;/p&gt;
&lt;p&gt;Is this possible to do using regular 2003 without any of the Dev packs on it and working with visual studio?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;</description></item></channel></rss>