Hi Christian,

I can reproduce with the following step in Karaf 4.0.8 :

1. Set karaf.framework=equinox in etc/config.properties
2. ./karaf clean
3. feature:install gemini-blueprint
4. feature:install cxf-dosgi-core
5. Install  cxfdemo.jar
<http://cxf.547215.n5.nabble.com/file/n5780483/cxfdemo.jar>   bundle.
6. Hit the REST service with the following request:

POST http://<Your IP>:<Your Port>/services/rest/cxfservice/sayName HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/xml
Accept: text/plain
Content-Length: 81
Host: localhost:8181
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

<name>
  <firstName>Foo</firstName>
  <lastName>Bar</lastName>
</name>

7. The response would be:

HTTP/1.1 415 Unsupported Media Type
Date: Sat, 13 May 2017 14:29:03 GMT
Date: Sat, 13 May 2017 14:29:03 GMT
Content-Length: 0
Server: Jetty(9.2.19.v20160908)

8. Do the same with karaf.framework=felix -> Success.

Thanks & Regards,
SetNug




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Gemini-Blueprint-and-JAX-RS-tp5780238p5780483.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to