cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: [CXF-6507] WSRm 3.0 may store corrupted messages
Date Fri, 24 Jul 2015 13:16:39 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 2d5182d71 -> b1ea93904


[CXF-6507] WSRm 3.0 may store corrupted messages


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/b1ea9390
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b1ea9390
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b1ea9390

Branch: refs/heads/master
Commit: b1ea9390417ad96fe7edb78d2f9a11c8a5c9e870
Parents: 2d5182d
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Fri Jul 24 15:15:33 2015 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Fri Jul 24 15:16:12 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b1ea9390/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
index 6fc3921..e12e412 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/RMCaptureOutInterceptor.java
@@ -32,6 +32,7 @@ import javax.xml.stream.XMLStreamWriter;
 
 import org.apache.cxf.Bus;
 import org.apache.cxf.binding.Binding;
+import org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor;
 import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.endpoint.Endpoint;
 import org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor;
@@ -224,7 +225,8 @@ public class RMCaptureOutInterceptor extends AbstractRMInterceptor<Message>
 {
     }
     private class CaptureEnd extends AbstractPhaseInterceptor<Message> {
         public CaptureEnd() {
-            super(Phase.POST_PROTOCOL);
+            super(Phase.WRITE_ENDING);
+            addAfter(SoapOutInterceptor.SoapOutEndingInterceptor.class.getName());
         }
 
         @Override


Mime
View raw message