[JBoss JIRA] Created: (JBTM-282) SOAP envelope output to XMLStreamWriter is omitting a required flush operation
by Andrew Dinn (JIRA)
SOAP envelope output to XMLStreamWriter is omitting a required flush operation
------------------------------------------------------------------------------
Key: JBTM-282
URL: http://jira.jboss.com/jira/browse/JBTM-282
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WS-T Implementation
Affects Versions: 4.2.3.SP5
Reporter: Andrew Dinn
Assigned To: Andrew Dinn
Priority: Minor
Fix For: 4.4
Class SoapMessageBase.output() uses an XMLStreamWriter to write a SOAP envelope to a Writer supplied by its callerr. After writing the envelope it omits a flush on the XMLStreamWriter. When the caller flushes and closes its writer some of the envelope data may still be buffered by the XMLStreamWriter and hence may not be pushed through the caller's stream.
n.b. this only manifests when the STAX lib is upgraded from the current implementtaion which uses an nbuffreed XMLStreamWriter to a later version which uses a buffered XMLStreamWriter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 2 months