I'm using CXF with JAXRS and XmlBeans. I had been testing my rest service with contentType=application/xml and it works. Then someone tested it with contentType=text/xml and got a 415 http code.
I looked at http://svn.apache.org/repos/asf/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/XMLBeansElementProvider.java It looks like the provider only deals with application/xml. I've created a custom implementation the consumes and produces "application/xml", "application/*+xml", "text/xml". Is there a reason that this provider only serves application/xml and I should be using something else? Or is it a bug? -- View this message in context: http://cxf.547215.n5.nabble.com/XmlBeans-with-contentType-text-xml-doesn-t-work-tp3308350p3308350.html Sent from the cxf-user mailing list archive at Nabble.com.
