Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4228

SAAJ test cases no longer work with IBM's SDK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.6.0
    • saaj
    • None

    Description

      In rev. 733910, the introduction of the custom test runners broke the tests when the tests are built with IBM's JDK.

      The paths to the following factories are different for IBM:

      System.setProperty("javax.xml.soap.MessageFactory",
      "com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl");
      System.setProperty("javax.xml.soap.SOAPFactory",
      "com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl");
      System.setProperty("javax.xml.soap.SOAPConnectionFactory",
      "com.sun.xml.messaging.saaj.client.p2p.HttpSOAPConnectionFactory");
      System.setProperty("javax.xml.soap.MetaFactory",
      "com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl");

      The simple fix is to properly set these system properties when using IBM's JDK.

      Attachments

        Activity

          People

            woodroy Roy Wood
            woodroy Roy Wood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: