The java.xml.ws module was removed from JDK 11. If your Liberty server.xml configuration
file includes the jaxws-2.2 feature, no further action is required.
This rule flags packages that might require additional configuration when migrating to JDK 11 or later. Before JDK 11, applications had access to the following packages from the JDK:
javax.jwsjavax.jws.soapjavax.xml.soapjavax.xml.wsjavax.xml.ws.handlerjavax.xml.ws.handler.soapjavax.xml.ws.httpjavax.xml.ws.soapjavax.xml.ws.spijavax.xml.ws.spi.httpjavax.xml.ws.wsaddressing
Starting with JDK 11, those packages are no longer available as part of the JDK. Applications can access
those packages in Liberty by adding the jaxws-2.2 Liberty feature to the server.xml configuration file.
This rule will flag once per application. After the jaxws-2.2 feature is added to the server.xml file, no further action is required.
Note: If you are running in a client container, then no change to the server.xml file is necessary.
In addition to the java.xml.ws module module being removed from the JDK, the wsgen and the
wsimport tools were removed from JDK 11 as well.
These tools are available in the Liberty bin/jaxws directory of the Liberty installation.
For more information on JDK 11 changes, see Removal of Java EE and CORBA Modules.