You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2008/04/23 21:19:21 UTC
[jira] Created: (CXF-1545) DispatchOutDatabindingInterceptor
apparently incorrectly using MessageFactory.createMessage() method
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.