[jbossws-commits] JBossWS SVN: r6293 - framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Wed Apr 9 05:25:47 EDT 2008


Author: thomas.diesler at jboss.com
Date: 2008-04-09 05:25:47 -0400 (Wed, 09 Apr 2008)
New Revision: 6293

Added:
   framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client1.java
   framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client2.java
   framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client3.java
Removed:
   framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/ClientIface.java
Modified:
   framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/JBWS1872TestCase.java
Log:
Use SEIs with explict name

Copied: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client1.java (from rev 6270, framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/ClientIface.java)
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client1.java	                        (rev 0)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client1.java	2008-04-09 09:25:47 UTC (rev 6293)
@@ -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.jbws1872;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * Interface used on client side
+ *
+ * @author richard.opalka at jboss.com
+ */
+ at WebService(name = "Bean1", targetNamespace = "http://org.jboss.ws/jbws1872")
+public interface Client1
+{
+   @WebMethod
+   String echo(String msg);
+}

Added: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client2.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client2.java	                        (rev 0)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client2.java	2008-04-09 09:25:47 UTC (rev 6293)
@@ -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.jbws1872;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * Interface used on client side
+ *
+ * @author richard.opalka at jboss.com
+ */
+ at WebService(name = "Bean2", targetNamespace = "http://org.jboss.ws/jbws1872")
+public interface Client2
+{
+   @WebMethod
+   String echo(String msg);
+}


Property changes on: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client2.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client3.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client3.java	                        (rev 0)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client3.java	2008-04-09 09:25:47 UTC (rev 6293)
@@ -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.jbws1872;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * Interface used on client side
+ *
+ * @author richard.opalka at jboss.com
+ */
+ at WebService(name = "Bean3", targetNamespace = "http://org.jboss.ws/jbws1872")
+public interface Client3
+{
+   @WebMethod
+   String echo(String msg);
+}


Property changes on: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/Client3.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Deleted: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/ClientIface.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/ClientIface.java	2008-04-09 09:02:20 UTC (rev 6292)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/ClientIface.java	2008-04-09 09:25:47 UTC (rev 6293)
@@ -1,37 +0,0 @@
-/*
- * 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.jbws1872;
-
-import javax.jws.WebMethod;
-import javax.jws.WebService;
-
-/**
- * Interface used on client side
- *
- * @author richard.opalka at jboss.com
- */
- at WebService
-public interface ClientIface
-{
-   @WebMethod
-   String echo(String msg);
-}

Modified: framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/JBWS1872TestCase.java
===================================================================
--- framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/JBWS1872TestCase.java	2008-04-09 09:02:20 UTC (rev 6292)
+++ framework/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1872/JBWS1872TestCase.java	2008-04-09 09:25:47 UTC (rev 6293)
@@ -46,9 +46,9 @@
    public void testEJB1() throws Exception
    {
       URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1872/EJB3Bean1?wsdl");
-      QName serviceName = new QName("http://org.jboss.ws/jbws1872", "EJB3Bean1Service");
+      QName serviceName = new QName("http://org.jboss.ws/jbws1872", "Bean1Service");
       Service service = Service.create(wsdlURL, serviceName);
-      ClientIface port = service.getPort(ClientIface.class);
+      Client1 port = service.getPort(Client1.class);
       String retStr = port.echo("hello");
       assertEquals("bean1-hello", retStr);
    }
@@ -56,9 +56,9 @@
    public void testEJB2() throws Exception
    {
       URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1872/EJB3Bean2?wsdl");
-      QName serviceName = new QName("http://org.jboss.ws/jbws1872", "EJB3Bean2Service");
+      QName serviceName = new QName("http://org.jboss.ws/jbws1872", "Bean2Service");
       Service service = Service.create(wsdlURL, serviceName);
-      ClientIface port = service.getPort(ClientIface.class);
+      Client2 port = service.getPort(Client2.class);
       String retStr = port.echo("hello");
       assertEquals("bean2-hello", retStr);
    }
@@ -66,9 +66,9 @@
    public void testEJB3() throws Exception
    {
       URL wsdlURL = new URL("http://" + getServerHost() + ":8080/jaxws-jbws1872/EJB3Bean3?wsdl");
-      QName serviceName = new QName("http://org.jboss.ws/jbws1872", "EJB3Bean3Service");
+      QName serviceName = new QName("http://org.jboss.ws/jbws1872", "Bean3Service");
       Service service = Service.create(wsdlURL, serviceName);
-      ClientIface port = service.getPort(ClientIface.class);
+      Client3 port = service.getPort(Client3.class);
       String retStr = port.echo("hello");
       assertEquals("bean3-hello", retStr);
    }




More information about the jbossws-commits mailing list