servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r655218 - /servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/addressing/GreeterImpl.java
Date Sun, 11 May 2008 01:58:19 GMT
Author: ffang
Date: Sat May 10 18:58:19 2008
New Revision: 655218

URL: http://svn.apache.org/viewvc?rev=655218&view=rev
Log:
[SM-1342] CxfBcAddressingTest failed caused by cxf recent change

Modified:
    servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/addressing/GreeterImpl.java

Modified: servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/addressing/GreeterImpl.java
URL: http://svn.apache.org/viewvc/servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/addressing/GreeterImpl.java?rev=655218&r1=655217&r2=655218&view=diff
==============================================================================
--- servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/addressing/GreeterImpl.java
(original)
+++ servicemix/smx3/trunk/deployables/bindingcomponents/servicemix-cxf-bc/src/test/java/org/apache/servicemix/cxfbc/ws/addressing/GreeterImpl.java
Sat May 10 18:58:19 2008
@@ -16,6 +16,7 @@
  */
 package org.apache.servicemix.cxfbc.ws.addressing;
 
+import java.util.Map;
 import java.util.concurrent.Future;
 import java.util.logging.Level;
 import java.util.logging.Logger;
@@ -39,6 +40,7 @@
 import org.apache.hello_world_soap_http.types.SayHiResponse;
 import org.apache.hello_world_soap_http.types.TestDocLitFaultResponse;
 import org.apache.hello_world_soap_http.types.TestNillableResponse;
+import org.apache.servicemix.cxfbc.WSAUtils;
 
 import static org.apache.cxf.ws.addressing.JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_INBOUND;
 
@@ -112,8 +114,9 @@
     private void verifyMAPs() {
         if (context.getMessageContext() != null) {
             String property = SERVER_ADDRESSING_PROPERTIES_INBOUND;
-            AddressingProperties maps = (AddressingProperties)
-                context.getMessageContext().get(property);
+            AddressingProperties maps = WSAUtils
+                .getCXFAddressingPropertiesFromMap(
+                (Map<String, String>) context.getMessageContext().get(property));
             put(CxfBcAddressingTest.verifyMAPs(maps, this));
         }
     }



Mime
View raw message