Details
Description
After changing JiBX/WS to try out the StaXWriter, large response payloads were truncated after a couple of thousand lines.
The change I tried was in WsServletDelegate.getNormalWriter():
try
{ XMLOutputFactory ofact = javax.xml.stream.XMLOutputFactory.newInstance(); XMLStreamWriter wrtr = ofact.createXMLStreamWriter(m_response.getOutputStream()); return new StAXWriter(m_writer.getNamespaces(), wrtr); }catch (XMLStreamException e)
{ throw new IOException("Error creating writer " + e.getMessage()); }// return m_writer;
Activity
Dennis Sosnoski
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | JiBX 1.2 [ 14415 ] | |
| Assignee | Dennis Sosnoski [ dsosnoski ] | |
| Resolution | Cannot Reproduce [ 5 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
Nigel Charman
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
I've been unable to reproduce it too. Tried with and without xpp3, and with seismic example parameters as 1, 100