Fix cast error on 2.7.x branch

Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/039ede86
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/039ede86
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/039ede86

Branch: refs/heads/2.7.x-fixes
Commit: 039ede868b7adb4e60228cbade36343256583e06
Parents: 77e03ad
Author: Daniel Kulp <[email protected]>
Authored: Tue Apr 15 16:31:29 2014 -0400
Committer: Daniel Kulp <[email protected]>
Committed: Tue Apr 15 16:31:29 2014 -0400

----------------------------------------------------------------------
 .../systest/schema_validation/ValidationClientServerTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/039ede86/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
----------------------------------------------------------------------
diff --git 
a/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
 
b/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
index 3dfb0a9..aafce7f 100644
--- 
a/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
+++ 
b/systests/uncategorized/src/test/java/org/apache/cxf/systest/schema_validation/ValidationClientServerTest.java
@@ -33,8 +33,8 @@ import javax.xml.ws.Service.Mode;
 import javax.xml.ws.WebServiceException;
 
 import org.apache.cxf.annotations.SchemaValidation.SchemaValidationType;
-import org.apache.cxf.endpoint.Client;
 import org.apache.cxf.feature.LoggingFeature;
+import org.apache.cxf.frontend.ClientProxy;
 import org.apache.cxf.message.Message;
 import org.apache.cxf.testutil.common.AbstractBusClientServerTestBase;
 import org.apache.schema_validation.DoSomethingFault;
@@ -332,7 +332,7 @@ public class ValidationClientServerTest extends 
AbstractBusClientServerTestBase
         
         
((BindingProvider)validation).getRequestContext().put(Message.SCHEMA_VALIDATION_ENABLED,
 validationConfig);
         
((BindingProvider)validation).getResponseContext().put(Message.SCHEMA_VALIDATION_ENABLED,
 validationConfig);
-        new LoggingFeature().initialize((Client)validation, getBus());
+        new LoggingFeature().initialize(ClientProxy.getClient(validation), 
getBus());
         return validation;
     }
 }

Reply via email to