cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kai Rommel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-6507) WSRM 3.0 may store corrupted message
Date Thu, 23 Jul 2015 10:15:04 GMT
Kai Rommel created CXF-6507:
-------------------------------

             Summary: WSRM 3.0 may store corrupted message
                 Key: CXF-6507
                 URL: https://issues.apache.org/jira/browse/CXF-6507
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 3.0.5
            Reporter: Kai Rommel


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message