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 com.oasis.scjdws.HelloServlet.doGet(HelloServlet.java:26) javax.servlet.http.HttpServlet.service(HttpServlet.java:743) javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Anyone could help on this?
Henry Zheng<br /> <br />I went numb when I learned to see.
Are you sure that the service-ref element is supported by Axis? Its really a J2EE 1.4 thing, so i don't think that Axis would support it - it would only be used by J2EE 1.4 compliant appllication servers. I think that is the problem - you would probably have better luch with the J2EE 1.4 SDK (if you can get it working ... I have a terrible time with myself)