Hi, I tried using JAX-RS services on SMX4 based on this article:
http://rjrojas.blogspot.com/2008/09/restful-web-services-using-iona-fuse.html It works, but it seems that CXF is ignoring HTTP request's Accept header (I'm using it to choose between XML and JSON representations). It seems that OsgiServlet in the cxf-transport-osgi module isn't forwarding the header. I tried adding this to the invokeDestination method: inMessage.put(Message.ACCEPT_CONTENT_TYPE, request.getHeader("Accept")); and that fixed the problem. Regards, Ivan -- View this message in context: http://www.nabble.com/SMX4-and-CXF-JAX-RS-RESTful-services-tp20384222p20384222.html Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
