Message content empty after getContent

2015-10-21 Thread behowar
I have an interceptor that takes the payload from a REST service and processes it in the handleMessage. After processing the chain continues and enters into the actual web service business logic. When i use getContent, the request data is coming to the business logic empty. public class LogWriter

Re: CXF Spring interceptors without web.xml

2015-10-21 Thread behowar
I was able to figure this out. JAXRSServerFactoryBean factory = RuntimeDelegate.getInstance() .createEndpoint( jaxRsApiApplication() , JAXRSServerFact

Re: CXF Spring interceptors without web.xml

2015-10-19 Thread behowar
Can this be accomplished using only Java code? If I create a class for the interceptor and register it,is this the proper way to do it using all Java code. Example: I want to log a request, then execute the service code. Would my setup be: 1) create the Interceptor class 2) context register( c