Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-2439

Wrong default SAAJMetaFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 8.0.0-M1
    • None
    • TomEE Core Server
    • None

    Description

      In javaee-api 8.0, the class javax.xml.soap.SAAJMetaFactory has a hardcoded default factory of "org.apache.axis2.saaj.SAAJMetaFactoryImpl". This class from javaee-api is getting invoked since JDK11 no longer includes javax.xml.soap.*.
      Ultimately, this causes problems for applications that use a native JAX-WS stack and don't include axis2 since TomEE itself does not either.

      This code should work more like the implementation in org.apache.openejb.server.webservices.saaj.SaajFactoryFinder, which figures out which factory to use based on what's available.

      Same issue with javax.xml.soap.SOAPConnectionFactory

      Attachments

        Activity

          People

            jgallimore Jonathan Gallimore
            pvarga Peter Varga
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: