Author: heiko.braun(a)jboss.com
Date: 2008-01-17 14:57:47 -0500 (Thu, 17 Jan 2008)
New Revision: 5492
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1813/JBWS1813TestCase.java
stack/native/trunk/src/test/resources/jaxws/jbws1813/META-INF/jboss.xml
Log:
Enable JBWS-1813 for AS 4.2
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 2008-01-17
19:53:03 UTC (rev 5491)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1813/JBWS1813TestCase.java 2008-01-17
19:57:47 UTC (rev 5492)
@@ -33,7 +33,7 @@
/**
* context-root in jboss.xml is ignored
- *
+ *
*
http://jira.jboss.org/jira/browse/JBWS-1813
*
* @author Thomas.Diesler(a)jboss.com
@@ -50,16 +50,16 @@
public void testPositive() throws Exception
{
- if (isTargetJBoss42() || isTargetJBoss40())
+ if ( isTargetJBoss40() )
{
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);
}
Modified: stack/native/trunk/src/test/resources/jaxws/jbws1813/META-INF/jboss.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1813/META-INF/jboss.xml 2008-01-17
19:53:03 UTC (rev 5491)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1813/META-INF/jboss.xml 2008-01-17
19:57:47 UTC (rev 5492)
@@ -5,7 +5,6 @@
<jboss>
<webservices>
- <context-root>/test-context</context-root>
+ <context-root>/test-context</context-root>
</webservices>
-
</jboss>