cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1376925 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java
Date Fri, 24 Aug 2012 14:13:21 GMT
Author: dkulp
Date: Fri Aug 24 14:13:20 2012
New Revision: 1376925

URL: http://svn.apache.org/viewvc?rev=1376925&view=rev
Log:
If provider flips to one-way, set the out message to null as well to prevent it from trying
to send an out message.

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java?rev=1376925&r1=1376924&r2=1376925&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/JAXWSMethodInvoker.java
Fri Aug 24 14:13:20 2012
@@ -87,6 +87,7 @@ public class JAXWSMethodInvoker extends 
 
     private void changeToOneway(Exchange exchange) {
         exchange.setOneWay(true);
+        exchange.setOutMessage(null);
         javax.servlet.http.HttpServletResponse httpresp = 
             (javax.servlet.http.HttpServletResponse)exchange.getInMessage().
                 get("HTTP.RESPONSE");



Mime
View raw message