Author: alessio.soldano(a)jboss.com
Date: 2008-09-29 12:47:10 -0400 (Mon, 29 Sep 2008)
New Revision: 8288
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3RemoteInterface.java
Modified:
framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3Bean.java
Log:
[JBWS-2241] Adding remote interface
Modified: framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml
===================================================================
--- framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2008-09-29 15:33:14 UTC
(rev 8287)
+++ framework/trunk/testsuite/test/ant-import/build-jars-jaxws.xml 2008-09-29 16:47:10 UTC
(rev 8288)
@@ -523,10 +523,11 @@
</fileset>
</jar>
+ <!-- jaxws-jbws2241 -->
<jar jarfile="${tests.output.dir}/test-libs/jaxws-jbws2241.jar">
<fileset dir="${tests.output.dir}/test-classes">
<include
name="org/jboss/test/ws/jaxws/jbws2241/EJB3Bean.class"/>
- <include
name="org/jboss/test/ws/jaxws/jbws2241/EJB3Remote.class"/>
+ <include
name="org/jboss/test/ws/jaxws/jbws2241/EJB3RemoteInterface.class"/>
<include
name="org/jboss/test/ws/jaxws/jbws2241/EndpointInterface.class"/>
<include
name="org/jboss/test/ws/jaxws/jbws2241/EndpointService.class"/>
</fileset>
Modified:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3Bean.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3Bean.java 2008-09-29
15:33:14 UTC (rev 8287)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3Bean.java 2008-09-29
16:47:10 UTC (rev 8288)
@@ -21,12 +21,14 @@
*/
package org.jboss.test.ws.jaxws.jbws2241;
+import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.jws.WebService;
@Stateless
@WebService(name = "EJB3Bean")
-public class EJB3Bean
+(a)Remote(EJB3RemoteInterface.class)
+public class EJB3Bean implements EJB3RemoteInterface
{
public String hello(String msg)
{
Added:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3RemoteInterface.java
===================================================================
---
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3RemoteInterface.java
(rev 0)
+++
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3RemoteInterface.java 2008-09-29
16:47:10 UTC (rev 8288)
@@ -0,0 +1,27 @@
+/*
+ * 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.jbws2241;
+
+public interface EJB3RemoteInterface
+{
+ String hello(String msg);
+}
Property changes on:
framework/trunk/testsuite/test/java/org/jboss/test/ws/jaxws/jbws2241/EJB3RemoteInterface.java
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF