[jbossws-commits] JBossWS SVN: r3370 - in trunk: testsuite/ant-import and 2 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Fri Jun 1 11:23:20 EDT 2007


Author: thomas.diesler at jboss.com
Date: 2007-06-01 11:23:20 -0400 (Fri, 01 Jun 2007)
New Revision: 3370

Added:
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotation.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotationResponse.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotation.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotationResponse.java
Modified:
   trunk/integration/sunri/src/test/resources/excludes-jboss50.txt
   trunk/testsuite/ant-import/build-jars-jaxws.xml
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpoint.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpointImpl.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayload.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayloadWithoutRef.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpoint.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpointImpl.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/SWARefTestCase.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpoint.java
   trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.java
Log:
Enable sunri swaref

Modified: trunk/integration/sunri/src/test/resources/excludes-jboss50.txt
===================================================================
--- trunk/integration/sunri/src/test/resources/excludes-jboss50.txt	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/integration/sunri/src/test/resources/excludes-jboss50.txt	2007-06-01 15:23:20 UTC (rev 3370)
@@ -10,13 +10,16 @@
 
 # [JBWS-1674] Fix @WebServiceRef with SunRI
 org/jboss/test/ws/jaxws/samples/retail/**
+org/jboss/test/ws/jaxws/samples/webserviceref/**
 
-#org/jboss/test/ws/jaxws/samples/soapbinding/**
-org/jboss/test/ws/jaxws/samples/swaref/**
-org/jboss/test/ws/jaxws/samples/webmethod/**
-org/jboss/test/ws/jaxws/samples/webservice/**
-org/jboss/test/ws/jaxws/samples/webserviceref/**
+# Exclude JBossWS-Native stuff
 org/jboss/test/ws/jaxws/samples/wsaddressing/**
 org/jboss/test/ws/jaxws/samples/wseventing/**
 org/jboss/test/ws/jaxws/samples/wssecurity/**
+
+
+#org/jboss/test/ws/jaxws/samples/swaref/**
+org/jboss/test/ws/jaxws/samples/webmethod/**
+org/jboss/test/ws/jaxws/samples/webservice/**
 org/jboss/test/ws/jaxws/samples/xop/**
+

Modified: trunk/testsuite/ant-import/build-jars-jaxws.xml
===================================================================
--- trunk/testsuite/ant-import/build-jars-jaxws.xml	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/ant-import/build-jars-jaxws.xml	2007-06-01 15:23:20 UTC (rev 3370)
@@ -216,8 +216,14 @@
      <!-- jaxws-samples-swaref -->
     <jar jarfile="${tests.output.dir}/libs/jaxws-samples-swaref.jar">
       <fileset dir="${tests.output.dir}/classes">
-        <include name="org/jboss/test/ws/jaxws/samples/swaref/*.class"/>
-        <exclude name="org/jboss/test/ws/jaxws/samples/swaref/*Test*.class"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/jaxws/**"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/BareEndpoint.class"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/BareEndpointImpl.class"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpoint.class"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpointImpl.class"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpoint.class"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.class"/>
+        <include name="org/jboss/test/ws/jaxws/samples/swaref/DocumentPayload*.class"/>
       </fileset>
     </jar>
      

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpoint.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpoint.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpoint.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import javax.jws.WebService;
@@ -7,9 +28,9 @@
 import javax.xml.bind.annotation.XmlAttachmentRef;
 import java.rmi.RemoteException;
 
- at WebService(name="BareEndpoint")
+ at Remote
+ at WebService(name="BareEndpoint", serviceName="BareEndpointService")
 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
- at Remote
 public interface BareEndpoint
 {
    @WebMethod

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpointImpl.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpointImpl.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/BareEndpointImpl.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import org.jboss.wsf.spi.annotation.WebContext;
@@ -4,6 +25,7 @@
 
 import javax.jws.WebService;
 import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
 import javax.ejb.Stateless;
 import javax.activation.DataHandler;
 import javax.xml.bind.annotation.XmlAttachmentRef;
@@ -13,11 +35,12 @@
 import java.rmi.RemoteException;
 
 @Stateless
- at WebService(endpointInterface = "org.jboss.test.ws.jaxws.samples.swaref.BareEndpoint")
+ at WebService(name="BareEndpoint", serviceName="BareEndpointService")
+ at SOAPBinding(style = SOAPBinding.Style.DOCUMENT, parameterStyle = SOAPBinding.ParameterStyle.BARE)
 @WebContext(contextRoot = "jaxws-swaref")
 public class BareEndpointImpl implements BareEndpoint
 {
-
+   @WebMethod
    public DocumentPayload beanAnnotation(DocumentPayload payload) throws RemoteException
    {
       try

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayload.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayload.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayload.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import javax.activation.DataHandler;

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayloadWithoutRef.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayloadWithoutRef.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/DocumentPayloadWithoutRef.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,7 +1,27 @@
+/*
+ * 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.samples.swaref;
 
 import javax.activation.DataHandler;
-import javax.xml.bind.annotation.XmlAttachmentRef;
 import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlRootElement;
 
@@ -22,7 +42,7 @@
       this.data = data;
    }
 
-   @XmlElement   
+   @XmlElement
    public DataHandler getData()
    {
       return data;

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpoint.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpoint.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpoint.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import javax.jws.WebMethod;
@@ -9,7 +30,7 @@
 import java.rmi.RemoteException;
 
 @Remote
- at WebService
+ at WebService(name="RpcLitEndpoint", serviceName="RpcLitEndpointService")
 @SOAPBinding(style = SOAPBinding.Style.RPC)
 public interface RpcLitEndpoint
 {

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpointImpl.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpointImpl.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/RpcLitEndpointImpl.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import org.jboss.wsf.spi.annotation.WebContext;
@@ -5,19 +26,22 @@
 import javax.ejb.Stateless;
 import javax.jws.WebService;
 import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+import javax.xml.bind.annotation.XmlAttachmentRef;
 import javax.xml.ws.WebServiceException;
 import javax.activation.DataHandler;
 import java.rmi.RemoteException;
 import java.io.IOException;
 
 @Stateless
- at WebService(endpointInterface = "org.jboss.test.ws.jaxws.samples.swaref.RpcLitEndpoint")
+ at WebService(name="RpcLitEndpoint", serviceName="RpcLitEndpointService")
+ at SOAPBinding(style = SOAPBinding.Style.RPC)
 @WebContext(contextRoot = "jaxws-swaref")
 public class RpcLitEndpointImpl implements RpcLitEndpoint
 {
-
    @WebMethod
-   public DataHandler parameterAnnotation(DataHandler data) throws RemoteException
+   @XmlAttachmentRef
+   public DataHandler parameterAnnotation(@XmlAttachmentRef DataHandler data)  throws RemoteException
    {
       try
       {

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/SWARefTestCase.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/SWARefTestCase.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/SWARefTestCase.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import junit.framework.Test;
@@ -21,9 +42,9 @@
    private String wrappedEndpointURL = "http://" + getServerHost() + ":8080/jaxws-swaref/WrappedEndpointImpl";
    private String rpclitEndpointURL = "http://" + getServerHost() + ":8080/jaxws-swaref/RpcLitEndpointImpl";
 
-   private QName bareServiceQName = new QName("http://swaref.samples.jaxws.ws.test.jboss.org/", "BareEndpointImplService");
-   private QName wrappedServiceQName = new QName("http://swaref.samples.jaxws.ws.test.jboss.org/", "WrappedEndpointImplService");
-   private QName rpcLitServiceQName = new QName("http://swaref.samples.jaxws.ws.test.jboss.org/", "RpcLitEndpointImplService");
+   private QName bareServiceQName = new QName("http://swaref.samples.jaxws.ws.test.jboss.org/", "BareEndpointService");
+   private QName wrappedServiceQName = new QName("http://swaref.samples.jaxws.ws.test.jboss.org/", "WrappedEndpointService");
+   private QName rpcLitServiceQName = new QName("http://swaref.samples.jaxws.ws.test.jboss.org/", "RpcLitEndpointService");
 
    private static DataHandler data = new DataHandler("Client data", "text/plain");
 
@@ -40,15 +61,6 @@
       assertTrue(response.getData().getContent().equals("Server data"));
    }
    
-   /*public void testParameterAnnotationWithBare() throws Exception
-   {
-      Service service = Service.create(new URL(bareEndpointURL +"?wsdl"), bareServiceQName);
-      BareEndpoint port = service.getPort(BareEndpoint.class);
-
-      DocumentPayloadWithoutRef response = port.parameterAnnotation(new DocumentPayloadWithoutRef(data));
-      assertTrue(response.getData().getContent().equals("Server data"));
-   }*/
-
    public void testBeanAnnotationWithWrapped() throws Exception
    {
       Service service = Service.create(new URL(wrappedEndpointURL+"?wsdl"), wrappedServiceQName);
@@ -79,16 +91,4 @@
       assertTrue(response.getData().getContent().equals("Server data"));
 
    }
