cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r726106 - in /cxf/branches/2.1.x-fixes: ./ rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/DispatchOutDatabindingInterceptor.java
Date Fri, 12 Dec 2008 20:08:31 GMT
Author: gawor
Date: Fri Dec 12 12:08:30 2008
New Revision: 726106

URL: http://svn.apache.org/viewvc?rev=726106&view=rev
Log:
Merged revisions 726100 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r726100 | gawor | 2008-12-12 14:57:42 -0500 (Fri, 12 Dec 2008) | 1 line
  
  respect content type of data source
........

Modified:
    cxf/branches/2.1.x-fixes/   (props changed)
    cxf/branches/2.1.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/DispatchOutDatabindingInterceptor.java

Propchange: cxf/branches/2.1.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.1.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/DispatchOutDatabindingInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.1.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/DispatchOutDatabindingInterceptor.java?rev=726106&r1=726105&r2=726106&view=diff
==============================================================================
--- cxf/branches/2.1.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/DispatchOutDatabindingInterceptor.java
(original)
+++ cxf/branches/2.1.x-fixes/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/DispatchOutDatabindingInterceptor.java
Fri Dec 12 12:08:30 2008
@@ -282,6 +282,7 @@
                         message.put(AttachmentOutInterceptor.WRITE_ATTACHMENTS, Boolean.TRUE);
                         new AttachmentOutInterceptor().handleMessage(message);
                     }
+                    message.put(Message.CONTENT_TYPE, dataSource.getContentType());
                     OutputStream os = message.getContent(OutputStream.class);
                     doTransform(dataSource, os);
                     os.flush();



Mime
View raw message