Java Web Services
Steps for providing and consuming a web service with Java web services development pack.
Provide- Write and compile .jws file, place in (move to) the correct folder and access with a web browser
- Download wsdl file from .jws file in browser, run wsdl2java on it
- Find .java files generated by wsdl2java; compile them and move the .class files generated into Tomcat\axis\WEB-INF\classes… folder
- Write html page that POSTs to servlet file; place in servlet folder
- Write servlet file that extends HTTPServlet; compile and place in servlet\WEB-INF\classes\package…
- Place axis libraries in the lib folder in servlet\WEB-INF
◙ Have J2EE listen on port 8080 and Tomcat listen on 80.
◙ Double check spelling!!!

Trackbacks
Use the following link to trackback from your own site:
/blog/articles/trackback/36
