I have developed one web app make with Spring and JPA. I want to create a Web Service from one Spring Service of the app, but I not sure if this is possible .
Here is the basic code:
The persistence context:
The Spring Service Interface:
The persistence entity:
I try to make the *.aar file with eclipse axis2 plugin but when I try to request any service I get a NullPointerException maybe because getEntityManager return null.
The *.aar file contains all necessary lib.
This is the error in catalina.out:
Can someone help me with this. What is the error? Can I generate the Web Service from this code with eclipse axis2 plugin?
Or maybe need I used Spring "ServletEndpointSupport" ?
Any idea or any web reference.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com