Author: ay
Date: Wed Jan 30 22:14:45 2013
New Revision: 1440708

URL: http://svn.apache.org/viewvc?rev=1440708&view=rev
Log:
a minor fix for CXF-4794 test in cleaning up the second EP

Modified:
    
cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soap12/Server.java

Modified: 
cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soap12/Server.java
URL: 
http://svn.apache.org/viewvc/cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soap12/Server.java?rev=1440708&r1=1440707&r2=1440708&view=diff
==============================================================================
--- 
cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soap12/Server.java
 (original)
+++ 
cxf/trunk/systests/uncategorized/src/test/java/org/apache/cxf/systest/soap12/Server.java
 Wed Jan 30 22:14:45 2013
@@ -29,7 +29,8 @@ public class Server extends AbstractBusT
     public static final String PORT = allocatePort(Server.class);
 
     Endpoint ep;
-
+    Endpoint ep11;
+    
     @SuppressWarnings("deprecation")
     protected void run()  {    
         Object implementor = new GreeterImpl();
@@ -40,11 +41,12 @@ public class Server extends AbstractBusT
         
         implementor = new org.apache.hello_world_soap_http.GreeterImpl();
         address = "http://localhost:"; + PORT + "/SoapContext/Soap11Port";
-        ep = Endpoint.publish(address, implementor);
+        ep11 = Endpoint.publish(address, implementor);
     }
 
     public void tearDown() throws Exception {
         ep.stop();
+        ep11.stop();
     }
 
     public static void main(String[] args) {


Reply via email to