JBossWS SVN: r11409 - framework/tags.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-01-13 14:24:59 -0500 (Wed, 13 Jan 2010)
New Revision: 11409
Added:
framework/tags/jbossws-framework-3.1.2.SP4_CP01/
Log:
[JBPAPP-3022] Tagging jbossws-framework-3.1.2.SP4_CP01
Copied: framework/tags/jbossws-framework-3.1.2.SP4_CP01 (from rev 11408, framework/branches/jbossws-framework-3.1.2)
14 years, 4 months
JBossWS SVN: r11407 - common/tags.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-01-13 14:05:50 -0500 (Wed, 13 Jan 2010)
New Revision: 11407
Added:
common/tags/jbossws-common-1.1.0.SP2_CP01/
Log:
[JBPAPP-3184] Tagging jbossws-common-1.1.0.SP2_CP01
Copied: common/tags/jbossws-common-1.1.0.SP2_CP01 (from rev 11406, common/branches/jbossws-common-1.1.0)
14 years, 4 months
JBossWS SVN: r11405 - spi/tags.
by jbossws-commits@lists.jboss.org
Author: alessio.soldano(a)jboss.com
Date: 2010-01-13 13:18:58 -0500 (Wed, 13 Jan 2010)
New Revision: 11405
Added:
spi/tags/jbossws-spi-1.1.2.SP1_CP01/
Log:
[JBPAPP-2838] Tagging jbossws-spi-1.1.2.SP1_CP01
Copied: spi/tags/jbossws-spi-1.1.2.SP1_CP01 (from rev 11404, spi/branches/jbossws-spi-1.1.2)
14 years, 4 months
JBossWS SVN: r11404 - in stack/native/branches/jbossws-native-3.1.2/modules: testsuite/native-tests/scripts and 5 other directories.
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2010-01-13 13:11:17 -0500 (Wed, 13 Jan 2010)
New Revision: 11404
Added:
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml
Removed:
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml
Modified:
stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java
stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
[JBPAPP-3172] NullPointerException deploying JAX-WS endpoint with types in target namespace ending with '#'
Modified: stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java 2010-01-13 18:01:42 UTC (rev 11403)
+++ stack/native/branches/jbossws-native-3.1.2/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -535,6 +535,7 @@
fname = fname.replace('/', '_');
fname = fname.replace(':', '_');
fname = fname.replace('?', '_');
+ fname = fname.replace('#', '_');
return File.createTempFile("JBossWS_" + fname, ".xsd", tmpdir);
}
Modified: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-01-13 18:01:42 UTC (rev 11403)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-01-13 18:11:17 UTC (rev 11404)
@@ -592,6 +592,17 @@
</metainf>
</jar>
+ <!-- jaxws-jbws2845 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2845.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2845/*.class"/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ </war>
+
<!-- jaxws-webserviceref -->
<war warfile="${tests.output.dir}/test-libs/jaxws-webserviceref.war" webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF/web.xml">
<classes dir="${tests.output.dir}/test-classes">
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845 (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845)
Deleted: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java 2010-01-13 17:52:03 UTC (rev 11402)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbws2845;
-
-import javax.jws.WebParam;
-import javax.jws.WebResult;
-import javax.jws.WebService;
-
-/**
- * Test Endpoint.
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 13th January 2010
- */
-@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbws2845")
-public interface Endpoint
-{
-
- @WebResult(targetNamespace = "http://ws.jboss.org/jbws2845/types#")
- public TheType echo(@WebParam(targetNamespace = "http://ws.jboss.org/jbws2845/types#") final TheType message);
-
-}
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbws2845;
+
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+
+/**
+ * Test Endpoint.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 13th January 2010
+ */
+@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbws2845")
+public interface Endpoint
+{
+
+ @WebResult(targetNamespace = "http://ws.jboss.org/jbws2845/types#")
+ public TheType echo(@WebParam(targetNamespace = "http://ws.jboss.org/jbws2845/types#") final TheType message);
+
+}
Deleted: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java 2010-01-13 17:52:03 UTC (rev 11402)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -1,41 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbws2845;
-
-import javax.jws.WebService;
-
-/**
- * Test Endpoint implementation.
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 13th January 2010
- */
-@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbws2845", endpointInterface = "org.jboss.test.ws.jaxws.jbws2845.Endpoint")
-public class EndpointImpl implements Endpoint
-{
-
- public TheType echo(final TheType message)
- {
- return message;
- }
-
-}
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbws2845;
+
+import javax.jws.WebService;
+
+/**
+ * Test Endpoint implementation.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 13th January 2010
+ */
+@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbws2845", endpointInterface = "org.jboss.test.ws.jaxws.jbws2845.Endpoint")
+public class EndpointImpl implements Endpoint
+{
+
+ public TheType echo(final TheType message)
+ {
+ return message;
+ }
+
+}
Deleted: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java 2010-01-13 17:52:03 UTC (rev 11402)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -1,72 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbws2845;
-
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-
-import junit.framework.Test;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-
-/**
- * [JBWS-2845] NullPointerException deploying JAX-WS endpoint with types in
- * target namespace ending with '#'
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 13th January 2010
- * @see https://jira.jboss.org/jira/browse/JBWS-2845
- */
-public class JBWS2845TestCase extends JBossWSTest
-{
-
- public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-jbws2845/";
-
- private static Endpoint port;
-
- public static Test suite() throws Exception
- {
- return new JBossWSTestSetup(JBWS2845TestCase.class, "jaxws-jbws2845.war");
- }
-
- public void setUp() throws Exception
- {
- super.setUp();
- URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
- QName serviceName = new QName("http://ws.jboss.org/jbws2845", "EndpointImplService");
-
- Service service = Service.create(wsdlURL, serviceName);
- port = service.getPort(Endpoint.class);
- }
-
- public void testCall() throws Exception
- {
- TheType in = new TheType();
- in.setMessage("Happy New Year");
-
- TheType response = port.echo(in);
- assertEquals("Happy New Year", in.getMessage(), response.getMessage());
- }
-
-}
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbws2845;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-2845] NullPointerException deploying JAX-WS endpoint with types in
+ * target namespace ending with '#'
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 13th January 2010
+ * @see https://jira.jboss.org/jira/browse/JBWS-2845
+ */
+public class JBWS2845TestCase extends JBossWSTest
+{
+
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-jbws2845/";
+
+ private static Endpoint port;
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(JBWS2845TestCase.class, "jaxws-jbws2845.war");
+ }
+
+ public void setUp() throws Exception
+ {
+ super.setUp();
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new QName("http://ws.jboss.org/jbws2845", "EndpointImplService");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ port = service.getPort(Endpoint.class);
+ }
+
+ public void testCall() throws Exception
+ {
+ TheType in = new TheType();
+ in.setMessage("Happy New Year");
+
+ TheType response = port.echo(in);
+ assertEquals("Happy New Year", in.getMessage(), response.getMessage());
+ }
+
+}
Deleted: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java 2010-01-13 17:52:03 UTC (rev 11402)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -1,18 +0,0 @@
-package org.jboss.test.ws.jaxws.jbws2845;
-
-public class TheType
-{
-
- private String message;
-
- public String getMessage()
- {
- return message;
- }
-
- public void setMessage(String message)
- {
- this.message = message;
- }
-
-}
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java 2010-01-13 18:11:17 UTC (rev 11404)
@@ -0,0 +1,18 @@
+package org.jboss.test.ws.jaxws.jbws2845;
+
+public class TheType
+{
+
+ private String message;
+
+ public String getMessage()
+ {
+ return message;
+ }
+
+ public void setMessage(String message)
+ {
+ this.message = message;
+ }
+
+}
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845 (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845)
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF)
Deleted: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml 2010-01-13 17:52:03 UTC (rev 11402)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml 2010-01-13 18:11:17 UTC (rev 11404)
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!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-jbws2845</context-root>
-</jboss-web>
\ No newline at end of file
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml 2010-01-13 18:11:17 UTC (rev 11404)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!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-jbws2845</context-root>
+</jboss-web>
\ No newline at end of file
Deleted: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml 2010-01-13 17:52:03 UTC (rev 11402)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml 2010-01-13 18:11:17 UTC (rev 11404)
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app version="2.4" 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">
-
- <servlet>
- <servlet-name>Endpoint</servlet-name>
- <servlet-class>org.jboss.test.ws.jaxws.jbws2845.EndpointImpl</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>Endpoint</servlet-name>
- <url-pattern>/*</url-pattern>
- </servlet-mapping>
-
-</web-app>
\ No newline at end of file
Copied: stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml (from rev 11402, stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml 2010-01-13 18:11:17 UTC (rev 11404)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" 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">
+
+ <servlet>
+ <servlet-name>Endpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws2845.EndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Endpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
14 years, 4 months
JBossWS SVN: r11403 - stack/native/trunk/modules/endorsed.
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2010-01-13 13:01:42 -0500 (Wed, 13 Jan 2010)
New Revision: 11403
Modified:
stack/native/trunk/modules/endorsed/
Log:
Add svn:ignore for target
Property changes on: stack/native/trunk/modules/endorsed
___________________________________________________________________
Name: svn:ignore
+ target
14 years, 4 months
JBossWS SVN: r11402 - in stack/native/trunk/modules: testsuite/native-tests/scripts and 5 other directories.
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2010-01-13 12:52:03 -0500 (Wed, 13 Jan 2010)
New Revision: 11402
Added:
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java
stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml
stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java
stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
[JBWS-2845] NullPointerException deploying JAX-WS endpoint with types in target namespace ending with '#'
Modified: stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java
===================================================================
--- stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java 2010-01-13 14:34:32 UTC (rev 11401)
+++ stack/native/trunk/modules/core/src/main/java/org/jboss/ws/metadata/wsdl/xsd/SchemaUtils.java 2010-01-13 17:52:03 UTC (rev 11402)
@@ -535,6 +535,7 @@
fname = fname.replace('/', '_');
fname = fname.replace(':', '_');
fname = fname.replace('?', '_');
+ fname = fname.replace('#', '_');
return File.createTempFile("JBossWS_" + fname, ".xsd", tmpdir);
}
Modified: stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-01-13 14:34:32 UTC (rev 11401)
+++ stack/native/trunk/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-01-13 17:52:03 UTC (rev 11402)
@@ -585,6 +585,17 @@
<include name="wsdl/**"/>
</metainf>
</jar>
+
+ <!-- jaxws-jbws2845 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbws2845.war" webxml="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbws2845/*.class"/>
+ <exclude name="org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.class"/>
+ </classes>
+ <webinf dir="${tests.output.dir}/test-resources/jaxws/jbws2845/WEB-INF">
+ <include name="jboss-web.xml"/>
+ </webinf>
+ </war>
<!-- jaxws-webserviceref -->
<war warfile="${tests.output.dir}/test-libs/jaxws-webserviceref.war" webxml="${tests.output.dir}/test-resources/jaxws/webserviceref/WEB-INF/web.xml">
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java 2010-01-13 17:52:03 UTC (rev 11402)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbws2845;
+
+import javax.jws.WebParam;
+import javax.jws.WebResult;
+import javax.jws.WebService;
+
+/**
+ * Test Endpoint.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 13th January 2010
+ */
+@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbws2845")
+public interface Endpoint
+{
+
+ @WebResult(targetNamespace = "http://ws.jboss.org/jbws2845/types#")
+ public TheType echo(@WebParam(targetNamespace = "http://ws.jboss.org/jbws2845/types#") final TheType message);
+
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/Endpoint.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java 2010-01-13 17:52:03 UTC (rev 11402)
@@ -0,0 +1,41 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbws2845;
+
+import javax.jws.WebService;
+
+/**
+ * Test Endpoint implementation.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 13th January 2010
+ */
+@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbws2845", endpointInterface = "org.jboss.test.ws.jaxws.jbws2845.Endpoint")
+public class EndpointImpl implements Endpoint
+{
+
+ public TheType echo(final TheType message)
+ {
+ return message;
+ }
+
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/EndpointImpl.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java 2010-01-13 17:52:03 UTC (rev 11402)
@@ -0,0 +1,72 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbws2845;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBWS-2845] NullPointerException deploying JAX-WS endpoint with types in
+ * target namespace ending with '#'
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 13th January 2010
+ * @see https://jira.jboss.org/jira/browse/JBWS-2845
+ */
+public class JBWS2845TestCase extends JBossWSTest
+{
+
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-jbws2845/";
+
+ private static Endpoint port;
+
+ public static Test suite() throws Exception
+ {
+ return new JBossWSTestSetup(JBWS2845TestCase.class, "jaxws-jbws2845.war");
+ }
+
+ public void setUp() throws Exception
+ {
+ super.setUp();
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new QName("http://ws.jboss.org/jbws2845", "EndpointImplService");
+
+ Service service = Service.create(wsdlURL, serviceName);
+ port = service.getPort(Endpoint.class);
+ }
+
+ public void testCall() throws Exception
+ {
+ TheType in = new TheType();
+ in.setMessage("Happy New Year");
+
+ TheType response = port.echo(in);
+ assertEquals("Happy New Year", in.getMessage(), response.getMessage());
+ }
+
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/JBWS2845TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java 2010-01-13 17:52:03 UTC (rev 11402)
@@ -0,0 +1,18 @@
+package org.jboss.test.ws.jaxws.jbws2845;
+
+public class TheType
+{
+
+ private String message;
+
+ public String getMessage()
+ {
+ return message;
+ }
+
+ public void setMessage(String message)
+ {
+ this.message = message;
+ }
+
+}
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbws2845/TheType.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml 2010-01-13 17:52:03 UTC (rev 11402)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!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-jbws2845</context-root>
+</jboss-web>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml
===================================================================
--- stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml (rev 0)
+++ stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml 2010-01-13 17:52:03 UTC (rev 11402)
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="2.4" 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">
+
+ <servlet>
+ <servlet-name>Endpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbws2845.EndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>Endpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+
+</web-app>
\ No newline at end of file
Property changes on: stack/native/trunk/modules/testsuite/native-tests/src/test/resources/jaxws/jbws2845/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
14 years, 4 months
JBossWS SVN: r11401 - in stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests: src/test/java/org/jboss/test/ws/jaxws and 4 other directories.
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2010-01-13 09:34:32 -0500 (Wed, 13 Jan 2010)
New Revision: 11401
Added:
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml
Removed:
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml
Modified:
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
Log:
[JBPAPP-3399] Mixed up namespace prefixes when marshalling response with Element containing attributes - Test Case.
Modified: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-01-13 13:28:25 UTC (rev 11400)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/scripts/build-jars-jaxws.xml 2010-01-13 14:34:32 UTC (rev 11401)
@@ -142,6 +142,17 @@
</webinf>
</war>
+ <!-- jaxws-jbpapp3389 -->
+ <war warfile="${tests.output.dir}/test-libs/jaxws-jbpapp3389.war" webxml="${tests.output.dir}/test-resources/jaxws/jbpapp3389/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include name="org/jboss/test/ws/jaxws/jbpapp3389/*.class" />
+ <exclude name="org/jboss/test/ws/jaxws/jbpapp3389/*TestCase.class" />
+ </classes>
+ <classes dir="${tests.output.dir}/test-resources/jaxws/jbpapp3389/WEB-INF">
+ <include name="response.xml" />
+ </classes>
+ </war>
+
<!-- jaxws-jbws771 -->
<jar destfile="${tests.output.dir}/test-libs/jaxws-jbws771.jar">
<fileset dir="${tests.output.dir}/test-classes">
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389 (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389)
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,44 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbpapp3389;
-
-import javax.xml.bind.annotation.XmlAnyElement;
-
-/**
- * AnyWrapper
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 12th Jan 2010
- */
-public class AnyWrapper {
-
- private Object any;
-
- @XmlAnyElement(lax = true)
- public Object getAny() {
- return any;
- }
-
- public void setAny(Object value) {
- this.any = value;
- }
-}
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/AnyWrapper.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbpapp3389;
+
+import javax.xml.bind.annotation.XmlAnyElement;
+
+/**
+ * AnyWrapper
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th Jan 2010
+ */
+public class AnyWrapper {
+
+ private Object any;
+
+ @XmlAnyElement(lax = true)
+ public Object getAny() {
+ return any;
+ }
+
+ public void setAny(Object value) {
+ this.any = value;
+ }
+}
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,38 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbpapp3389;
-
-import javax.jws.WebService;
-
-/**
- * Test Endpoint.
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 12th Jan 2010
- */
-@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbpapp3389")
-public interface Endpoint
-{
-
- public Result echo(final String message);
-
-}
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Endpoint.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,38 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbpapp3389;
+
+import javax.jws.WebService;
+
+/**
+ * Test Endpoint.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th Jan 2010
+ */
+@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbpapp3389")
+public interface Endpoint
+{
+
+ public Result echo(final String message);
+
+}
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,73 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbpapp3389;
-
-import java.io.FileOutputStream;
-import java.io.InputStream;
-
-import javax.jws.HandlerChain;
-import javax.jws.WebService;
-import javax.xml.bind.JAXBContext;
-import javax.xml.bind.Marshaller;
-import javax.xml.bind.Unmarshaller;
-import javax.xml.namespace.QName;
-import org.jboss.wsf.common.DOMUtils;
-import org.w3c.dom.Element;
-
-/**
- * Test Endpoint implementation.
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 12th January 2010
- */
-@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbpapp3389", endpointInterface = "org.jboss.test.ws.jaxws.jbpapp3389.Endpoint")
-public class EndpointImpl implements Endpoint
-{
-
- public Result echo(final String message)
- {
- Result result = new Result();
- AnyWrapper wrapper = new AnyWrapper();
- result.setAnyWrapper(wrapper);
-
- QName qname1 = new QName("http://jboss.org/support", "extension", "ns3");
- Element element1 = DOMUtils.createElement(qname1);
- element1.setAttribute("number", "1234");
-
- wrapper.setAny(element1);
-
- try {
- JAXBContext ctx = JAXBContext.newInstance(Result.class);
- ClassLoader loader = Thread.currentThread().getContextClassLoader();
- InputStream inStream = loader.getResourceAsStream("response.xml");
-
- Unmarshaller unmarshaller = ctx.createUnmarshaller();
- result = (Result) unmarshaller.unmarshal(inStream);
- } catch (Exception e)
- {
- throw new RuntimeException("Oops",e);
- }
-
- return result;
- }
-
-}
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/EndpointImpl.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,73 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbpapp3389;
+
+import java.io.FileOutputStream;
+import java.io.InputStream;
+
+import javax.jws.HandlerChain;
+import javax.jws.WebService;
+import javax.xml.bind.JAXBContext;
+import javax.xml.bind.Marshaller;
+import javax.xml.bind.Unmarshaller;
+import javax.xml.namespace.QName;
+import org.jboss.wsf.common.DOMUtils;
+import org.w3c.dom.Element;
+
+/**
+ * Test Endpoint implementation.
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th January 2010
+ */
+@WebService(name = "Endpoint", targetNamespace = "http://ws.jboss.org/jbpapp3389", endpointInterface = "org.jboss.test.ws.jaxws.jbpapp3389.Endpoint")
+public class EndpointImpl implements Endpoint
+{
+
+ public Result echo(final String message)
+ {
+ Result result = new Result();
+ AnyWrapper wrapper = new AnyWrapper();
+ result.setAnyWrapper(wrapper);
+
+ QName qname1 = new QName("http://jboss.org/support", "extension", "ns3");
+ Element element1 = DOMUtils.createElement(qname1);
+ element1.setAttribute("number", "1234");
+
+ wrapper.setAny(element1);
+
+ try {
+ JAXBContext ctx = JAXBContext.newInstance(Result.class);
+ ClassLoader loader = Thread.currentThread().getContextClassLoader();
+ InputStream inStream = loader.getResourceAsStream("response.xml");
+
+ Unmarshaller unmarshaller = ctx.createUnmarshaller();
+ result = (Result) unmarshaller.unmarshal(inStream);
+ } catch (Exception e)
+ {
+ throw new RuntimeException("Oops",e);
+ }
+
+ return result;
+ }
+
+}
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,61 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbpapp3389;
-
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-
-import junit.framework.Test;
-
-import org.jboss.test.ws.jaxws.jbws1309.EndpointInterface;
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-
-/**
- * [JBPAPP-3389] Error marshaling elements with attributes.
- *
- * https://jira.jboss.org/jira/browse/JBPAPP-3389
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 12th January 2010
- */
-public class JBPAPP3389TestCase extends JBossWSTest {
-
- private String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-jbpapp3389";
-
- public static Test suite() {
- return new JBossWSTestSetup(JBPAPP3389TestCase.class,
- "jaxws-jbpapp3389.war");
- }
-
- public void testCall() throws Exception {
- URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
- QName serviceName = new QName("http://ws.jboss.org/jbpapp3389",
- "EndpointImplService");
- Endpoint port = Service.create(wsdlURL, serviceName).getPort(
- Endpoint.class);
-
- Result result = port.echo("Hello");
- }
-}
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/JBPAPP3389TestCase.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,63 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbpapp3389;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.jaxws.jbws1309.EndpointInterface;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+/**
+ * [JBPAPP-3389] Error marshaling elements with attributes.
+ *
+ * https://jira.jboss.org/jira/browse/JBPAPP-3389
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th January 2010
+ */
+public class JBPAPP3389TestCase extends JBossWSTest {
+
+ private String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() + ":8080/jaxws-jbpapp3389";
+
+ public static Test suite() {
+ return new JBossWSTestSetup(JBPAPP3389TestCase.class,
+ "jaxws-jbpapp3389.war");
+ }
+
+ public void testCall() throws Exception {
+ URL wsdlURL = new URL(TARGET_ENDPOINT_ADDRESS + "?wsdl");
+ QName serviceName = new QName("http://ws.jboss.org/jbpapp3389",
+ "EndpointImplService");
+ Endpoint port = Service.create(wsdlURL, serviceName).getPort(
+ Endpoint.class);
+
+ Result result = port.echo("Hello");
+
+ assertNotNull(result);
+ }
+}
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,45 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * 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.jbpapp3389;
-
-import javax.xml.bind.annotation.XmlRootElement;
-
-/**
- * Return Type
- *
- * @author darran.lofthouse(a)jboss.com
- * @since 12th Jan 2010
- */
-@XmlRootElement(name = "Result")
-public class Result {
-
- private AnyWrapper anyWrapper;
-
- public AnyWrapper getAnyWrapper() {
- return anyWrapper;
- }
-
- public void setAnyWrapper(AnyWrapper anyWrapper) {
- this.anyWrapper = anyWrapper;
- }
-
-}
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/Result.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,45 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * 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.jbpapp3389;
+
+import javax.xml.bind.annotation.XmlRootElement;
+
+/**
+ * Return Type
+ *
+ * @author darran.lofthouse(a)jboss.com
+ * @since 12th Jan 2010
+ */
+@XmlRootElement(name = "Result")
+public class Result {
+
+ private AnyWrapper anyWrapper;
+
+ public AnyWrapper getAnyWrapper() {
+ return anyWrapper;
+ }
+
+ public void setAnyWrapper(AnyWrapper anyWrapper) {
+ this.anyWrapper = anyWrapper;
+ }
+
+}
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,23 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2010, 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.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://ws.jboss.org/jbpapp3389", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
-package org.jboss.test.ws.jaxws.jbpapp3389;
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/java/org/jboss/test/ws/jaxws/jbpapp3389/package-info.java 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,23 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, 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.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+(a)javax.xml.bind.annotation.XmlSchema(namespace = "http://ws.jboss.org/jbpapp3389", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package org.jboss.test.ws.jaxws.jbpapp3389;
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389 (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389)
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF)
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<Result xmlns="http://ws.jboss.org/jbpapp3389">
- <anyWrapper>
- <ns3:extension xmlns:ns3="http://jboss.org/support" number="1234">
- <ns4:location xmlns:ns4="http://jboss.org/support/sub" building="56">
-
- </ns4:location>
- </ns3:extension>
- </anyWrapper>
-</Result>
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/response.xml 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<Result xmlns="http://ws.jboss.org/jbpapp3389">
+ <anyWrapper>
+ <ns3:extension xmlns:ns3="http://jboss.org/support" number="1234">
+ <ns4:location xmlns:ns4="http://jboss.org/support/sub" building="56">
+
+ </ns4:location>
+ </ns3:extension>
+ </anyWrapper>
+</Result>
Deleted: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml
===================================================================
--- stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml 2010-01-13 11:49:29 UTC (rev 11395)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml 2010-01-13 14:34:32 UTC (rev 11401)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<web-app version="2.4" 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">
-
- <servlet>
- <servlet-name>TestEndpoint</servlet-name>
- <servlet-class>org.jboss.test.ws.jaxws.jbpapp3389.EndpointImpl</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>TestEndpoint</servlet-name>
- <url-pattern>/</url-pattern>
- </servlet-mapping>
-</web-app>
\ No newline at end of file
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml (from rev 11395, stack/native/branches/dlofthouse/JBPAPP-3389/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml)
===================================================================
--- stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml (rev 0)
+++ stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/modules/testsuite/native-tests/src/test/resources/jaxws/jbpapp3389/WEB-INF/web.xml 2010-01-13 14:34:32 UTC (rev 11401)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app version="2.4" 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">
+
+ <servlet>
+ <servlet-name>TestEndpoint</servlet-name>
+ <servlet-class>org.jboss.test.ws.jaxws.jbpapp3389.EndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestEndpoint</servlet-name>
+ <url-pattern>/</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file
14 years, 4 months
JBossWS SVN: r11400 - stack/native/branches.
by jbossws-commits@lists.jboss.org
Author: darran.lofthouse(a)jboss.com
Date: 2010-01-13 08:28:25 -0500 (Wed, 13 Jan 2010)
New Revision: 11400
Added:
stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399/
Log:
[JBPAPP-3399] Branch for patch.
Copied: stack/native/branches/jbossws-native-3.1.2.SP3-patch-02_JBPAPP-3399 (from rev 11399, stack/native/tags/jbossws-native-3.1.2.SP3-patch-02)
14 years, 4 months