Do you do a single write with
mapper.writeValue(writer.getEntityStream(), result);
Can you also write it to stdout to check ?
If you do multiple writes then use Writer to wrap it all as an array
SErgey
On 24/07/15 17:33, Benson Margulies wrote:
Registering it got it to 'work', but the
Register org.apache.cxf.jaxrs.provider.StreamingResponseProvider,
StreamingResponse is a CXF extension hence it is not supported by default,
Cheers, Sergey
On 24/07/15 17:16, Benson Margulies wrote:
When this gets called, the result on the wire is:
No message body writer has been found for
Registering it got it to 'work', but the resulting Json is garbled;
it's json, but part of it is repeated inside of itself in a way that I
can't explain. I'm going to retreat to StreamOutput and see what I
see.
On Fri, Jul 24, 2015 at 10:21 AM, Sergey Beryozkin sberyoz...@gmail.com wrote:
On Fri, Jul 24, 2015 at 10:40 AM, Sergey Beryozkin sberyoz...@gmail.com wrote:
Do you do a single write with
mapper.writeValue(writer.getEntityStream(), result);
Can you also write it to stdout to check ?
It's my problem. I just traced it down.
If you do multiple writes then use Writer to