I have problem with AxiomSoapMessageFactory payloadCaching=false.
Spring config is simple as this:
I'm not using any kind of interceptors.
Actual ws end point extends AbstractStaxStreamPayloadEndpoint but the request doesn't get that far.
I get exception "com.sun.jdi.InvocationException occurred invoking method." when trying to invoke the web service in method org.springframework.ws.soap.axiom.AxiomSoapEnvelope.getBody().
Line 59 SOAPBody axiomBody = getAxiomEnvelope().getBody(); fails some how and the OMException on line 71 is catched. This leads to:
"Nested in org.springframework.ws.soap.axiom.AxiomSoapMessage Exception: Could not write message to OutputStream: problem accessing the parser. Parser already accessed!; nested exception is javax.xml.stream.XMLStreamException: problem accessing the parser. Parser already accessed!:
java.lang.IllegalStateException: Parser already accessed! "
I am running spring ws v.1.5.5 and spring core 2.5.6.
Everything works fine if payloadCaching is true.
Is this a bug? There is a resolved Jira that looks much the same: id