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

Reply via email to