You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/10/05 17:06:31 UTC

[jira] Resolved: (CXF-1545) DispatchOutDatabindingInterceptor apparently incorrectly using MessageFactory.createMessage() method

     [ https://issues.apache.org/jira/browse/CXF-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-1545.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2


Marking this as resolved as the DispatchOutDatabindingInterceptor and all the other Dispatch/Provider based stuff has been completely removed/re-written.

> 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
>             Fix For: 2.2.2
>
>
> 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.