Author: thomas.diesler(a)jboss.com
Date: 2006-12-11 03:22:29 -0500 (Mon, 11 Dec 2006)
New Revision: 1621
Added:
trunk/src/main/resources/jbossws.deployer/META-INF/jbossws-deployer-beans.xml
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EJB3Bean.java
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarEjb3TestCase.java
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarJseTestCase.java
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EndpointInterface.java
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/JSEBean.java
trunk/src/test/resources/jaxws/eardeployment/
trunk/src/test/resources/jaxws/eardeployment/WEB-INF/
trunk/src/test/resources/jaxws/eardeployment/WEB-INF/web.xml
Removed:
trunk/src/main/resources/jbossws.beans/
trunk/src/main/resources/jbossws.deployer/META-INF/deployer-beans.xml
trunk/src/main/resources/jbossws.sar/META-INF/jboss-service.xml
Modified:
trunk/build.xml
trunk/src/test/ant/build-jars-jaxws.xml
Log:
Move deployers to deployers/jbossws.deployer
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2006-12-10 20:42:11 UTC (rev 1620)
+++ trunk/build.xml 2006-12-11 08:22:29 UTC (rev 1621)
@@ -322,11 +322,7 @@
<!-- Build jbossws.sar -->
<jar jarfile="${build.lib.dir}/jbossws.sar"
manifest="${build.etc.dir}/default.mf">
<fileset dir="${build.lib.dir}">
- <include name="jbossws-jboss-integration.jar"/>
<include name="jbossws-context.war"/>
- <include name="jbossws-core.jar"/>
- <include name="jboss-jaxws.jar"/>
- <include name="jbossws.beans/**"/>
</fileset>
<fileset dir="${thirdparty.dir}">
<include name="jaxb-api.jar"/>
@@ -334,7 +330,6 @@
<include name="policy-1.0.jar"/>
<include name="sjsxp.jar"/>
<include name="stax-api-1.0.jar"/>
- <include name="wsdl4j.jar"/>
<include name="wstx-lgpl-2.9.3.jar"/>
<include name="xmlsec.jar"/>
</fileset>
@@ -343,12 +338,22 @@
<include name="META-INF/standard-jaxrpc-endpoint-config.xml"/>
<include name="META-INF/standard-jaxws-client-config.xml"/>
<include name="META-INF/standard-jaxws-endpoint-config.xml"/>
- <include name="META-INF/jboss-service.xml"/>
</fileset>
- <fileset dir="${build.resources.dir}">
- <include name="jbossws.beans/META-INF/jboss-beans.xml"/>
- <include name="jbossws.deployer/META-INF/deployer-beans.xml"/>
+ </jar>
+
+ <!-- Build jbossws.deployer -->
+ <jar jarfile="${build.lib.dir}/jbossws.deployer"
manifest="${build.etc.dir}/default.mf">
+ <fileset dir="${build.lib.dir}">
+ <include name="jbossws-jboss-integration.jar"/>
+ <include name="jbossws-core.jar"/>
+ <include name="jboss-jaxws.jar"/>
</fileset>
+ <fileset dir="${thirdparty.dir}">
+ <include name="wsdl4j.jar"/>
+ </fileset>
+ <metainf dir="${build.resources.dir}/jbossws.deployer/META-INF">
+ <include name="jbossws-deployer-beans.xml"/>
+ </metainf>
</jar>
<zip destfile="${build.lib.dir}/jbossws-src.zip">
@@ -415,6 +420,9 @@
<include name="jboss-saaj.jar"/>
</fileset>
</copy>
+ <delete
dir="${jboss.deploy.home}/server/${jboss.server.instance}/deployers/jbossws.deployer"/>
+ <mkdir
dir="${jboss.deploy.home}/server/${jboss.server.instance}/deployers/jbossws.deployer"/>
+ <unjar
dest="${jboss.deploy.home}/server/${jboss.server.instance}/deployers/jbossws.deployer"
src="${build.lib.dir}/jbossws.deployer"/>
<delete
dir="${jboss.deploy.home}/server/${jboss.server.instance}/deploy/${jbossws}.sar"/>
<mkdir
dir="${jboss.deploy.home}/server/${jboss.server.instance}/deploy/${jbossws}.sar"/>
<unjar
dest="${jboss.deploy.home}/server/${jboss.server.instance}/deploy/${jbossws}.sar"
src="${build.lib.dir}/${jbossws}.sar"/>
Deleted: trunk/src/main/resources/jbossws.deployer/META-INF/deployer-beans.xml
===================================================================
--- trunk/src/main/resources/jbossws.deployer/META-INF/deployer-beans.xml 2006-12-10
20:42:11 UTC (rev 1620)
+++ trunk/src/main/resources/jbossws.deployer/META-INF/deployer-beans.xml 2006-12-11
08:22:29 UTC (rev 1621)
@@ -1,61 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<deployment xmlns="urn:jboss:bean-deployer:2.0">
-
- <bean name="JAXWSDeployerEJB3"
class="org.jboss.ws.integration.jboss50.JAXWSDeployerEJB3">
- <install bean="MainDeployer" method="addDeployer">
- <parameter>
- <this/>
- </parameter>
- </install>
- <uninstall bean="MainDeployer" method="removeDeployer">
- <parameter>
- <this/>
- </parameter>
- </uninstall>
- <depends>EJBRegistrationDeployer</depends>
- <depends>JBossWebAppParsingDeployer</depends>
- </bean>
-
- <bean name="JAXWSDeployerJSE"
class="org.jboss.ws.integration.jboss50.JAXWSDeployerJSE">
- <install bean="MainDeployer" method="addDeployer">
- <parameter>
- <this/>
- </parameter>
- </install>
- <uninstall bean="MainDeployer" method="removeDeployer">
- <parameter>
- <this/>
- </parameter>
- </uninstall>
- <depends>JBossWebAppParsingDeployer</depends>
- </bean>
-
- <bean name="JAXRPCDeployerJSE"
class="org.jboss.ws.integration.jboss50.JAXRPCDeployerJSE">
- <install bean="MainDeployer" method="addDeployer">
- <parameter>
- <this/>
- </parameter>
- </install>
- <uninstall bean="MainDeployer" method="removeDeployer">
- <parameter>
- <this/>
- </parameter>
- </uninstall>
- <depends>JBossWebAppParsingDeployer</depends>
- </bean>
-
- <bean name="ServiceEndpointLifecycleDeployer"
class="org.jboss.ws.integration.jboss50.ServiceEndpointLifecycleDeployer">
- <install bean="MainDeployer" method="addDeployer">
- <parameter>
- <this/>
- </parameter>
- </install>
- <uninstall bean="MainDeployer" method="removeDeployer">
- <parameter>
- <this/>
- </parameter>
- </uninstall>
- </bean>
-
-</deployment>
Added: trunk/src/main/resources/jbossws.deployer/META-INF/jbossws-deployer-beans.xml
===================================================================
---
trunk/src/main/resources/jbossws.deployer/META-INF/jbossws-deployer-beans.xml 2006-12-10
20:42:11 UTC (rev 1620)
+++
trunk/src/main/resources/jbossws.deployer/META-INF/jbossws-deployer-beans.xml 2006-12-11
08:22:29 UTC (rev 1621)
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<deployment xmlns="urn:jboss:bean-deployer:2.0">
+
+ <bean name="ServiceEndpointManager"
class="org.jboss.ws.core.server.ServiceEndpointManager">
+
+ <!--
+ The WSDL, that is a required deployment artifact for an endpoint, has a
<soap:address>
+ element which points to the location of the endpoint. JBoss supports rewriting of
that SOAP address.
+
+ If the content of <soap:address> is a valid URL, JBossWS will not rewrite
it unless 'alwaysModifySOAPAddress' is true.
+ If the content of <soap:address> is not a valid URL, JBossWS will rewrite
it using the attribute values given below.
+
+ If 'webServiceHost' is an empty string, JBossWS uses requesters host when
rewriting the <soap:address>.
+ -->
+ <property
name="webServiceHost">${jboss.bind.address}</property>
+ <property name="webServiceSecurePort">8443</property>
+ <property name="webServicePort">8080</property>
+ <property name="alwaysModifySOAPAddress">true</property>
+
+ <property
name="serviceEndpointInvokerJSE">org.jboss.ws.core.server.ServiceEndpointInvokerJSE</property>
+ <property
name="serviceEndpointInvokerEJB3">org.jboss.ws.integration.jboss50.ServiceEndpointInvokerEJB3</property>
+ <!-- Not implemented
+ <property
name="serviceEndpointInvokerEJB21">org.jboss.ws.integration.jboss50.ServiceEndpointInvokerEJB21</property>
+ <property
name="serviceEndpointInvokerMDB">org.jboss.ws.integration.jboss50.ServiceEndpointInvokerMDB</property>
+ -->
+ </bean>
+
+ <bean name="ServiceEndpointDeployer"
class="org.jboss.ws.core.server.ServiceEndpointDeployer">
+ <property name="serviceEndpointManager">
+ <inject bean="ServiceEndpointManager"/>
+ </property>
+ </bean>
+
+ <bean name="ServiceEndpointPublisher"
class="org.jboss.ws.integration.jboss50.ServiceEndpointPublisher">
+ <property name="mainDeployer"><inject
bean="MainDeployer"/></property>
+ <property
name="serviceEndpointServlet">org.jboss.ws.integration.jboss50.JBossServiceEndpointServlet</property>
+ </bean>
+
+ <!-- Bind JAXRPC Service objects in application client environment context -->
+ <bean name="ServiceRefHandler"
class="org.jboss.ws.integration.jboss50.ServiceRefHandler"/>
+
+ <!-- A subscription manager for WS-Eventing -->
+ <bean name="SubscriptionManager"
class="org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager"/>
+
+ <bean name="ServerConfig"
class="org.jboss.ws.integration.jboss50.ServerConfigImpl"/>
+
+ <bean name="KernelLocator"
class="org.jboss.ws.core.server.KernelLocator">
+ <!--property name="kernel"><inject
bean="jboss.kernel:service=Kernel"/></property-->
+ </bean>
+
+ <bean name="JAXWSDeployerEJB3"
class="org.jboss.ws.integration.jboss50.JAXWSDeployerEJB3">
+ <install bean="MainDeployer" method="addDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </install>
+ <uninstall bean="MainDeployer" method="removeDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </uninstall>
+ <depends>EJBRegistrationDeployer</depends>
+ <depends>JBossWebAppParsingDeployer</depends>
+ <depends>ServiceEndpointManager</depends>
+ </bean>
+
+ <bean name="JAXWSDeployerJSE"
class="org.jboss.ws.integration.jboss50.JAXWSDeployerJSE">
+ <install bean="MainDeployer" method="addDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </install>
+ <uninstall bean="MainDeployer" method="removeDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </uninstall>
+ <depends>JBossWebAppParsingDeployer</depends>
+ <depends>ServiceEndpointManager</depends>
+ </bean>
+
+ <bean name="JAXRPCDeployerJSE"
class="org.jboss.ws.integration.jboss50.JAXRPCDeployerJSE">
+ <install bean="MainDeployer" method="addDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </install>
+ <uninstall bean="MainDeployer" method="removeDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </uninstall>
+ <depends>JBossWebAppParsingDeployer</depends>
+ <depends>ServiceEndpointManager</depends>
+ </bean>
+
+ <bean name="ServiceEndpointLifecycleDeployer"
class="org.jboss.ws.integration.jboss50.ServiceEndpointLifecycleDeployer">
+ <install bean="MainDeployer" method="addDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </install>
+ <uninstall bean="MainDeployer" method="removeDeployer">
+ <parameter>
+ <this/>
+ </parameter>
+ </uninstall>
+ <depends>ServiceEndpointManager</depends>
+ </bean>
+
+</deployment>
Property changes on:
trunk/src/main/resources/jbossws.deployer/META-INF/jbossws-deployer-beans.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Deleted: trunk/src/main/resources/jbossws.sar/META-INF/jboss-service.xml
===================================================================
--- trunk/src/main/resources/jbossws.sar/META-INF/jboss-service.xml 2006-12-10 20:42:11
UTC (rev 1620)
+++ trunk/src/main/resources/jbossws.sar/META-INF/jboss-service.xml 2006-12-11 08:22:29
UTC (rev 1621)
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!-- $Id$ -->
-
-<server>
-
- <!-- no mbeans, this is a pojo service -->
-
-</server>
Modified: trunk/src/test/ant/build-jars-jaxws.xml
===================================================================
--- trunk/src/test/ant/build-jars-jaxws.xml 2006-12-10 20:42:11 UTC (rev 1620)
+++ trunk/src/test/ant/build-jars-jaxws.xml 2006-12-11 08:22:29 UTC (rev 1621)
@@ -42,6 +42,18 @@
</classes>
</war>
+ <!-- jaxws-eardeployment -->
+ <war warfile="${build.tests.dir}/libs/jaxws-eardeployment.war"
webxml="${build.tests.dir}/resources/jaxws/eardeployment/WEB-INF/web.xml">
+ <classes dir="${build.tests.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/eardeployment/JSEBean.class"/>
+ </classes>
+ </war>
+ <jar jarfile="${build.tests.dir}/libs/jaxws-eardeployment.jar">
+ <fileset dir="${build.tests.dir}/classes">
+ <include
name="org/jboss/test/ws/jaxws/eardeployment/EJB3Bean.class"/>
+ </fileset>
+ </jar>
+
<!-- jaxws-endpoint-servlet -->
<war warfile="${build.tests.dir}/libs/jaxws-endpoint-servlet.war"
webxml="${build.tests.dir}/resources/jaxws/endpoint/WEB-INF/web.xml">
<classes dir="${build.tests.dir}/classes">
Added: trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EJB3Bean.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EJB3Bean.java 2006-12-10
20:42:11 UTC (rev 1620)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EJB3Bean.java 2006-12-11
08:22:29 UTC (rev 1621)
@@ -0,0 +1,39 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.eardeployment;
+
+import javax.ejb.Stateless;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@Stateless
+@WebService
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class EJB3Bean
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
Property changes on:
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EJB3Bean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarEjb3TestCase.java
===================================================================
---
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarEjb3TestCase.java 2006-12-10
20:42:11 UTC (rev 1620)
+++
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarEjb3TestCase.java 2006-12-11
08:22:29 UTC (rev 1621)
@@ -0,0 +1,50 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.eardeployment;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+
+/**
+ * Test ear deployment
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 08-Dec-2006
+ */
+public class EarEjb3TestCase extends JBossWSTest
+{
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() +
":8080/jaxws-eardeployment";
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(EarEjb3TestCase.class,
"jaxws-eardeployment.jar");
+ }
+
+ public void testWebService() throws Exception
+ {
+ String helloWorld = "Hello world!";
+// Object retObj = port.echo(helloWorld);
+// assertEquals(helloWorld, retObj);
+ }
+}
Property changes on:
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarEjb3TestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarJseTestCase.java
===================================================================
---
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarJseTestCase.java 2006-12-10
20:42:11 UTC (rev 1620)
+++
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarJseTestCase.java 2006-12-11
08:22:29 UTC (rev 1621)
@@ -0,0 +1,52 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.eardeployment;
+
+import junit.framework.Test;
+
+import org.jboss.test.ws.JBossWSTest;
+import org.jboss.test.ws.JBossWSTestSetup;
+
+/**
+ * Test ear deployment
+ *
+ * @author Thomas.Diesler(a)jboss.org
+ * @since 29-Apr-2005
+ */
+public class EarJseTestCase extends JBossWSTest
+{
+ public final String TARGET_ENDPOINT_ADDRESS = "http://" + getServerHost() +
":8080/jaxws-samples-jsr181pojo";
+
+ private static EndpointInterface port;
+
+ public static Test suite()
+ {
+ return JBossWSTestSetup.newTestSetup(EarJseTestCase.class,
"jaxws-eardeployment.war");
+ }
+
+ public void testWebService() throws Exception
+ {
+ String helloWorld = "Hello world!";
+ //Object retObj = port.echo(helloWorld);
+ //assertEquals(helloWorld, retObj);
+ }
+}
Property changes on:
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EarJseTestCase.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EndpointInterface.java
===================================================================
---
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EndpointInterface.java 2006-12-10
20:42:11 UTC (rev 1620)
+++
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EndpointInterface.java 2006-12-11
08:22:29 UTC (rev 1621)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.eardeployment;
+
+import java.rmi.Remote;
+import java.rmi.RemoteException;
+
+public interface EndpointInterface extends Remote
+{
+ String echo(String input) throws RemoteException;
+}
Property changes on:
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/EndpointInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/JSEBean.java
===================================================================
--- trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/JSEBean.java 2006-12-10
20:42:11 UTC (rev 1620)
+++ trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/JSEBean.java 2006-12-11
08:22:29 UTC (rev 1621)
@@ -0,0 +1,37 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt 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.eardeployment;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.jws.soap.SOAPBinding;
+
+@WebService
+@SOAPBinding(style = SOAPBinding.Style.RPC)
+public class JSEBean
+{
+ @WebMethod
+ public String echo(String input)
+ {
+ return input;
+ }
+}
Property changes on:
trunk/src/test/java/org/jboss/test/ws/jaxws/eardeployment/JSEBean.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
Added: trunk/src/test/resources/jaxws/eardeployment/WEB-INF/web.xml
===================================================================
--- trunk/src/test/resources/jaxws/eardeployment/WEB-INF/web.xml 2006-12-10 20:42:11 UTC
(rev 1620)
+++ trunk/src/test/resources/jaxws/eardeployment/WEB-INF/web.xml 2006-12-11 08:22:29 UTC
(rev 1621)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<web-app
xmlns="http://java.sun.com/xml/ns/j2ee"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
+ version="2.4">
+
+ <servlet>
+ <servlet-name>TestService</servlet-name>
+
<servlet-class>org.jboss.test.ws.jaxws.eardeployment.JSEBean</servlet-class>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>TestService</servlet-name>
+ <url-pattern>/JSEBean</url-pattern>
+ </servlet-mapping>
+
+</web-app>
+
Property changes on: trunk/src/test/resources/jaxws/eardeployment/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF