2 Replies Latest reply on May 20, 2013 2:42 PM by Nick Scavelli

    org.apache.cxf.jaxrs.client.WebClient errors in Java GateIn Portlet

    Ashok Singh Newbie

      I keep on getting "null pointer exceptions" using org.apache.cxf.jaxrs.client.WebClient to invoke REST services. I am using GateIn 3.5.0 / JBoss AS 7. I think the problems are due to class conflicts with the CXF modules bundled with JBoss AS 7; these problems do not occur under Tomcat and JBoss AS 4

      I also tried the Jersey client, that too fails due to class conflicts with 'javax.ws.rs... modules'.

       

      I appreciate any workarounds or other options to invike REST services from Java Portlets running on GateIn 3.5.0 / JBoss AS 7.