Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-282

SOAP envelope output to XMLStreamWriter is omitting a required flush operation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.3.0.BETA2
    • 4.2.3.SP5
    • XTS
    • None

      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.

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: