cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: CXF 3.0.3 - org.apache.cxf.interceptor.Fault: No message body writer has been found for class org.apache.cxf.jaxrs.ext.multipart.MultipartBody, ContentType: multipart/form-data
Date Tue, 23 May 2017 13:07:02 GMT
And I was the one who said that code was just fine :-)

Cheers, Sergey
On 23/05/17 13:52, nicolasduminil wrote:
> Sergehei,
> 
> I feel like a dork. My InputStream was instantiated in a try-with-resource
> statement while the POST was done outside it, meaning that the stream, which
> was the resource, was closed, this being the purpose even of
> try-with-resource. Doing things correctly, for example with a try ... catch,
> works as expected, of course.
> 
> I'm really sorry for all this trouble.
> 
> Many thanks again, to you and Dennis, for your help.
> 
> Kind regards,
> Nicolas
> 
> 
> 
> --
> View this message in context: http://cxf.547215.n5.nabble.com/CXF-3-0-3-org-apache-cxf-interceptor-Fault-No-message-body-writer-has-been-found-for-class-org-apacha-tp5780611p5780637.html
> Sent from the cxf-user mailing list archive at Nabble.com.
> 

Mime
View raw message