Dennis Kieselhorst [
https://community.jboss.org/people/kieselhorst] created the
discussion
"Re: Apache CXF and RESTful web services..."
To view the discussion, visit:
https://community.jboss.org/message/779129#779129
--------------------------------------------------------------
I'd also like to use CXF as JAX-RS provider and tried to exclude Resteasy in
jboss-deployment-structure.xml as follows:
<module name="org.jboss.resteasy.resteasy-atom-provider"/>
<module name="org.jboss.resteasy.resteasy-cdi"/>
<module name="org.jboss.resteasy.resteasy-jaxrs"/>
<module name="org.jboss.resteasy.resteasy-jaxb-provider"/>
<module name="org.jboss.resteasy.resteasy-jackson-provider"/>
<module name="org.jboss.resteasy.resteasy-jsapi"/>
<module name="org.jboss.resteasy.resteasy-multipart-provider"/>
<module name="org.jboss.resteasy.async-http-servlet-30"/>
Unfortunately this doesn't work:
Caused by: java.lang.ClassCastException: org.jboss.resteasy.core.ServerResponse cannot be
cast to org.apache.cxf.jaxrs.impl.ResponseImpl
at org.apache.cxf.jaxrs.client.WebClient.handleResponse(WebClient.java:975)
... 61 more
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/779129#779129]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]