[jboss-user] [JBoss Web Services] - Re: ClassCastException using CXF 2.7.0 JAX-RS Client in JBoss AS7

Viral Gohel do-not-reply at jboss.com
Mon Apr 8 23:57:37 EDT 2013


Viral Gohel [https://community.jboss.org/people/vrlgohel] created the discussion

"Re: ClassCastException using CXF 2.7.0 JAX-RS Client in JBoss AS7"

To view the discussion, visit: https://community.jboss.org/message/807108#807108

--------------------------------------------------------------
Hi Vinod, 

This depends on the namespaces configured in module.xml for jax-rs and cxf.
For example, in $JBOSS_HOME/modules/org/apache/cxf/main/module.xml, the xmlns points to  'urn:jboss:module:1.1', then you would need to have the same in your jboss-deployment-structure.xml.

Like this, <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">.



Can you please try this out and let me know the results ?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/807108#807108]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130408/21af93c5/attachment.html 


More information about the jboss-user mailing list