You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by eg...@apache.org on 2007/04/17 13:29:31 UTC
svn commit: r529569 -
/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/jaxws/ClientServerTest.java
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);