Hi, I'm developing a project using Hibernate + Spring + Java Web Service + Sun Application Server (Glassfish). My Hibnernate DAOs and Services work fine when I unit test them. I have a problem when I tried to test the web-service, all the DAOs that is being used by the web service that I'm calling is not being injected (hence I got null pointer exception). My question is: how to make Spring aware that it has to handle bean property injection when I am calling the web service?
Thanks in advance
My service code is as follows (using Java Web Service annotation to make it into a web service):