-
-   /*public void testParameterAnnotationWithRPC() throws Exception
-   {
-      Service service = Service.create(new URL(rpclitEndpointURL+"?wsdl"), rpcLitServiceQName);
-      RpcLitEndpoint port = service.getPort(RpcLitEndpoint.class);
-
-      DataHandler response = port.parameterAnnotation(data);
-      assertNotNull("Response was null", response);
-      assertTrue(response.getContent().equals("Server data"));
-
-   }*/
-
 }

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpoint.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpoint.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpoint.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import javax.jws.WebMethod;
@@ -8,7 +29,7 @@
 import java.rmi.RemoteException;
 
 @Remote
- at WebService
+ at WebService(name = "WrappedEndpoint", serviceName = "WrappedEndpointService")
 public interface WrappedEndpoint
 {
    @WebMethod

Modified: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.java	2007-06-01 15:20:39 UTC (rev 3369)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/WrappedEndpointImpl.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -1,3 +1,24 @@
+/*
+  * 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.samples.swaref;
 
 import org.jboss.wsf.spi.annotation.WebContext;
@@ -16,13 +37,10 @@
 import java.rmi.RemoteException;
 
 @Stateless
- at WebService(endpointInterface = "org.jboss.test.ws.jaxws.samples.swaref.WrappedEndpoint")
+ at WebService(name = "WrappedEndpoint", serviceName = "WrappedEndpointService")
 @WebContext(contextRoot = "jaxws-swaref")
 public class WrappedEndpointImpl implements WrappedEndpoint
 {
-   /* (non-Javadoc)
-   * @see org.jboss.ws.test.TestService#parameterAnnotation(javax.activation.DataHandler)
-   */
    @WebMethod
    public DocumentPayload beanAnnotation(DocumentPayload dhw, String test)  throws RemoteException
    {

Added: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotation.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotation.java	                        (rev 0)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotation.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -0,0 +1,60 @@
+
+package org.jboss.test.ws.jaxws.samples.swaref.jaxws;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.test.ws.jaxws.samples.swaref.DocumentPayload;
+
+ at XmlRootElement(name = "beanAnnotation", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/")
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "beanAnnotation", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/", propOrder = {
+    "arg0",
+    "arg1"
+})
+public class BeanAnnotation {
+
+    @XmlElement(name = "arg0", namespace = "")
+    private DocumentPayload arg0;
+    @XmlElement(name = "arg1", namespace = "")
+    private String arg1;
+
+    /**
+     * 
+     * @return
+     *     returns DocumentPayload
+     */
+    public DocumentPayload getArg0() {
+        return this.arg0;
+    }
+
+    /**
+     * 
+     * @param arg0
+     *     the value for the arg0 property
+     */
+    public void setArg0(DocumentPayload arg0) {
+        this.arg0 = arg0;
+    }
+
+    /**
+     * 
+     * @return
+     *     returns String
+     */
+    public String getArg1() {
+        return this.arg1;
+    }
+
+    /**
+     * 
+     * @param arg1
+     *     the value for the arg1 property
+     */
+    public void setArg1(String arg1) {
+        this.arg1 = arg1;
+    }
+
+}


Property changes on: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotation.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotationResponse.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotationResponse.java	                        (rev 0)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotationResponse.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -0,0 +1,37 @@
+
+package org.jboss.test.ws.jaxws.samples.swaref.jaxws;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+import org.jboss.test.ws.jaxws.samples.swaref.DocumentPayload;
+
+ at XmlRootElement(name = "beanAnnotationResponse", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/")
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "beanAnnotationResponse", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/")
+public class BeanAnnotationResponse {
+
+    @XmlElement(name = "return", namespace = "")
+    private DocumentPayload _return;
+
+    /**
+     * 
+     * @return
+     *     returns DocumentPayload
+     */
+    public DocumentPayload getReturn() {
+        return this._return;
+    }
+
+    /**
+     * 
+     * @param _return
+     *     the value for the _return property
+     */
+    public void setReturn(DocumentPayload _return) {
+        this._return = _return;
+    }
+
+}


Property changes on: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/BeanAnnotationResponse.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotation.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotation.java	                        (rev 0)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotation.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -0,0 +1,62 @@
+
+package org.jboss.test.ws.jaxws.samples.swaref.jaxws;
+
+import javax.activation.DataHandler;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttachmentRef;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+ at XmlRootElement(name = "parameterAnnotation", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/")
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "parameterAnnotation", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/", propOrder = {
+    "arg0",
+    "arg1"
+})
+public class ParameterAnnotation {
+
+    @XmlElement(name = "arg0", namespace = "")
+    @XmlAttachmentRef
+    private DataHandler arg0;
+    @XmlElement(name = "arg1", namespace = "")
+    private String arg1;
+
+    /**
+     * 
+     * @return
+     *     returns DataHandler
+     */
+    public DataHandler getArg0() {
+        return this.arg0;
+    }
+
+    /**
+     * 
+     * @param arg0
+     *     the value for the arg0 property
+     */
+    public void setArg0(DataHandler arg0) {
+        this.arg0 = arg0;
+    }
+
+    /**
+     * 
+     * @return
+     *     returns String
+     */
+    public String getArg1() {
+        return this.arg1;
+    }
+
+    /**
+     * 
+     * @param arg1
+     *     the value for the arg1 property
+     */
+    public void setArg1(String arg1) {
+        this.arg1 = arg1;
+    }
+
+}


Property changes on: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotation.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotationResponse.java
===================================================================
--- trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotationResponse.java	                        (rev 0)
+++ trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotationResponse.java	2007-06-01 15:23:20 UTC (rev 3370)
@@ -0,0 +1,39 @@
+
+package org.jboss.test.ws.jaxws.samples.swaref.jaxws;
+
+import javax.activation.DataHandler;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttachmentRef;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+ at XmlRootElement(name = "parameterAnnotationResponse", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/")
+ at XmlAccessorType(XmlAccessType.FIELD)
+ at XmlType(name = "parameterAnnotationResponse", namespace = "http://swaref.samples.jaxws.ws.test.jboss.org/")
+public class ParameterAnnotationResponse {
+
+    @XmlElement(name = "return", namespace = "")
+    @XmlAttachmentRef
+    private DataHandler _return;
+
+    /**
+     * 
+     * @return
+     *     returns DataHandler
+     */
+    public DataHandler getReturn() {
+        return this._return;
+    }
+
+    /**
+     * 
+     * @param _return
+     *     the value for the _return property
+     */
+    public void setReturn(DataHandler _return) {
+        this._return = _return;
+    }
+
+}


Property changes on: trunk/testsuite/src/java/org/jboss/test/ws/jaxws/samples/swaref/jaxws/ParameterAnnotationResponse.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list