This content has been marked as final.
Show 2 replies
-
1. Re: problem throwing SOAPFaultException
omatzura Oct 4, 2006 10:06 AM (in response to omatzura)ok.. I've fixed this in the 1.0.3 sources locally; in org.jboss.ws.server.ServiceEndpointInvoker#handleInvocationException(Throwable) the handled exception is an MBeanException which wraps a ServerException which wraps the "original" SOAPFaultException.. I added a check for this;
if (th instanceof MBeanException) { Exception targetEx = ((MBeanException)th).getTargetException(); if (targetEx instanceof SOAPFaultException) { throw (SOAPFaultException)targetEx; } else if( targetEx instanceof ServerException && targetEx.getCause() instanceof SOAPFaultException ) { throw (SOAPFaultException)((ServerException)targetEx).getCause(); } else { ...
fixed the problem (at least temporarily)..
should I post a bug-report/fix/etc in JIRA?
regards!
/Ole
eviware.com -
2. Re: problem throwing SOAPFaultException
kapil.singhal Oct 12, 2006 10:09 AM (in response to omatzura)Thanks for the hint.
Please suggest me how you have filled the Detail object of the exception. Specifically I would like to know which implementation class you have used.
Is it to possible for you to share some code snippet?