Nuxeo NuxeoRemotingService Issue
I am calling NuxeoRemotingService. I have tested it with several clients including Nuxeo JAX-WS Nuxeo preferred client. I have also tested it with JAX-RPC and Axis client. In all the clients I am able to call the getUsers method and get a perfect response; but whenever I try to call their getDocument methods that return DocumentDescriptor I get the following exception:
Exception in thread “main” org.nuxeo.ecm.platform.ws.ClientException_Exception: Failed to get document da8166eb-86fe-42de-9694-601a20c43a28
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:113)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:240)
at com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy30.getDocument(Unknown Source)
at redmath.recm.driver.Driver.main(Driver.java:25)
Thats the exception when I called the method like this:
DocumentDescriptor myDocumentDescriptor = myNuxeRemotingInterface.getDocument(sessionId, “da8166eb-86fe-42de-9694-601a20c43a28”);
I got the above exception when I generated the JAX-WS client using jaxws-maven-plugin.
I followed Nuxeo 5.5 following tutorial: http://doc.nuxeo.com/display/NXDOC/Building+a+SOAP-based+WebService+client+in+Nuxeo
Please help me out I cannot use NuxeoRemotingService webservice.
And the Nuxeo server side giving the following exception:
2012-04-20 10:56:47,920 WARN [org.nuxeo.ecm.core.api.TransactionalCoreSessionWrapper] Session invoked in a container without a transaction active java.lang.Throwable
I wonder if its the fault from webservice client or nuxeo webservice. I dont think its a fault from the client side as I've tested the webservice with several client including nuxeo preferred JAX-WS client.