0 Replies Latest reply on Jun 15, 2017 12:36 PM by Dani

    Rest-api-client Problem




      I am triyng to use the rest-api-client plugin with a rest application. My rest service has been working fine for two years.  But now I have changed the user service plugin and i want to use the rest-api-client.  I added the 1.1.3 library to my pom.xml and when I try to execute the restApiClient.createUser(userEntity) sentence, the jboss shows this exception


      21:21:13,246 ERROR [stderr] (default task-2) Caused by: javax.ws.rs.ProcessingException: RESTEASY003215: could not find writer for content-type application/xml type: org.igniterealtime.restclient.entity.UserEntity



      21:21:13,246 ERROR [stderr] (default task-2) at org.jboss.resteasy.core.interception.ClientWriterInterceptorContext.throwWriter NotFoundException(ClientWriterInterceptorContext.java:40)



      21:21:13,246 ERROR [stderr] (default task-2) at org.jboss.resteasy.core.interception.AbstractWriterInterceptorContext.getWriter (AbstractWriterInterceptorContext.java:140)


      I am using jboss eap 7, java 8, maven and openfire 4


      Can someone help me?


      Thanks in advance!