cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r541147 - /incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java
Date Thu, 24 May 2007 04:06:33 GMT
Author: gawor
Date: Wed May 23 21:06:32 2007
New Revision: 541147

URL: http://svn.apache.org/viewvc?view=rev&rev=541147
Log:
close() not always called on client-side handlers (bugfix CXF-679, thanks Jeff)

Modified:
    incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java

Modified: incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java?view=diff&rev=541147&r1=541146&r2=541147
==============================================================================
--- incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java
(original)
+++ incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/SOAPHandlerInterceptor.java
Wed May 23 21:06:32 2007
@@ -128,9 +128,12 @@
         if (!invoker.invokeProtocolHandlers(isRequestor(message), context)) {
             handleAbort(message, context);
         } 
-
-        //If this is the outbound and end of MEP, call MEP completion
-        if (isOutbound(message) && isMEPComlete(message)) {
+        
+        // If this is the outbound and end of MEP, call MEP completion
+        if (isRequestor(message) && invoker.getLogicalHandlers().isEmpty() 
+            && !isOutbound(message) && isMEPComlete(message)) {
+            onCompletion(message);
+        } else if (isOutbound(message) && isMEPComlete(message)) {
             onCompletion(message);
         }
     }



Mime
View raw message