I did stumble upon a way to get a json (and/or xml) response...

1.) Make sure jettison 1.2 is available as a bundle in your osgi container
2.) For "org.apache.cxf.rs.provider" use
"org.apache.cxf.jaxrs.provider.AegisElementProvider,org.apache.cxf.jaxrs.provider.AegisJSONProvider"

Kind of odd since the normal JSONProvider did not work, yet
AegisJSONProvider that uses jettison also works. Not a huge fan of the way
these providers spit things out, but it works for now to get both xml and
json spitting out :)
-- 
View this message in context: 
http://old.nabble.com/DOSGi-and-JSON-responses-tp27330507p28414202.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to