Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6507

WSRM 3.0 may store corrupted message

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.0.6, 3.1.2
    • Component/s: WS-* Components
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      With CXF-4866 the 'CaptureEnd' interceptor was introduced.
      This interceptor is placed in the phase post-protocol.
      In my case the message was stored without the ending tags </soap:Body></soap:Envelope>
      These tags are written in the phase 'write-ending' by the interceptor 'SoapOutEndingInterceptor'.
      So placing the 'CaptureEnd' interceptor in the phase 'pre-stream-ending' solved the issue.

      Remark: This error occurred, because I used another parser than the woodstox parser. The woodstox parser has the property 'com.ctc.wstx.automaticEndElements'. When this parameter is set to true, message is stored with end tags.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ay Akitoshi Yoshida
                Reporter:
                kairo Kai Rommel
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: