You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Sergey Beryozkin <se...@iona.com> on 2007/02/01 10:49:30 UTC

Patch for JIRA https://issues.apache.org/jira/browse/CXF-398

Hi

Resending the message describibng the patch under the more appropriate subject

https://issues.apache.org/jira/browse/CXF-398

Summary of changes as listed in that Jira issue :

* org.apache.cxf.binding.xml.XMLBindingFactory updated to add AttachmentInInterceptor to created bindings 
* org.apache.cxf.jaxws.ProviderChainObserver.onMessage() adds AttachmentInInterceptor unless Provider's type parameter is DataSource or SourceMessage 
* org.apache.cxf.jaxws.support.ContextPropertiesMappping converts Message.getAttachments into Map<String, DataHandler> as per JAXWS spec 
* org.apache.cxf.jaxws.interceptors.DispatchInInterceptor skips GET requets 
* org.apache.cxf.jaxws.interceptors.DispatchOutInterceptor closes DataSource input stream after copying the data to output stream 
* org.apache.cxf.jaxws.transports.http.JettyHTTPDestination updated not to duplicate response Content-Type and honour Content-Type property if set in Provider implementations 
* Updated org.apache.cxf.jaxb.io.XMLMessageDataReader to try to read even if InputStream.available() shows 0, as it's not a reliable indication that the stream can not fetch more data

Tests added

More details can be found in the issue's comments

Please apply the patch once it's evaluated

Thanks, Sergey