So recently I had to build a web service, and had a really hard time finding documentation or instructions on how to make web services work in Tomcat using the web service annotations from JSR 181 (@WebService, @WebMethod, @WebParam, etc). So I created this post as a way to help someone else in the same situation. I’m sure there are many ways to do this, but this is one way.
My goal was to create java files annotated with web service annotations and deploy the application to Tomcat, and just have everything magically work. I didn’t want to use the wsgen tool. I wanted it to work like it does in JBoss, Weblogic, and Glassfish, where you just deploy the application and the web service endpoints are created automatically.
Trending Articles
More Pages to Explore .....