Axis2
  1. Axis2
  2. AXIS2-4228

SAAJ test cases no longer work with IBM's SDK

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: saaj
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Roy A. Wood Jr.
            Reporter:
            Roy A. Wood Jr.
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development