Re: Throwing faults from within an Interceptor

2007-11-27 Thread Christian Vest Hansen
r.CoyoteAdapter.service(CoyoteAdapter.java:2 > > 41) > > at > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84 > > 4) > > at > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce > > ss(Http11Protocol.java:5

RE: Throwing faults from within an Interceptor

2007-11-27 Thread Liu, Jervis
4 > To: cxf-user@incubator.apache.org > Subject: Re: Throwing faults from within an Interceptor > > Following is a log-snip at level FINE. The SSOInterceptor is my > fault-trowing interceptor that throws an OperationNotAllowedFault > wrapped in a CXF Fault object. > > I notic

Re: Throwing faults from within an Interceptor

2007-11-27 Thread Christian Vest Hansen
日 18:36 > > To: cxf-user@incubator.apache.org > > Subject: Re: Throwing faults from within an Interceptor > > > > Hello Jervis. > > > > > Make sure the exception thrown from your interceptor is declared as an > > exception on the operation being invoked &

RE: Throwing faults from within an Interceptor

2007-11-26 Thread Liu, Jervis
> -Original Message- > From: Christian Vest Hansen [mailto:[EMAIL PROTECTED] > Sent: 2007年11月26日 18:36 > To: cxf-user@incubator.apache.org > Subject: Re: Throwing faults from within an Interceptor > > Hello Jervis. > > > Make sure the exception thrown fro

Re: Throwing faults from within an Interceptor

2007-11-26 Thread Christian Vest Hansen
Hello Jervis. > Make sure the exception thrown from your interceptor is declared as an > exception on the operation being invoked It is. It is declared to be thrown in the WSDL and on my implementation methods. > was the MyFault class generated by wsdltojava? does it have the WebFault > annota

RE: Throwing faults from within an Interceptor

2007-11-26 Thread Liu, Jervis
Hi, it is possible to throw a checked Exception from CXF interceptors. Make sure the exception thrown from your interceptor is declared as an exception on the operation being invoked, otherwise this exception will not be recognized as a checked Exception. Also was the MyFault class generated by