I'm not too sure about using JNDI on the client side. If you are using client code in a J2EE application, running on Tomcat, then you should be able to specify a JNDI resource, in the Tomcat configuration, that defines a stub class (or factory class) for your web service stub. But if your client is not a J2EE application, I don't know how you'd locate a JNDI service that has a binding for a stub or factory class. In this case, stick with creating a locator instance yourself.

Tony

Reply via email to