I was trying to wrote a servlet as the client of my web service, but got some problem with the jndi.
I declared the service-ref in web.xml as following:
But I constantly got the following error when trying to get my service interface in the servlet via jndi
javax.servlet.ServletException: Name service is not bound in this Context
Anyone could help on this?
I simply used the following code to do the lookup:
Did I miss anything here?
btw, I'm using Tomcat 5.0.19 and Axis 1.1