cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-1545) DispatchOutDatabindingInterceptor apparently incorrectly using MessageFactory.createMessage() method
Date Wed, 23 Apr 2008 19:19:21 GMT
DispatchOutDatabindingInterceptor apparently incorrectly using MessageFactory.createMessage()
method
----------------------------------------------------------------------------------------------------

                 Key: CXF-1545
                 URL: https://issues.apache.org/jira/browse/CXF-1545
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.0.5, 2.1
            Reporter: Glen Mazza


On line 345 of DispatchOutDatabindingInterceptor[1] the no-parameter version of SAAJ's MessageFactory.createMessage()
is being called.  However Sun's SAAJ 1.3 implementation does not allow that variant--in com.sun.xml.messaging.saaj.soap.MessageFactoryImpl,
line 70, SAAJ will throw an UnsupportedOperationException() if you use that version.  Sun
requires the createMessage(MimeHeaders headers, InputStream in) version on line 79 of that
same file.  If I'm correct here, line 345 of this class needs to be rewritten to use this
version.

Version of SAAJ being used:

System.setProperty("javax.xml.soap.MessageFactory", "com.sun.xml.messaging.saaj.soap.MessageFactoryImpl");

Maven: (same as CXF):

		<dependency>
			<groupId>com.sun.xml.messaging.saaj</groupId>
			<artifactId>saaj-impl</artifactId>
			<version>1.3</version>
			<exclusions>
				<exclusion>
					<groupId>javax.activation</groupId>
					<artifactId>activation</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

[1] http://tinyurl.com/6pvjxv


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


Mime
View raw message