Author: heiko.braun(a)jboss.com
Date: 2007-10-25 12:39:00 -0400 (Thu, 25 Oct 2007)
New Revision: 4889
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1762/AbstractPOJOTest.java
stack/native/trunk/src/test/resources/jaxws/jbws1762/WEB-INF/web.xml
Log:
Make JBWS1762 fail and reveal the actual problem
Modified:
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1762/AbstractPOJOTest.java
===================================================================
---
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1762/AbstractPOJOTest.java 2007-10-25
12:13:53 UTC (rev 4888)
+++
stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1762/AbstractPOJOTest.java 2007-10-25
16:39:00 UTC (rev 4889)
@@ -33,6 +33,7 @@
* [JBWS-1762] web.xml modified to
web.xml.org - subsequent runs fail
*
* @author richard.opalka(a)jboss.com
+ * @author heiko.braun(a)jboss.com
*
* @since Oct 17, 2007
*/
Modified: stack/native/trunk/src/test/resources/jaxws/jbws1762/WEB-INF/web.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1762/WEB-INF/web.xml 2007-10-25
12:13:53 UTC (rev 4888)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1762/WEB-INF/web.xml 2007-10-25
16:39:00 UTC (rev 4889)
@@ -1,5 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
+
+
+ <!--
+ Rewriting the web.xml produces the following web.xml from the one listed below.
+ The *JSEDeployerHook's cannot identify those and thus reject the deployment.
+ -->
+
<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+ <servlet>
+ <servlet-name>POJOBean</servlet-name>
+ <servlet-class>org.jboss.wsf.stack.jbws.EndpointServlet</servlet-class>
+ <init-param>
+ <param-name>jboss.ws.endpoint</param-name>
+
<param-value>org.jboss.test.ws.jaxws.jbws1762.services.POJOBean</param-value>
+ </init-param>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>POJOBean</servlet-name>
+ <url-pattern>/POJOBean</url-pattern>
+ </servlet-mapping>
+</web-app>
+
+<!--web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">
@@ -11,4 +36,4 @@
<servlet-name>POJOBean</servlet-name>
<url-pattern>/POJOBean</url-pattern>
</servlet-mapping>
-</web-app>
+</web-app-->