[jboss-dev-forums] [JBoss AS 7 Development] - Re: Apache CXF and RESTful web services...

Dennis Kieselhorst do-not-reply at jboss.com
Thu Nov 29 09:05:03 EST 2012


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&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20121129/417f9180/attachment-0001.html 


More information about the jboss-dev-forums mailing list