`I am migrating a web application from Java8/Tomcat8 (J8T8) to Java11/Tomcat10 (J11T10). I have a handful of integrations with other systems that utilize SOAP/REST. Needless to say, this has been a journey. I've worked through several road blocks and have done the following so far:
- Modified source code replacing "javax." with "jakarta."
- Used eclipse migration tool to convert 3rd party jar byte code from "javax." to "jakarta."
- Used maven plug-ins to invoke wsgen and wsimport on @WebService classes.
The latter leads leads to the main issue.
I am unable to find an example use of @WebService that makes exclusive use of jakarta packages, and is void of any use of, or dependency on, javax packages. With (J8T8) I use web.xml and sun-jaxws.xml to declare listeners that bind a URL to an implementation. With (J11T10) the listener class is no longer available, but all the literature states that annotations are all that is required to achieve binding. There are a plethora of examples of @WebServlet that are exclusively jakarta, but I've been searching for @WebService, and "javax" keeps showing up. My prototype is simple - but it doesn't respond. (Code to follow, as soon as I figure out how to format it)