Author: veithen
Date: Sun Oct 16 20:25:35 2016
New Revision: 1765188

URL: http://svn.apache.org/viewvc?rev=1765188&view=rev
Log:
AXIS2-5809: Use the custom axis2.xml config on the client as well.

Modified:
    
axis/axis2/java/core/trunk/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809/ServiceTest.java
    
axis/axis2/java/core/trunk/modules/testutils/src/main/java/org/apache/axis2/testutils/Axis2Server.java

Modified: 
axis/axis2/java/core/trunk/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809/ServiceTest.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809/ServiceTest.java?rev=1765188&r1=1765187&r2=1765188&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809/ServiceTest.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/adb-tests/src/test/java/org/apache/axis2/databinding/axis2_5809/ServiceTest.java
 Sun Oct 16 20:25:35 2016
@@ -30,7 +30,7 @@ public class ServiceTest {
     
     @Test
     public void test() throws Exception {
-        EchoServiceStub stub = new 
EchoServiceStub(server.getEndpoint("EchoService"));
+        EchoServiceStub stub = new 
EchoServiceStub(server.getConfigurationContext(), 
server.getEndpoint("EchoService"));
         for (int i=0; i<500; i++) {
             Echo request = new Echo();
             request.setContent("test");

Modified: 
axis/axis2/java/core/trunk/modules/testutils/src/main/java/org/apache/axis2/testutils/Axis2Server.java
URL: 
http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/testutils/src/main/java/org/apache/axis2/testutils/Axis2Server.java?rev=1765188&r1=1765187&r2=1765188&view=diff
==============================================================================
--- 
axis/axis2/java/core/trunk/modules/testutils/src/main/java/org/apache/axis2/testutils/Axis2Server.java
 (original)
+++ 
axis/axis2/java/core/trunk/modules/testutils/src/main/java/org/apache/axis2/testutils/Axis2Server.java
 Sun Oct 16 20:25:35 2016
@@ -57,6 +57,10 @@ public class Axis2Server extends Externa
         return new EndpointReference(getEndpoint(serviceName));
     }
 
+    public ConfigurationContext getConfigurationContext() {
+        return configurationContext;
+    }
+
     @Override
     protected void before() throws Throwable {
         port = PortAllocator.allocatePort();


Reply via email to