<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Show exception message on form submission</title><link>https://www.infopathdev.com:443/forums/thread/54293.aspx</link><pubDate>Wed, 28 Apr 2010 18:10:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54293</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54293</wfw:commentRss><description>&lt;p&gt;Hi nthaka1,&lt;/p&gt;
&lt;p&gt;You could return the exception information from the Web service in an error parameter and if that parameter is not blank, you could assume it&amp;#39;s an error and display it in the form or in a message box.&lt;/p&gt;
&lt;p&gt;Hope that is semi-helpful. Sorry I can&amp;#39;t solve world hunger,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Show exception message on form submission</title><link>https://www.infopathdev.com:443/forums/thread/54227.aspx</link><pubDate>Tue, 27 Apr 2010 15:00:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54227</guid><dc:creator>nthaka1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54227.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=54227</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi All,&lt;/p&gt;&lt;p&gt;I have developed one infopath form having data connection with WebService. When I submit data it shows me message that form was submitted. This is the default message of InfoPath.&lt;/p&gt;&lt;p&gt;Now when the web service throw any exception I want to show exception message in the message box instead of that default message. I have thrown the exception, in this case the message box shows extra button &amp;quot;Show Details&amp;gt;&amp;gt;&amp;quot; in this details box, it shows me the message thrown by web service. &lt;/p&gt;&lt;p&gt;Is there any way to directly show the message in message box. In this case we can not use Submit Option &amp;gt; Advanced &amp;gt; Use Custom Messages. as we can not show exact exception message every time.&lt;/p&gt;&lt;p&gt;Looking forward to your kind reply. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks in Adv. &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>