cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1524109 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/context/WrappedMessageContext.java
Date Tue, 17 Sep 2013 16:01:12 GMT
Author: dkulp
Date: Tue Sep 17 16:01:12 2013
New Revision: 1524109

URL: http://svn.apache.org/r1524109
Log:
Fix TCK failure.  TCK doesn't like the HTTP method being available on the client side.

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=1524109&r1=1524108&r2=1524109&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
Tue Sep 17 16:01:12 2013
@@ -197,6 +197,9 @@ public class WrappedMessageContext imple
     public Object get(Object key) {
         String mappedkey = mapKey((String)key);
         Object ret = message.get(mappedkey);
+        if (MessageContext.HTTP_REQUEST_METHOD.equals(key) && isRequestor()) {
+            return null;
+        }
         if (ret == null) {
             if (Message.class.getName().equals(mappedkey)) {
                 return message;
@@ -298,6 +301,7 @@ public class WrappedMessageContext imple
                 ret = reqMessage.get(mappedkey);
             }
         }
+        System.out.println(key + ": " + ret);
         return ret;
     }
     



Mime
View raw message