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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.2.3.SP5
    • Fix Version/s: 4.3.0.BETA2
    • Component/s: XTS
    • Labels:
      None

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adinn Andrew Dinn
                Reporter:
                adinn Andrew Dinn
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: