axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] Commented: (AXIS2-4228) SAAJ test cases no longer work with IBM's SDK
Date Mon, 02 Feb 2009 18:44:00 GMT


Andreas Veithen commented on AXIS2-4228:

The factory implementations are all provided by com.sun.xml.messaging.saaj:saaj-impl:1.3.2
(added in scope test in the POM file), and not the JDK (they are not even present on Sun's
JDK). How do you run the tests? Using Maven or using an IDE?

> SAAJ test cases no longer work with IBM's SDK
> ---------------------------------------------
>                 Key: AXIS2-4228
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: saaj
>            Reporter: Roy A. Wood Jr.
>            Assignee: Roy A. Wood Jr.
> 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.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message