Author: jim.ma
Date: 2010-05-07 02:33:18 -0400 (Fri, 07 May 2010)
New Revision: 12183
Added:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml
Removed:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml
Modified:
framework/branches/jbossws-framework-3.1.2/testsuite/test/ant-import/build-jars-jaxws.xml
Log:
[JBPAPP-4232]:Moved JBWS1666TestCaset to framework
Modified:
framework/branches/jbossws-framework-3.1.2/testsuite/test/ant-import/build-jars-jaxws.xml
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/ant-import/build-jars-jaxws.xml 2010-05-06
13:21:35 UTC (rev 12182)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/ant-import/build-jars-jaxws.xml 2010-05-07
06:33:18 UTC (rev 12183)
@@ -253,7 +253,14 @@
<include name="org/jboss/test/ws/jaxws/jbws1665/**/*.class"/>
</fileset>
</jar>
-
+
+ <!-- jaxws-jbws1666 -->
+ <war destfile="${tests.output.dir}/test-libs/jaxws-jbws1666.war"
webxml="${tests.output.dir}/test-resources/jaxws/jbws1666/WEB-INF/web.xml">
+ <classes dir="${tests.output.dir}/test-classes">
+ <include
name="org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.class"/>
+ </classes>
+ </war>
+
<!-- jaxws-jbws1694 -->
<jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws1694.jar">
<fileset dir="${tests.output.dir}/test-classes">
Copied:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666
(from rev 10796, framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666)
Property changes on:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666
___________________________________________________________________
Name: svn:mergeinfo
+
Deleted:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2009-09-30
08:04:07 UTC (rev 10796)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -1,105 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2009, 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.jbws1666;
-
-import java.io.BufferedReader;
-import java.io.ByteArrayOutputStream;
-import java.io.File;
-import java.io.InputStreamReader;
-
-import junit.framework.Test;
-
-import org.jboss.wsf.test.JBossWSTest;
-import org.jboss.wsf.test.JBossWSTestSetup;
-import org.jboss.wsf.common.IOUtils;
-
-/**
- * [JBWS-1666] Simplify JBossWS jar dependencies
- *
- *
http://jira.jboss.org/jira/browse/JBWS-1666
- *
- * @author Thomas.Diesler(a)jboss.com
- * @since 14-Jun-2007
- */
-public class JBWS1666TestCase extends JBossWSTest
-{
-
- private static final String FS = System.getProperty("file.separator"); //
'/' on unix, '\' on windows
- private static final String PS = System.getProperty("path.separator"); //
':' on unix, ';' on windows
-
- java.util.Properties props = System.getProperties();
-
- public static Test suite()
- {
- return new JBossWSTestSetup(JBWS1666TestCase.class,
"jaxws-jbws1666.war");
- }
-
- public void testPortAccess() throws Exception
- {
- String resStr = TestClient.testPortAccess(getServerHost());
- assertEquals(TestClient.REQ_STR, resStr);
- }
-
- public void testClientAccess() throws Exception
- {
- File javaFile = new File (System.getProperty("java.home") + FS +
"bin" + FS + "java");
- String javaCmd = javaFile.exists() ? javaFile.getCanonicalPath() :
"java";
-
- String jbh = System.getProperty("jboss.home");
- String jbc = jbh + FS + "client";
- String jbl = jbh + FS + "lib";
-
- // Setup the classpath - do not modify this lightheartedly.
- // Maybe you should extend the Class-Path in the MANIFEST instead.
- StringBuffer cp = new
StringBuffer(System.getProperty("test.classes.directory"));
- //${stack.name} will be filtered before executed in specific stack
- cp.append(PS + jbc + FS + "jbossws-${stack.name}-client.jar");
- cp.append(PS + jbc + FS + "jboss-common-core.jar");
- cp.append(PS + jbc + FS + "jboss-logging-spi.jar");
- cp.append(PS + jbc + FS + "jboss-logging-log4j.jar");
- cp.append(PS + jbc + FS + "jcl-over-slf4j.jar");
- cp.append(PS + jbc + FS + "slf4j-api.jar");
- cp.append(PS + jbc + FS + "slf4j-jboss-logging.jar");
- cp.append(PS + jbc + FS + "jbosssx-client.jar");
- cp.append(PS + jbc + FS + "jboss-javaee.jar");
-
- Runtime rt = Runtime.getRuntime();
-
- String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + FS +
"endorsed -cp " + cp + " " + TestClient.class.getName() + "
" + getServerHost();
- System.out.println("Executing command: " + command);
- Process proc = rt.exec(command);
- int status = proc.waitFor();
- if (status == 0)
- {
- BufferedReader br = new BufferedReader(new
InputStreamReader(proc.getInputStream()));
- String resStr = br.readLine();
- assertEquals(TestClient.REQ_STR, resStr);
- }
- else
- {
- ByteArrayOutputStream baos = new ByteArrayOutputStream();
- IOUtils.copyStream(baos, proc.getErrorStream());
- String errStr = new String(baos.toByteArray());
- fail(errStr);
- }
- }
-}
Copied:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
(from rev 10796,
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java)
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java
(rev 0)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/JBWS1666TestCase.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -0,0 +1,121 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2009, 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.jbws1666;
+
+import java.io.BufferedReader;
+import java.io.ByteArrayOutputStream;
+import java.io.File;
+import java.io.InputStreamReader;
+
+import junit.framework.Test;
+
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+import org.jboss.wsf.common.IOUtils;
+
+/**
+ * [JBWS-1666] Simplify JBossWS jar dependencies
+ *
+ *
http://jira.jboss.org/jira/browse/JBWS-1666
+ *
+ * @author Thomas.Diesler(a)jboss.com
+ * @since 14-Jun-2007
+ */
+public class JBWS1666TestCase extends JBossWSTest
+{
+
+ private static final String FS = System.getProperty("file.separator"); //
'/' on unix, '\' on windows
+ private static final String PS = System.getProperty("path.separator"); //
':' on unix, ';' on windows
+
+ java.util.Properties props = System.getProperties();
+
+ public static Test suite()
+ {
+ return new JBossWSTestSetup(JBWS1666TestCase.class,
"jaxws-jbws1666.war");
+ }
+
+ public void testPortAccess() throws Exception
+ {
+ String resStr = TestClient.testPortAccess(getServerHost());
+ assertEquals(TestClient.REQ_STR, resStr);
+ }
+
+ public void testClientAccess() throws Exception
+ {
+ File javaFile = new File (System.getProperty("java.home") + FS +
"bin" + FS + "java");
+ String javaCmd = javaFile.exists() ? javaFile.getCanonicalPath() :
"java";
+
+ String jbh = System.getProperty("jboss.home");
+ String jbc = jbh + FS + "client";
+ String jbl = jbh + FS + "lib";
+
+ // Setup the classpath - do not modify this lightheartedly.
+ // Maybe you should extend the Class-Path in the MANIFEST instead.
+ StringBuffer cp = new
StringBuffer(System.getProperty("test.classes.directory"));
+ String stackName = null;
+ if (isIntegrationCXF())
+ {
+ stackName = "cxf";
+ }
+ else if (isIntegrationMetro())
+ {
+ stackName = "metro";
+ }
+ else if (isIntegrationNative())
+ {
+ stackName = "native";
+ }
+ else
+ {
+ throw new Exception("unsupported stack");
+ }
+ cp.append(PS + jbc + FS + "jbossws-" + stackName +
"-client.jar");
+ cp.append(PS + jbc + FS + "jboss-common-core.jar");
+ cp.append(PS + jbc + FS + "jboss-logging-spi.jar");
+ cp.append(PS + jbc + FS + "jboss-logging-log4j.jar");
+ cp.append(PS + jbc + FS + "jcl-over-slf4j.jar");
+ cp.append(PS + jbc + FS + "slf4j-api.jar");
+ cp.append(PS + jbc + FS + "slf4j-jboss-logging.jar");
+ cp.append(PS + jbc + FS + "jbosssx-client.jar");
+ cp.append(PS + jbc + FS + "jboss-javaee.jar");
+
+ Runtime rt = Runtime.getRuntime();
+
+ String command = javaCmd + " -Djava.endorsed.dirs=" + jbl + FS +
"endorsed -cp " + cp + " " + TestClient.class.getName() + "
" + getServerHost();
+ System.out.println("Executing command: " + command);
+ Process proc = rt.exec(command);
+ int status = proc.waitFor();
+ if (status == 0)
+ {
+ BufferedReader br = new BufferedReader(new
InputStreamReader(proc.getInputStream()));
+ String resStr = br.readLine();
+ assertEquals(TestClient.REQ_STR, resStr);
+ }
+ else
+ {
+ ByteArrayOutputStream baos = new ByteArrayOutputStream();
+ IOUtils.copyStream(baos, proc.getErrorStream());
+ String errStr = new String(baos.toByteArray());
+ fail(errStr);
+ }
+ }
+}
Deleted:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java 2009-09-30
08:04:07 UTC (rev 10796)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -1,51 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.jbws1666;
-
-import java.net.URL;
-
-import javax.xml.namespace.QName;
-import javax.xml.ws.Service;
-
-public class TestClient
-{
- public static final String REQ_STR = "Hello World!";
-
- public static String testPortAccess(String serverHost) throws Exception
- {
- URL wsdlURL = new URL("http://" + serverHost +
":8080/jaxws-jbws1666?wsdl");
-
- QName serviceName = new QName("http://org.jboss.ws/jbws1666",
"TestEndpointImplService");
- Service service = Service.create(wsdlURL, serviceName);
- TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
-
- String resStr = port.echo(REQ_STR);
- return resStr;
- }
-
- public static void main(String[] args) throws Exception
- {
- String serverHost = args[0];
- String resStr = testPortAccess(serverHost);
- System.out.println(resStr);
- }
-}
Copied:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
(from rev 10796,
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java)
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java
(rev 0)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestClient.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -0,0 +1,51 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jbws1666;
+
+import java.net.URL;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+public class TestClient
+{
+ public static final String REQ_STR = "Hello World!";
+
+ public static String testPortAccess(String serverHost) throws Exception
+ {
+ URL wsdlURL = new URL("http://" + serverHost +
":8080/jaxws-jbws1666?wsdl");
+
+ QName serviceName = new QName("http://org.jboss.ws/jbws1666",
"TestEndpointImplService");
+ Service service = Service.create(wsdlURL, serviceName);
+ TestEndpoint port = (TestEndpoint)service.getPort(TestEndpoint.class);
+
+ String resStr = port.echo(REQ_STR);
+ return resStr;
+ }
+
+ public static void main(String[] args) throws Exception
+ {
+ String serverHost = args[0];
+ String resStr = testPortAccess(serverHost);
+ System.out.println(resStr);
+ }
+}
Deleted:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java 2009-09-30
08:04:07 UTC (rev 10796)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -1,32 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.jbws1666;
-
-import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-
-@WebService(name = "TestEndpoint", targetNamespace =
"http://org.jboss.ws/jbws1666")
-@SOAPBinding(style = SOAPBinding.Style.RPC)
-public interface TestEndpoint
-{
- String echo(String input);
-}
Copied:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
(from rev 10796,
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java)
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java
(rev 0)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpoint.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -0,0 +1,32 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jbws1666;
+
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "TestEndpoint", targetNamespace =
"http://org.jboss.ws/jbws1666")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public interface TestEndpoint
+{
+ String echo(String input);
+}
Deleted:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java 2009-09-30
08:04:07 UTC (rev 10796)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -1,37 +0,0 @@
-/*
- * JBoss, Home of Professional Open Source.
- * Copyright 2006, 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.jbws1666;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-import javax.jws.soap.SOAPBinding;
-
-@WebService(name = "TestEndpoint", targetNamespace =
"http://org.jboss.ws/jbws1666")
-@SOAPBinding(style = SOAPBinding.Style.RPC)
-public class TestEndpointImpl
-{
- @WebMethod
- public String echo(String input)
- {
- return input;
- }
-}
Copied:
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
(from rev 10796,
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java)
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java
(rev 0)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/java/org/jboss/test/ws/jaxws/jbws1666/TestEndpointImpl.java 2010-05-07
06:33:18 UTC (rev 12183)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, 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.jbws1666;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService(name = "TestEndpoint", targetNamespace =
"http://org.jboss.ws/jbws1666")
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class TestEndpointImpl
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
Copied: framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666
(from rev 10796, framework/trunk/testsuite/test/resources/jaxws/jbws1666)
Property changes on:
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666
___________________________________________________________________
Name: svn:mergeinfo
+
Copied:
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF
(from rev 10796, framework/trunk/testsuite/test/resources/jaxws/jbws1666/WEB-INF)
Deleted:
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml
===================================================================
--- framework/trunk/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml 2009-09-30
08:04:07 UTC (rev 10796)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml 2010-05-07
06:33:18 UTC (rev 12183)
@@ -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.jbws1666.TestEndpointImpl</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:
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml
(from rev 10796, framework/trunk/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml)
===================================================================
---
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml
(rev 0)
+++
framework/branches/jbossws-framework-3.1.2/testsuite/test/resources/jaxws/jbws1666/WEB-INF/web.xml 2010-05-07
06:33:18 UTC (rev 12183)
@@ -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.jbws1666.TestEndpointImpl</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestEndpoint</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
\ No newline at end of file