You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2014/04/15 22:33:53 UTC
[8/8] git commit: Fix cast error on 2.7.x branch
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 <dk...@apache.org>
Authored: Tue Apr 15 16:31:29 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
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;
}
}