cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From egl...@apache.org
Subject svn commit: r529569 - /incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java
Date Tue, 17 Apr 2007 11:29:31 GMT
Author: eglynn
Date: Tue Apr 17 04:29:31 2007
New Revision: 529569

URL: http://svn.apache.org/viewvc?view=rev&rev=529569
Log:
Re-enabled temporarily skipped ClientServerTest.testBogusAddress()

Modified:
    incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java?view=diff&rev=529569&r1=529568&r2=529569
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java
Tue Apr 17 04:29:31 2007
@@ -59,6 +59,7 @@
 import org.apache.hello_world_soap_http.Greeter;
 import org.apache.hello_world_soap_http.NoSuchCodeLitFault;
 import org.apache.hello_world_soap_http.SOAPService;
+import org.apache.hello_world_soap_http.SOAPServiceBogusAddressTest;
 import org.apache.hello_world_soap_http.SOAPServiceDocLitBare;
 import org.apache.hello_world_soap_http.SOAPServiceMultiPortTypeTest;
 import org.apache.hello_world_soap_http.types.BareDocumentResponse;
@@ -68,10 +69,7 @@
 import org.junit.Test;
 
 public class ClientServerTest extends AbstractBusClientServerTestBase {
-
-    private final QName bogusAddressServiceName = new QName(
-                                                "http://apache.org/hello_world_soap_http",
-                                                "SOAPServiceBogusAddressTest");    
+  
     private final QName serviceName = new QName("http://apache.org/hello_world_soap_http",
                                                 "SOAPService");    
     private final QName portName = new QName("http://apache.org/hello_world_soap_http",
@@ -693,11 +691,10 @@
     
 
     @Test
-    @Ignore
     public void testBogusAddress() throws Exception {
         String realAddress = "http://localhost:9015/SoapContext/SoapPort";
-        Service service = Service.create(bogusAddressServiceName);
-        Greeter greeter = service.getPort(portName, Greeter.class);
+        SOAPServiceBogusAddressTest service = new SOAPServiceBogusAddressTest();
+        Greeter greeter = service.getSoapPort();
         BindingProvider bp = (BindingProvider)greeter;
         bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
                                    realAddress);



Mime
View raw message