JBoss Community

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

created by Viral Gohel in JBoss Web Services - View the full discussion

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

Start a new discussion in JBoss Web Services at Community