You could likely just mimic what the AbstractInvoker does in your interceptor.  
Something like:


message.put(FaultMode.class, FaultMode.CHECKED_APPLICATION_FAULT);
throw new Fault(ex);


Dan



On Aug 13, 2014, at 2:04 PM, New Groovy <[email protected]> wrote:

> Hi,
> 
> If the code in our SOAP services throw an exception, we get an exception
> returned.
> 
> However, we have an In interceptor that runs in PRE_INVOKE, that needs to
> also return an exception.
> 
> However, throwing it from there results in a SOAPFaultException for the
> caller, and there doesn't seem to be a way to retrieve the underlying
> exception.
> 
> Is there a way to do this?
> 
> Thanks!

-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to