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