[flexcoders] Re: Propogating exception info from Web Service to Flex

2007-02-15 Thread roman_dolgov
I posted a blog entry with more details just in case: http://stackoverflowexception.blogspot.com/2007/02/handing-web-service-exception-in-flex.html --- In flexcoders@yahoogroups.com, roman_dolgov [EMAIL PROTECTED] wrote: Looks like servlet filter is the way to go. See related discussion:

[flexcoders] Re: Propogating exception info from Web Service to Flex

2007-02-14 Thread Chua Chee Seng
How about Axis? Is it possible for me to get the custom application exception info thrown? I check the wsdl it is well describe by 'fault', any idea how flex web service handle the custom 'fault' complex type describe in wsdl? Thanks Chee Seng --- In flexcoders@yahoogroups.com, lepusmars

[flexcoders] Re: Propogating exception info from Web Service to Flex

2007-02-14 Thread roman_dolgov
Looks like servlet filter is the way to go. See related discussion: http://archive.xfire.codehaus.org/user/45D34502.4030804%40fluid.com First need to change HTTP return code to 200 and after that presumably Flex would be able to get into SOAP body and extract exception info. Didn't have chance

RE: [flexcoders] Re: Propogating exception info from Web Service to Flex

2007-02-14 Thread Carson Hager
info from Web Service to Flex Looks like servlet filter is the way to go. See related discussion: http://archive.xfire.codehaus.org/user/45D34502.4030804%40fluid.com http://archive.xfire.codehaus.org/user/45D34502.4030804%40fluid.com First need to change HTTP return code to 200 and after

[flexcoders] Re: Propogating exception info from Web Service to Flex

2007-02-13 Thread lepusmars
throw new XFireFault(Fault String, XFireFault.SENDER); This is how we do it. There are also methods for adding more details to the Exception that get passed on the response. Check out the javadoc for more details. http://envoisolutions.com/xfire/api/org/codehaus/xfire/fault/XFireFault.html pd