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 ch...@apache.org on 2006/01/03 19:24:16 UTC

svn commit: r365704 - in /webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2: engine/ groovy/ jms/

Author: chinthaka
Date: Tue Jan  3 10:23:54 2006
New Revision: 365704

URL: http://svn.apache.org/viewcvs?rev=365704&view=rev
Log:
Fixing copy 'n paste problems :).
setTo was called twice. And sender.finalizeInvoke not being called. Couldn't finish this completely, there are some more. 

BTW, I saw an increase of time taken to complete the tests. Can we run the perf tests again and check whether its true ?

Modified:
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java
    webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CallUnregisteredServiceTest.java Tue Jan  3 10:23:54 2006
@@ -77,7 +77,6 @@
                     factory.buildConfigurationContext("target/test-resources/integrationRepo");
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
-            options.setTo(targetEPR);
 
             sender.sendReceive(method);
             fail("The test must fail due to wrong service Name");

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CharactersetEncodingTest.java Tue Jan  3 10:23:54 2006
@@ -92,7 +92,6 @@
                     factory.buildConfigurationContext(Constants.TESTING_PATH + "chunking-enabledRepository");
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
-            options.setTo(targetEPR);
 
             OMElement resultElem = sender.sendReceive(payload);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/CommonsHTTPEchoRawXMLTest.java Tue Jan  3 10:23:54 2006
@@ -72,11 +72,7 @@
     public void testEchoXMLASync() throws Exception {
         OMElement payload = TestingUtils.createDummyOMElement();
 
-//        Call call = new Call(
-//                Constants.TESTING_PATH + "commons-http-enabledRepository");
-
         Options options = new Options();
-//        call.setClientOptions(options);
         options.setTo(targetEPR);
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
@@ -93,16 +89,11 @@
             }
         };
 
-//        call.invokeNonBlocking(operationName.getLocalPart(),
-//                payload,
-//                callback);
-
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
                 factory.buildConfigurationContext(Constants.TESTING_PATH + "commons-http-enabledRepository");
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         sender.sendReceiveNonblocking(payload, callback);
 
@@ -124,25 +115,15 @@
     public void testEchoXMLSync() throws Exception {
         SOAPFactory fac = OMAbstractFactory.getSOAP11Factory();
         OMElement payload = TestingUtils.createDummyOMElement();
-
-//        Call call = new Call(
-//                Constants.TESTING_PATH + "commons-http-enabledRepository");
-
         Options options = new Options();
-//        call.setClientOptions(options);
         options.setTo(targetEPR);
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
-//        OMElement result =
-//                call.invokeBlocking(operationName.getLocalPart(),
-//                        payload);
-
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
                 factory.buildConfigurationContext(Constants.TESTING_PATH + "commons-http-enabledRepository");
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(payload);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawRuntimeProxyTest.java Tue Jan  3 10:23:54 2006
@@ -91,7 +91,6 @@
                 factory.buildConfigurationContext("target/test-resources/integrationRepo");
         ServiceClient sender = new ServiceClient(configContext,null);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(payload);
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLChunkedTest.java Tue Jan  3 10:23:54 2006
@@ -102,15 +102,8 @@
         OMElement payload = TestingUtils.createDummyOMElement();
 
         Options clientOptions = new Options();
-//        Call call = new Call(CLIENT_HOME);
-//        call.setClientOptions(clientOptions);
-
-//        clientOptions.setTo(targetEPR);
         clientOptions.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
-//        OMElement result =
-//                call.invokeBlocking(operationName.getLocalPart(),
-//                        payload);
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
                 factory.buildConfigurationContext(CLIENT_HOME);
@@ -122,6 +115,6 @@
 
 
         TestingUtils.campareWithCreatedOMElement(result);
-//        call.close();
+        sender.finalizeInvoke();
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLLoadTest.java Tue Jan  3 10:23:54 2006
@@ -110,5 +110,6 @@
         OMElement result = sender.sendReceive(payload);
 
         TestingUtils.campareWithCreatedOMElement(result);
+        sender.finalizeInvoke();
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLMultipleTest.java Tue Jan  3 10:23:54 2006
@@ -116,10 +116,13 @@
                             "Server was shutdown as the async response take too long to complete");
                 }
             }
+            sender.finalizeInvoke();
+
         }
 
 
         log.info("send the request");
+
     }
 
     public void testEchoXMLMultipleDuelASync() throws Exception {
@@ -182,7 +185,6 @@
                     factory.buildConfigurationContext("target/test-resources/integrationRepo");
             ServiceClient sender = new ServiceClient(configContext, null);
             sender.setOptions(options);
-            options.setTo(targetEPR);
 
             OMElement result = sender.sendReceive(payload);
 
@@ -195,19 +197,12 @@
     public void testEchoXMLMultipleDuelSync() throws Exception {
         OMElement payload = TestingUtils.createDummyOMElement();
         for (int i = 0; i < 5; i++) {
-//            org.apache.axis2.client.Call call =
-//                    new org.apache.axis2.client.Call(
-//                            "target/test-resources/integrationRepo");
 
             Options options = new Options();
-//            call.setClientOptions(options);
             options.setTo(targetEPR);
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
             options.setUseSeparateListener(true);
 
-//            OMElement result =
-//                    call.invokeBlocking(operationName.getLocalPart(),
-//                            payload);
             ConfigurationContextFactory factory = new ConfigurationContextFactory();
             ConfigurationContext configContext =
                     factory.buildConfigurationContext("target/test-resources/integrationRepo");
@@ -219,7 +214,6 @@
 
             TestingUtils.campareWithCreatedOMElement(result);
             sender.finalizeInvoke();
-//            call.close();
         }
     }
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsSyncTest.java Tue Jan  3 10:23:54 2006
@@ -87,7 +87,6 @@
         sender.setOptions(options);
 
         OMElement result = sender.sendReceive(operationName, method);
-        System.out.println("result = " + result);
 
         TestingUtils.campareWithCreatedOMElement(result);
         sender.finalizeInvoke();

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLOnTwoChannelsTest.java Tue Jan  3 10:23:54 2006
@@ -89,18 +89,12 @@
         method.addChild(value);
         ServiceClient sender = null;
 
-//        Call call =
-//                new Call(
-//                        serviceContext);
-//        call.engageModule(new QName(Constants.MODULE_ADDRESSING));
-
         try {
             Options options = new Options();
             options.setTo(targetEPR);
             options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
             options.setUseSeparateListener(true);
             options.setAction(operationName.getLocalPart());
-//            call.setClientOptions(options);
 
             Callback callback = new Callback() {
                 public void onComplete(AsyncResult result) {
@@ -119,13 +113,9 @@
             sender = new ServiceClient(configcontext, service);
             sender.engageModule(new QName("addressing"));
             sender.setOptions(options);
-            options.setTo(targetEPR);
 
             sender.sendReceiveNonBlocking(operationName, method, callback);
 
-//            call.invokeNonBlocking(operationName.getLocalPart(),
-//                    method,
-//                    callback);
             int index = 0;
             while (!finish) {
                 Thread.sleep(1000);
@@ -136,7 +126,6 @@
                 }
             }
             log.info("send the reqest");
-            sender.finalizeInvoke();
         } finally {
             sender.finalizeInvoke();
         }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/EchoRawXMLTest.java Tue Jan  3 10:23:54 2006
@@ -114,6 +114,7 @@
             }
         }
         log.info("send the request");
+        sender.finalizeInvoke();
     }
 
     public void testEchoXMLSync() throws Exception {
@@ -128,11 +129,11 @@
                 factory.buildConfigurationContext("target/test-resources/integrationRepo");
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(payload);
 
         TestingUtils.campareWithCreatedOMElement(result);
+        sender.finalizeInvoke();
     }
 
     public void testCorrectSOAPEnvelope() throws Exception {
@@ -148,11 +149,11 @@
                 factory.buildConfigurationContext("target/test-resources/integrationRepo");
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(payload);
 
         TestingUtils.campareWithCreatedOMElement(result);
+        sender.finalizeInvoke();
     }
 
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/MessageContextInjectionTest.java Tue Jan  3 10:23:54 2006
@@ -22,7 +22,12 @@
 import org.apache.axis2.client.ServiceClient;
 import org.apache.axis2.context.ConfigurationContext;
 import org.apache.axis2.context.ConfigurationContextFactory;
-import org.apache.axis2.description.*;
+import org.apache.axis2.description.AxisOperation;
+import org.apache.axis2.description.AxisService;
+import org.apache.axis2.description.InOnlyAxisOperation;
+import org.apache.axis2.description.ParameterImpl;
+import org.apache.axis2.description.TransportInDescription;
+import org.apache.axis2.description.TransportOutDescription;
 import org.apache.axis2.engine.util.TestConstants;
 import org.apache.axis2.om.OMAbstractFactory;
 import org.apache.axis2.om.OMElement;
