axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject svn commit: r164021 - /webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java
Date Thu, 21 Apr 2005 10:06:54 GMT
Author: hemapani
Date: Thu Apr 21 03:06:53 2005
New Revision: 164021

URL: http://svn.apache.org/viewcvs?rev=164021&view=rev
Log:
fix the HandleFailure test

Modified:
    webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java

Modified: webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java?rev=164021&r1=164020&r2=164021&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java
(original)
+++ webservices/axis/trunk/java/modules/samples/test/org/apache/axis/engine/HandlerFailureTest.java
Thu Apr 21 03:06:53 2005
@@ -45,7 +45,8 @@
 
 public class HandlerFailureTest extends TestCase {
     private Log log = LogFactory.getLog(getClass());
-    private QName serviceName = new QName("", "http://127.0.0.1:5556/axis/services/EchoXMLService");
+    private EndpointReference targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
"http://127.0.0.1:" + (UtilServer.TESTING_PORT) + "/axis/services/EchoXMLService");
+    private QName serviceName = new QName("", targetEPR.getAddress());
     private QName operationName = new QName("echoOMElement");
 
 
@@ -144,7 +145,7 @@
 
             org.apache.axis.clientapi.Call call = new org.apache.axis.clientapi.Call();
             //EndpointReference targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
"http://127.0.0.1:" + Utils.TESTING_PORT + "/axis/services/EchoXMLService");
-            EndpointReference targetEPR = new EndpointReference(AddressingConstants.WSA_TO,
"http://127.0.0.1:" + (UtilServer.TESTING_PORT) + "/axis/services/EchoXMLService");
+            
             call.setTransport(Constants.TRANSPORT_HTTP);
             call.setTo(targetEPR);
             call.setAction(operationName.getLocalPart());



Mime
View raw message