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)The static method SOAPElementFactory.newInstance() is removed without replacement. 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.