Hi It looks like the issue is caused either by the fact that CGLIB is being used on the client side or by Spring adding a proxy wrapper (@Transactional) or by the combination of both factors. I'd appreciate you helping me with narrowing down the cause and I'll then fix it before 2.2.9 gets released as I'm short of time right now. So please try first : - create a HelloService interface and then move @Path and @GET annotations to that interface - this should result in no CGLIB involved; try with/without @Transactional
thanks, Sergey On Mon, May 31, 2010 at 2:48 PM, vanyatka <[email protected]> wrote: > > Well, registering exception mapper didn't make the issue go away: > > @Provider > public class DefaultExceptionMapper implements ExceptionMapper<Throwable> { > private final static Logger log = > LoggerFactory.getLogger(DefaultExceptionMapper.class); > private final static String DEFAULT_ERROR_CODE = "999"; // TODO > public Response toResponse(Throwable t) { > return > > Response.status(Status.INTERNAL_SERVER_ERROR).entity(dto).type("application/xml").build(); > } > > > As well as upgrating cxf to version 2.2.7 :-) > > > vanyatka wrote: > > > > > > Also, let me mention that no jaxrs:providers are registered for > > jaxrs:server > > > > > > Sergey Beryozkin-5 wrote: > >> > >> What is the signature of the method in "endpoint.HelloWorldEndpointImpl" > >> which is being tested ? > >> How does the stack trace look like and what CXF version you're using ? > >> cheers, Sergey > >> > > > > > > -- > View this message in context: > http://old.nabble.com/ClassCastException-prevents-thorough-endpoint-testing-tp28719118p28731178.html > Sent from the cxf-user mailing list archive at Nabble.com. > >
