I hope, this is the right place to write about a problem, which I have run into while using RESTeasy.
I am creating an EJB-service, to use as an adapter towards a partner REST-based web-service using the RE client-framework through ProxyFactory.create(interface, endpoint, clientExecutor)
When running it as a stand-alone application, everything works as intended. But when invoking the same method on the deployed EJB using RMI, I get an exception:
Caused by: org.jboss.remoting.InvocationFailureException: Unable to perform invocation; nested exception is:
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.jboss.resteasy.client.core.BaseClientResponse
(The call is made from a TestNG-testcase, hence the "Caused by:".)
This is on version 5.1 of JBoss SOA-P, which I believe uses RESTeasy version 1.2.1.GA_CP01.
Will updating RE to the latest version possibly solve this?
Any experiences on doing this, or suggestions on how to solve it, are most welcome.