I'm been trying to deployed a simple web service on
tomcat, but I have not success and it always return me 404 error.
I used the codes from this example
http://www.mkyong.com/webservices/jax-ws/deploy-jax-ws-web-services-on-tomcat/
But not able to use the war, as I have context info set up in server.xml
So I use the same codes as mkyong, but deploy it with the steps on
how to manually deploy a web service on tomcat 6?
I work on it until there is no more error in the catalina.log, still I got 404 error
When I look at the log, there are some messages like this
Mar 1, 2013 1:56:07 PM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
Mar 1, 2013 1:56:08 PM com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS
servlet initializing
Mar 1, 2013 1:56:08 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 1, 2013 1:56:09 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Mar 1, 2013 1:56:09 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/65 config=null
Mar 1, 2013 1:56:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 25709 ms
So my ws is set up right? But I'm really out of clue why it is still not working, is there any other log I can check or places I need to set up to have the ws running? Is there any port setting I need to do? I try to view it like
http://www.xyx.com/HelloWorld/hello, rather than localhost:8080? Is it the problem?
Thank you for your time,
Dolly