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:
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
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
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
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
5 matches
Mail list logo