I deployed the WAR by copying it to \tomcat50-jwsdp\webapps I tried accessing http://localhost:8080/hello-jaxrpc/hello like the instructions said but there was an error: The requested resource (/hello-jaxrpc) is not available.
I think there is no available for that context root (MyHelloService). So whatever you request using that context root, the application server will show error message.
Because of this is example of using JAX-RPC, you should build client class that using that to access class inside server side. And I think that client class is supplied with that tutorial.
Correct me if I am wrong...
Joined: Feb 27, 2004
I got it to work by following earlier javatutorial... by using wsdeploy, converting portable.war to the final war it creates the correct web.xml that has a servlet entry with class com.sun.xml.rpc.server.http.JAXRPCServlet So when I access /hello, it works...
On the 1.4 tutorial, it says
You can package and deploy the service using either deploytool or asant.
I tried using deploytool but the war cannot be deployed to another server. It cannot also be deployed to the j2ee1.4 server. There was a problem in the username/password I think...
subject: Difficulty with j2ee tutorial helloservice RPC sample