I am throwing the WebApplicationException() in my handleMessage method. I am
not throwing a Fault.
My Interceptor
public class MyLoginInInterceptor extends AbstractPhaseInterceptor<Message>
{
public MyLoginInInterceptor() {
super(Phase.PRE_LOGICAL);
}
public void handleMessage(Message message) throws Fault {
throw new WebApplicationException();
}
}
--
View this message in context:
http://cxf.547215.n5.nabble.com/Custom-Response-from-handleFault-JAX-RS-tp5738651p5738717.html
Sent from the cxf-user mailing list archive at Nabble.com.