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.

Reply via email to