Author: darran.lofthouse(a)jboss.com
Date: 2008-09-23 10:10:57 -0400 (Tue, 23 Sep 2008)
New Revision: 8203
Added:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/Endpoint.java
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/EndpointImpl.java
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/JBWS2285TestCase.java
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/LogicalHandler.java
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/server-handlers.xml
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/WEB-INF/jboss-web.xml
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/WEB-INF/web.xml
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/request-message.xml
Log:
Branch an existing test to write this test.
Copied:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319
(from rev 8201,
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285)
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/Endpoint.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/Endpoint.java 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/Endpoint.java 2008-09-23
14:10:57 UTC (rev 8203)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.test.ws.jaxws.jbws2285;
+package org.jboss.test.ws.jaxws.jbws2319;
import javax.jws.WebService;
@@ -27,9 +27,9 @@
* Test Endpoint.
*
* @author darran.lofthouse(a)jboss.com
- * @since 19th August 2008
+ * @since 23rd September 2008
*/
-@WebService(name = "Endpoint", targetNamespace =
"http://ws.jboss.org/jbws2285")
+@WebService(name = "Endpoint", targetNamespace =
"http://ws.jboss.org/jbws2319")
public interface Endpoint
{
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/EndpointImpl.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/EndpointImpl.java 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/EndpointImpl.java 2008-09-23
14:10:57 UTC (rev 8203)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.test.ws.jaxws.jbws2285;
+package org.jboss.test.ws.jaxws.jbws2319;
import javax.jws.HandlerChain;
import javax.jws.WebService;
@@ -28,9 +28,9 @@
* Test Endpoint implementation.
*
* @author darran.lofthouse(a)jboss.com
- * @since 19th August 2008
+ * @since 23rd September 2008
*/
-@WebService(name = "Endpoint", targetNamespace =
"http://ws.jboss.org/jbws2285", endpointInterface =
"org.jboss.test.ws.jaxws.jbws2285.Endpoint")
+@WebService(name = "Endpoint", targetNamespace =
"http://ws.jboss.org/jbws2285", endpointInterface =
"org.jboss.test.ws.jaxws.jbws2319.Endpoint")
@HandlerChain(file = "server-handlers.xml")
public class EndpointImpl implements Endpoint
{
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/JBWS2285TestCase.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/JBWS2285TestCase.java 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/JBWS2285TestCase.java 2008-09-23
14:10:57 UTC (rev 8203)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
@@ -19,10 +19,8 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.test.ws.jaxws.jbws2285;
+package org.jboss.test.ws.jaxws.jbws2319;
-import java.io.ByteArrayInputStream;
-import java.io.File;
import java.io.IOException;
import java.net.URL;
import java.util.Iterator;
@@ -46,12 +44,12 @@
import org.w3c.dom.NodeList;
/**
- * [JBWS-2285] ClassCastException: org.jboss.ws.core.soap.TextImpl
- * in LogicalMessageImpl.getPayload.
+ * [JBWS-2319] ClassCastException: org.jboss.ws.core.soap.TextImpl
+ * in SOAPBody.extractContentAsDocument();
*
* @author darran.lofthouse(a)jboss.com
- * @since 19th August 2008
- * @see
https://jira.jboss.org/jira/browse/JBWS-2285
+ * @since 23rd September 2008
+ * @see
https://jira.jboss.org/jira/browse/JBWS-2319
*/
public class JBWS2285TestCase extends JBossWSTest
{
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/LogicalHandler.java
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/LogicalHandler.java 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/LogicalHandler.java 2008-09-23
14:10:57 UTC (rev 8203)
@@ -1,6 +1,6 @@
/*
* JBoss, Home of Professional Open Source.
- * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
@@ -19,7 +19,7 @@
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
*/
-package org.jboss.test.ws.jaxws.jbws2285;
+package org.jboss.test.ws.jaxws.jbws2319;
import javax.xml.transform.dom.DOMSource;
import javax.xml.ws.LogicalMessage;
@@ -37,7 +37,7 @@
* Logical handler implementation.
*
* @author darran.lofthouse(a)jboss.com
- * @since 19th August 2008
+ * @since 23rd September 2008
*/
public class LogicalHandler extends GenericLogicalHandler
{
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/server-handlers.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2285/server-handlers.xml 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2319/server-handlers.xml 2008-09-23
14:10:57 UTC (rev 8203)
@@ -8,7 +8,7 @@
<handler-chain>
<handler>
<handler-name> LogicalServerHandler </handler-name>
- <handler-class> org.jboss.test.ws.jaxws.jbws2285.LogicalHandler
</handler-class>
+ <handler-class> org.jboss.test.ws.jaxws.jbws2319.LogicalHandler
</handler-class>
</handler>
</handler-chain>
Copied:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319
(from rev 8201,
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2285)
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/WEB-INF/jboss-web.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2285/WEB-INF/jboss-web.xml 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/WEB-INF/jboss-web.xml 2008-09-23
14:10:57 UTC (rev 8203)
@@ -3,5 +3,5 @@
<!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.4//EN"
"http://www.jboss.org/j2ee/dtd/jboss-web_4_0.dtd">
<jboss-web>
- <context-root>/jaxws-jbws2285</context-root>
+ <context-root>/jaxws-jbws2319</context-root>
</jboss-web>
\ No newline at end of file
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/WEB-INF/web.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2285/WEB-INF/web.xml 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/WEB-INF/web.xml 2008-09-23
14:10:57 UTC (rev 8203)
@@ -5,7 +5,7 @@
<servlet>
<servlet-name>Endpoint</servlet-name>
-
<servlet-class>org.jboss.test.ws.jaxws.jbws2285.EndpointImpl</servlet-class>
+
<servlet-class>org.jboss.test.ws.jaxws.jbws2319.EndpointImpl</servlet-class>
</servlet>
<servlet-mapping>
Modified:
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/request-message.xml
===================================================================
---
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2285/request-message.xml 2008-09-23
13:28:21 UTC (rev 8201)
+++
stack/native/branches/dlofthouse/JBWS-2319/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2319/request-message.xml 2008-09-23
14:10:57 UTC (rev 8203)
@@ -1,4 +1,4 @@
-<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:jbw="http://ws.jboss.org/jbws2285">
+<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:jbw="http://ws.jboss.org/jbws2319">
<soapenv:Header/>
<soapenv:Body>
<jbw:echo>