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;
I've been unable to reproduce it too. Tried with and without xpp3, and with seismic example parameters as 1, 100