@@ -91,7 +96,6 @@
     public void testEchoXMLSync() throws Exception {
         OMElement payload = createEnvelope();
 
-//        MessageSender sender = new MessageSender("target/test-resources/integrationRepo");
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
                 factory.buildConfigurationContext("target/test-resources/integrationRepo");

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/OneWayRawXMLTest.java Tue Jan  3 10:23:54 2006
@@ -75,7 +75,6 @@
 
         OMElement payload = TestingUtils.createDummyOMElement();
 
-//        MessageSender sender = new MessageSender("target/test-resources/integrationRepo");
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
                 factory.buildConfigurationContext("target/test-resources/integrationRepo");
@@ -83,10 +82,8 @@
 
         Options options = new Options();
         sender.setOptions(options);
-//        sender.setClientOptions(options);
         options.setTo(targetEPR);
         sender.fireAndForget(payload);
-//        sender.send(operationName.getLocalPart(), payload);
         int index = 0;
         while (envelope == null) {
             Thread.sleep(4000);

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceDispatchingTest.java Tue Jan  3 10:23:54 2006
@@ -62,8 +62,6 @@
     public void testDispatchWithURLOnly() throws Exception {
         OMElement payload = TestingUtils.createDummyOMElement();
         Options options = new Options();
-        options.setTo(
-                new EndpointReference("http://127.0.0.1:5555/axis/services/EchoXMLService/echoOMElement"));
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
 
 
@@ -77,6 +75,7 @@
         OMElement result = sender.sendReceive(payload);
 
         TestingUtils.campareWithCreatedOMElement(result);
+        sender.finalizeInvoke();
     }
 
     public void testDispatchWithURLAndSOAPAction() throws Exception {
@@ -97,10 +96,10 @@
                 factory.buildConfigurationContext("target/test-resources/integrationRepo");
         ServiceClient sender = new ServiceClient(configContext, null);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(payload);
         TestingUtils.campareWithCreatedOMElement(result);
+        sender.finalizeInvoke();
     }
 
     public void testDispatchWithSOAPBody() throws Exception {
@@ -114,8 +113,6 @@
                 fac.createText(value, "Isaac Asimov, The Foundation Trilogy"));
         payload.addChild(value);
         Options options = new Options();
-        options.setTo(
-                new EndpointReference("http://127.0.0.1:5555/axis/services/"));
         options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =
@@ -127,5 +124,6 @@
         OMElement result = sender.sendReceive(payload);
 
         TestingUtils.campareWithCreatedOMElement(result);
+        sender.finalizeInvoke();
     }
 }

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/ServiceGroupContextTest.java Tue Jan  3 10:23:54 2006
@@ -94,7 +94,6 @@
                 factory.buildConfigurationContext("target/test-resources/integrationRepo");
         ServiceClient sender = new ServiceClient(configContext,null);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(payload.getBody().getFirstElement());
 

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/groovy/GroovyServiceTest.java Tue Jan  3 10:23:54 2006
@@ -90,8 +90,6 @@
 
 //        call.setClientOptions(options);
 
-//        OMElement result = call.invokeBlocking(operationName.getLocalPart(),
-//                payload);
 
         ConfigurationContextFactory factory = new ConfigurationContextFactory();
         ConfigurationContext configContext =

Modified: webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java?rev=365704&r1=365703&r2=365704&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java (original)
+++ webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/jms/JMSEchoRawXMLTest.java Tue Jan  3 10:23:54 2006
@@ -127,7 +127,6 @@
         ServiceClient sender = new ServiceClient(configContext, clientService);
         sender.engageModule(new QName("addressing"));
         sender.setOptions(options);
-        options.setTo(targetEPR);
         sender.sendReceiveNonBlocking(operationName, payload, callback);
 
 
@@ -152,7 +151,6 @@
         options.setSoapAction("EchoXMLService/echoOMElement");
         ServiceClient sender = new ServiceClient(configContext, clientService);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(operationName, payload);
 
@@ -182,7 +180,6 @@
 
         ServiceClient sender = new ServiceClient(configContext, clientService);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(operationName, payloadElement);
 
@@ -231,7 +228,6 @@
 
         ServiceClient sender = new ServiceClient(configContext, clientService);
         sender.setOptions(options);
-        options.setTo(targetEPR);
 
         OMElement result = sender.sendReceive(operationName, method);