Author: thomas.diesler(a)jboss.com
Date: 2007-10-11 12:12:29 -0400 (Thu, 11 Oct 2007)
New Revision: 4740
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1813/JBWS1813TestCase.java
Log:
[JBWS-1813] Disable with fixme
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1813/JBWS1813TestCase.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1813/JBWS1813TestCase.java 2007-10-11
13:00:16 UTC (rev 4739)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1813/JBWS1813TestCase.java 2007-10-11
16:12:29 UTC (rev 4740)
@@ -32,7 +32,7 @@
import org.jboss.wsf.test.JBossWSTestSetup;
/**
- * endpoint using @SecurityDomain
+ * context-root in jboss.xml is ignored
*
*
http://jira.jboss.org/jira/browse/JBWS-1813
*
@@ -43,31 +43,23 @@
{
public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() +
":8080/test-context";
- private static Endpoint port;
-
public static Test suite()
{
return new JBossWSTestSetup(JBWS1813TestCase.class,
"jaxws-jbws1813.ear");
}
- protected void setUp() throws Exception
+ public void testPositive() throws Exception
{
- if (port == null)
- {
- URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
- QName serviceName = new QName("http://org.jboss.ws/jbws1813",
"EndpointService");
- port = Service.create(wsdlURL, serviceName).getPort(Endpoint.class);
- }
- }
-
- public void testPositive()
- {
if (isTargetJBoss42())
{
System.out.println("FIXME: [JBWS-1813] context-root in jboss.xml is
ignored");
return;
}
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new QName("http://org.jboss.ws/jbws1813",
"EndpointService");
+ Endpoint port = Service.create(wsdlURL, serviceName).getPort(Endpoint.class);
+
String retObj = port.echo("Hello");
assertEquals("Hello", retObj);
}