XML Web Services prior to 4.0 provides the deprecated SOAPElementFactory class, which is removed in XML Web Services 4.0. The recommended replacement is to use jakarta.xml.soap.SOAPFactory to create SOAPElements.
The recommended replacements for the methods of SOAPElementFactory are:
SOAPElementFactory.create(Name) is replaced with SOAPFactory.createElement(Name)SOAPElementFactory.create(String) is replaced with SOAPFactory.createElement(String)SOAPElementFactory.create(String, String, String) is replaced with SOAPFactory.createElement(String, String, String)SOAPElementFactory.newInstance() is replaced with SOAPFactory.newInstance()See the Jakarta EE 9.1 documentation for more information about the replacement for this removed class.
For more Jakarta 10 migration information, see Differences between Jakarta XML Web Services 4.0 and 3.0.
This rule has an automated fix to replace SOAPElementFactory. Copy the custom configuration to your application build file to enable the fix automation.