<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Handling Web Service exception in Flex code</title>
	<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/</link>
	<description></description>
	<pubDate>Thu, 20 Nov 2008 01:44:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Rama</title>
		<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-1106</link>
		<author>Rama</author>
		<pubDate>Fri, 09 Nov 2007 18:53:37 +0000</pubDate>
		<guid>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-1106</guid>
		<description>I use Axis and Flex2 and for some reason, I am unable to get it to work. Can someone post the source code for the Exception Logic on the J2EE side?

I think I might have messed up the ClientException class. Since I use Axis, should it extend Exception?

Thanks,
Rama</description>
		<content:encoded><![CDATA[<p>I use Axis and Flex2 and for some reason, I am unable to get it to work. Can someone post the source code for the Exception Logic on the J2EE side?</p>
<p>I think I might have messed up the ClientException class. Since I use Axis, should it extend Exception?</p>
<p>Thanks,<br />
Rama</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rado</title>
		<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-1035</link>
		<author>Rado</author>
		<pubDate>Mon, 16 Jul 2007 08:44:48 +0000</pubDate>
		<guid>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-1035</guid>
		<description>It works for me too. I am using Axis and Flex 2.0.1. I did not have to do any extra steps, and now my event.fault.faultString contains correct text ("exception name: exception.getMessage()")

thanks for your help :-)

anyway, do you think that Flex could support the "standard" SOAP faults code 500 in the future?</description>
		<content:encoded><![CDATA[<p>It works for me too. I am using Axis and Flex 2.0.1. I did not have to do any extra steps, and now my event.fault.faultString contains correct text (&#8221;exception name: exception.getMessage()&#8221;)</p>
<p>thanks for your help :-)</p>
<p>anyway, do you think that Flex could support the &#8220;standard&#8221; SOAP faults code 500 in the future?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java Donkey</title>
		<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-353</link>
		<author>Java Donkey</author>
		<pubDate>Tue, 08 May 2007 15:30:15 +0000</pubDate>
		<guid>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-353</guid>
		<description>Interesting read, thanks for the post!  I didn't know that a web service standard was to set the error code to 500.</description>
		<content:encoded><![CDATA[<p>Interesting read, thanks for the post!  I didn&#8217;t know that a web service standard was to set the error code to 500.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Java Donkey - The Java Donkey comments on Java programming as well as other topics. &#187; Error Handling in Servlet Filters using web.xml</title>
		<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-352</link>
		<author>Java Donkey - The Java Donkey comments on Java programming as well as other topics. &#187; Error Handling in Servlet Filters using web.xml</author>
		<pubDate>Tue, 08 May 2007 15:28:05 +0000</pubDate>
		<guid>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-352</guid>
		<description>[...] a seperate but related read, check out Handling Web Service Exceptions and XFire.   This entry is filed under J2EE. You can follow any responses to this entry through the RSS 2.0 [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] a seperate but related read, check out Handling Web Service Exceptions and XFire.   This entry is filed under J2EE. You can follow any responses to this entry through the RSS 2.0 [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RD</title>
		<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-6</link>
		<author>RD</author>
		<pubDate>Tue, 06 Mar 2007 06:33:00 +0000</pubDate>
		<guid>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-6</guid>
		<description>It's difficult to say without looking into the code - it works for me. I guess you already checked that: service.doSomething.addEventListener("fault", responder.fault); is assigned to "fault"?</description>
		<content:encoded><![CDATA[<p>It&#8217;s difficult to say without looking into the code - it works for me. I guess you already checked that: service.doSomething.addEventListener(&#8221;fault&#8221;, responder.fault); is assigned to &#8220;fault&#8221;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quai83</title>
		<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-7</link>
		<author>quai83</author>
		<pubDate>Thu, 01 Mar 2007 09:27:00 +0000</pubDate>
		<guid>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-7</guid>
		<description>Hi,&lt;BR/&gt;&lt;BR/&gt;It does not work in XFire too, the succeed callback is called instead of the fault callback.  Although the soap message is populated with the correct exception details, but calling succeed callback leaves me no idea to handle the exception details.  Any idea?&lt;BR/&gt;&lt;BR/&gt;Thanks.&lt;BR/&gt;&lt;BR/&gt;Best Regards,&lt;BR/&gt;Chee Seng</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>It does not work in XFire too, the succeed callback is called instead of the fault callback.  Although the soap message is populated with the correct exception details, but calling succeed callback leaves me no idea to handle the exception details.  Any idea?</p>
<p>Thanks.</p>
<p>Best Regards,<br />Chee Seng</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quai83</title>
		<link>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-8</link>
		<author>quai83</author>
		<pubDate>Thu, 01 Mar 2007 06:55:00 +0000</pubDate>
		<guid>http://blog.widget-labs.com/2007/02/15/handling-web-service-exception-in-flex-code/#comment-8</guid>
		<description>Hi,&lt;BR/&gt;&lt;BR/&gt;I cannot get it working with Axis, I am using Axis 1.4.  I have set the HTTP status code from 500 to 200 using HttpServletResponseWrapper.  However, instead of calling on the callback function for fault, Flex calls the success callback function.  The soap response is a soap fault.  Is it because status code 200 indicate that the invocation succeed without fault?&lt;BR/&gt;&lt;BR/&gt;Thanks for any help in advance.&lt;BR/&gt;&lt;BR/&gt;Best Regards,&lt;BR/&gt;Chee Seng</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I cannot get it working with Axis, I am using Axis 1.4.  I have set the HTTP status code from 500 to 200 using HttpServletResponseWrapper.  However, instead of calling on the callback function for fault, Flex calls the success callback function.  The soap response is a soap fault.  Is it because status code 200 indicate that the invocation succeed without fault?</p>
<p>Thanks for any help in advance.</p>
<p>Best Regards,<br />Chee Seng</p>
]]></content:encoded>
	</item>
</channel>
</rss>
