Hello,

I have a JAXRS service described as:


When I try to invoke it using a client proxy, I get an error: /No message
body reader has been found for class : interface
javax.ws.rs.core.StreamingOutput, ContentType : application/pdf/ . When I
replace StreamingOutput by byte[] it works, but I would prefer to stream the
output as much as I can.

Do I need to register some JAXRS data provider? Looking at the
BinaryDataProvider source code, it should support the StreamingOuput class,
I tried something like the following without success:



What's wrong?

Gérald


Detailed stack trace:




--
View this message in context: 
http://cxf.547215.n5.nabble.com/JAXRS-Client-proxy-and-StreamingOutput-tp5748764.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to