Hi, I have a webservice exposed the ejb method using JAXWS implementation. I would like to test it outside the server as part of the build process using testNG.
I have able to test EJB using jboss embedded EJB3 container without any issue. I have also able to test the POJO webservice uisng CXF container without any issue. The issue came out when I try to put those two together. I basically can not test both at the same time. Basically, I can not found the container which can host both EJB and JAXWS. Since in my case I need EJB container to inject the persistent manager and other resource input my webservice implementation class.
Please let me know if there is a good way to test it.