cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r774496 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/context/WrappedMessageContext.java
Date Wed, 13 May 2009 19:18:23 GMT
Author: dkulp
Date: Wed May 13 19:18:17 2009
New Revision: 774496

URL: http://svn.apache.org/viewvc?rev=774496&view=rev
Log:
Broke a test

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

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/context/WrappedMessageContext.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/context/WrappedMessageContext.java?rev=774496&r1=774495&r2=774496&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/context/WrappedMessageContext.java
(original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/context/WrappedMessageContext.java
Wed May 13 19:18:17 2009
@@ -378,7 +378,7 @@
         } else if (MessageContext.HTTP_REQUEST_HEADERS.equals(key)) {
             ret = message.put(Message.PROTOCOL_HEADERS, value);
         } else if (SoapBindingConstants.SOAP_ACTION.equals(mappedKey)
-            && !isRequestor()) {
+            && !isRequestor() && exchange != null) {
             Message tmp = createResponseMessage();
             if (tmp != null) {
                 tmp.put(mappedKey, value);



Mime
View raw message