You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/01/03 17:59:42 UTC

svn commit: r365683 - /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java

Author: dims
Date: Tue Jan  3 08:59:41 2006
New Revision: 365683

URL: http://svn.apache.org/viewcvs?rev=365683&view=rev
Log:
fix build break, don't use server-side service for the client :)


Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java?rev=365683&r1=365682&r2=365683&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/tcp/TCPTwoChannelEchoRawXMLTest.java Tue Jan  3 08:59:41 2006
@@ -74,10 +74,6 @@
                         operationName);
         UtilsTCPServer.deployService(service);
 
-        AxisService service =
-                Utils.createSimpleServiceforClient(serviceName,
-                        org.apache.axis2.engine.Echo.class.getName(),
-                        operationName);
         configContext = UtilServer.createClientConfigurationContext();
     }
 
@@ -120,7 +116,12 @@
                 }
             };
 
-            sender = new ServiceClient(configContext, service);
+            AxisService serviceClient =
+                    Utils.createSimpleServiceforClient(serviceName,
+                            org.apache.axis2.engine.Echo.class.getName(),
+                            operationName);
+
+            sender = new ServiceClient(configContext, serviceClient);
             sender.setOptions(options);
 
             sender.sendReceiveNonblocking(operationName, method, callback);