[jbossws-commits] JBossWS SVN: r4190 - in stack/native/trunk: ant-import and 7 other directories.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Fri Aug 3 11:12:46 EDT 2007


Author: heiko.braun at jboss.com
Date: 2007-08-03 11:12:45 -0400 (Fri, 03 Aug 2007)
New Revision: 4190

Added:
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassA.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassB.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassC.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperB.java
   stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperC.java
   stack/native/trunk/src/test/resources/jaxws/jbws1702/
   stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/
   stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/jboss-web.xml
   stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/web.xml
Modified:
   stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
   stack/native/trunk/ant-import/build-thirdparty.xml
   stack/native/trunk/jbossws-core.iml
   stack/native/trunk/version.properties
Log:
JBWS-1702, first cut. Works with wrapped, still bare needs to be tested

Modified: stack/native/trunk/ant-import/build-thirdparty.xml
===================================================================
--- stack/native/trunk/ant-import/build-thirdparty.xml	2007-08-03 15:05:21 UTC (rev 4189)
+++ stack/native/trunk/ant-import/build-thirdparty.xml	2007-08-03 15:12:45 UTC (rev 4190)
@@ -45,6 +45,7 @@
     description="Gets the thirdparty libraries">
 
     <mkdir dir="${thirdparty.dir}"/>
+    <get src="${jboss.repository}/junit/${junit}/lib/junit.jar" dest="${thirdparty.dir}/junit.jar" usetimestamp="true" verbose="true"/>
     <get src="${jboss.repository}/jboss/jbossws-common/${jbossws-common}/lib/jbossws-common.jar" dest="${thirdparty.dir}/jbossws-common.jar" usetimestamp="true" verbose="true"/>
     <get src="${jboss.repository}/jboss/jbossws-framework/${jbossws-framework}/lib/jbossws-framework.jar" dest="${thirdparty.dir}/jbossws-framework.jar" usetimestamp="true" verbose="true"/>
     <get src="${jboss.repository}/jboss/jbossws-framework/${jbossws-framework}/lib/jbossws-framework-scripts.zip" dest="${thirdparty.dir}/jbossws-framework-scripts.zip" usetimestamp="true" verbose="true"/>

Modified: stack/native/trunk/ant-import-tests/build-jars-jaxws.xml
===================================================================
--- stack/native/trunk/ant-import-tests/build-jars-jaxws.xml	2007-08-03 15:05:21 UTC (rev 4189)
+++ stack/native/trunk/ant-import-tests/build-jars-jaxws.xml	2007-08-03 15:12:45 UTC (rev 4190)
@@ -333,7 +333,15 @@
       </classes>
     </war>
 
-	 <!-- jaxws namespace -->
+    <!-- jaxws-jbws1702 -->
+    <war destfile="${tests.output.dir}/libs/jaxws-jbws1702.war" webxml="${tests.output.dir}/resources/jaxws/jbws1702/WEB-INF/web.xml">
+      <classes dir="${tests.output.dir}/classes">
+        <include name="org/jboss/test/ws/jaxws/jbws1702/**/*.class"/>
+      </classes>
+      <webinf dir="${tests.output.dir}/resources/jaxws/jbws1702/WEB-INF"/>
+    </war>
+
+   <!-- jaxws namespace -->
     <war warfile="${tests.output.dir}/libs/jaxws-namespace.war" webxml="${tests.output.dir}/resources/jaxws/namespace/WEB-INF/web.xml">
       <classes dir="${tests.output.dir}/classes">
         <include name="org/jboss/test/ws/jaxws/namespace/EndpointBean.class"/>

Modified: stack/native/trunk/jbossws-core.iml
===================================================================
--- stack/native/trunk/jbossws-core.iml	2007-08-03 15:05:21 UTC (rev 4189)
+++ stack/native/trunk/jbossws-core.iml	2007-08-03 15:12:45 UTC (rev 4190)
@@ -515,6 +515,34 @@
       </library>
     </orderEntry>
     <orderEntry type="module" module-name="sunri-sources" />
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/thirdparty/jbossws-common.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/thirdparty/junit.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module-library">
+      <library>
+        <CLASSES>
+          <root url="jar://$MODULE_DIR$/thirdparty/jbossws-spi.jar!/" />
+        </CLASSES>
+        <JAVADOC />
+        <SOURCES />
+      </library>
+    </orderEntry>
+    <orderEntry type="module" module-name="framework" />
     <orderEntryProperties />
   </component>
 </module>

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,74 @@
+/*
+ * 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.jbws1702;
+
+import junit.framework.Test;
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassB;
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
+import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperB;
+import org.jboss.wsf.test.JBossWSTest;
+import org.jboss.wsf.test.JBossWSTestSetup;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+import java.net.URL;
+
+/**
+ * @author Heiko.Braun at jboss.com
+ * @version $Revision$
+ */
+public class JBWS1702TestCase extends JBossWSTest
+{
+   public static Test suite()
+   {
+      return new JBossWSTestSetup(JBWS1702TestCase.class, "jaxws-jbws1702.war");
+   }
+
+   public void testInheritanceBare() throws Exception
+   {
+      System.out.println("FIXME: [JBWS-1702]: Type inheritance on Doclit/Bare");
+      /*Service service = Service.create(
+        new URL("http://"+getServerHost()+":8080/jbws1702/SampleWSWithDocument_Bare?wsdl"),
+        new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithDocument_BareService")
+      );
+
+      SampleWSBareSEI port = service.getPort(SampleWSBareSEI.class);
+      ResponseWrapperB wrapper = port.getClassCAsClassB();
+      ClassB b = wrapper.getData();
+      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
+      */
+   }
+
+   public void testInheritanceWrapped() throws Exception
+   {
+      Service service = Service.create(
+        new URL("http://"+getServerHost()+":8080/jbws1702/SampleWSWithDocument_Wrapped?wsdl"),
+        new QName("http://jbws1702.jaxws.ws.test.jboss.org/", "SampleWSWithDocument_WrappedService")
+      );
+
+      SampleWSWrappedSEI port = service.getPort(SampleWSWrappedSEI.class);
+      ClassB b = port.getClassCAsClassB();      
+      assertTrue("Should be an instance of ClassC, but was " + b, (b instanceof ClassC));
+   }
+
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/JBWS1702TestCase.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,42 @@
+/*
+ * 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.jbws1702;
+
+import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperB;
+import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperC;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * @author Heiko.Braun at jboss.com
+ * @version $Revision$
+ */
+ at WebService
+public interface SampleWSBareSEI
+{
+   @WebMethod()
+   ResponseWrapperB getClassCAsClassB();
+
+   @WebMethod()
+   ResponseWrapperC getClassC();
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSBareSEI.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,81 @@
+/*
+ * 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.jbws1702;
+
+import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperB;
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
+import org.jboss.test.ws.jaxws.jbws1702.types.ResponseWrapperC;
+
+import javax.jws.soap.SOAPBinding;
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+ at WebService(endpointInterface = "org.jboss.test.ws.jaxws.jbws1702.SampleWSBareSEI")
+ at SOAPBinding(
+  style = SOAPBinding.Style.DOCUMENT,
+  use = SOAPBinding.Use.LITERAL,
+  parameterStyle = SOAPBinding.ParameterStyle.BARE
+)
+public class SampleWSWithDocument_Bare implements SampleWSBareSEI
+{
+
+  /**
+   * Creates a new instance of SampleWSWithDocument_Bare
+   */
+  public SampleWSWithDocument_Bare() {
+  }
+
+  /**
+   * In .NET Client (C#) only the content information of ClassB is being submitted.  (--> propC is unknown)
+   */
+  @WebMethod()
+  public ResponseWrapperB getClassCAsClassB() {
+    ClassC classC= new ClassC();
+    classC.setPropA("propA");
+    classC.setPropB("propB");
+    classC.setPropC("propC");
+
+    ResponseWrapperB resp = new ResponseWrapperB();
+    resp.setData(classC);
+    return resp;
+  }
+
+  /**
+   * Method that make ClassC available for all clients using this web service.
+   */
+  @WebMethod()
+  public ResponseWrapperC getClassC() {
+    ClassC data = (ClassC) getClassCAsClassB().getData();
+    ResponseWrapperC resp = new ResponseWrapperC();
+    resp.setData(data);
+    return resp;
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Bare.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,73 @@
+/*
+ * 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.jbws1702;
+
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassB;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+
+ at WebService(endpointInterface = "org.jboss.test.ws.jaxws.jbws1702.SampleWSWrappedSEI")
+ at SOAPBinding( style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED )
+public class SampleWSWithDocument_Wrapped implements SampleWSWrappedSEI
+{
+
+  /**
+   * Creates a new instance of SampleWSWithDocument_Wrapped
+   */
+  public SampleWSWithDocument_Wrapped() {
+  }
+
+  /**
+   * In .NET Client (C#) only the content information of ClassB is being submitted. (--> propC is unknown)
+   */
+  @WebMethod()
+  public ClassB getClassCAsClassB() {
+    ClassC classC= new ClassC();
+    classC.setPropA("propA");
+    classC.setPropB("propB");
+    classC.setPropC("propC");
+    return classC;
+  }
+
+  /**
+   * Method that make ClassC available for all clients using this web service.
+   * !! Is there another possibility to make inherited classes available? In J2EE4 styled endpoints you could
+   * declare additional Classes in a seperate xml descriptor file. !!
+   */
+  @WebMethod()
+  public ClassC getClassC() {
+    return new ClassC();
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithDocument_Wrapped.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,74 @@
+/*
+ * 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.jbws1702;
+
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassB;
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
+
+import javax.jws.WebService;
+import javax.jws.WebMethod;
+import javax.jws.soap.SOAPBinding;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+
+ at WebService()
+ at SOAPBinding( style = SOAPBinding.Style.RPC, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE )
+public class SampleWSWithRPC_Bare
+{
+
+  /**
+   * Creates a new instance of SampleWSWithDocument_Wrapped
+   */
+  public SampleWSWithRPC_Bare() {
+  }
+
+  /**
+   * In .NET Client (C#) the follow error occurs:
+   * "The specified type was not recognized: name='classC', namespace='', at <return xmlns=''>."
+   */
+  @WebMethod()
+  public ClassB getClassCAsClassB() {
+    ClassC classC= new ClassC();
+    classC.setPropA("propA");
+    classC.setPropB("propB");
+    classC.setPropC("propC");
+    return classC;
+  }
+
+  /**
+   * Method that make ClassC available for all clients using this web service.
+   * !! Is there another possibility to make inherited classes available? In J2EE4 styled endpoints you could
+   * declare additional Classes in a seperate xml descriptor file. !!
+   */
+  @WebMethod()
+  public ClassC getClassC() {
+    return new ClassC();
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWithRPC_Bare.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,42 @@
+/*
+ * 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.jbws1702;
+
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassB;
+import org.jboss.test.ws.jaxws.jbws1702.types.ClassC;
+
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+
+/**
+ * @author Heiko.Braun at jboss.com
+ * @version $Revision$
+ */
+ at WebService
+public interface SampleWSWrappedSEI
+{
+   @WebMethod()
+   ClassB getClassCAsClassB();
+
+   @WebMethod()
+   ClassC getClassC();
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/SampleWSWrappedSEI.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassA.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassA.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassA.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,54 @@
+/*
+ * 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.jbws1702.types;
+
+import javax.xml.bind.annotation.XmlSeeAlso;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+ at XmlSeeAlso({ClassB.class, ClassC.class})
+public class ClassA
+{
+
+  private String propA;
+
+  /**
+   * Creates a new instance of ClassA
+   */
+  public ClassA() {
+  }
+
+  public String getPropA() {
+    return propA;
+  }
+
+  public void setPropA(String propA) {
+    this.propA = propA;
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassA.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassB.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassB.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassB.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,53 @@
+/*
+ * 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.jbws1702.types;
+
+import javax.xml.bind.annotation.XmlSeeAlso;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+ at XmlSeeAlso({ClassC.class})
+public class ClassB extends ClassA {
+
+  private String propB;
+
+  /**
+   * Creates a new instance of ClassB
+   */
+  public ClassB() {
+  }
+
+  public String getPropB() {
+    return propB;
+  }
+
+  public void setPropB(String propB) {
+    this.propB = propB;
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassB.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassC.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassC.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassC.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -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.jbws1702.types;
+
+import javax.xml.bind.annotation.XmlSeeAlso;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+public class ClassC extends ClassB {
+
+  private String propC;
+
+  /**
+   * Creates a new instance of ClassC
+   */
+  public ClassC() {
+  }
+
+  public String getPropC() {
+    return propC;
+  }
+
+  public void setPropC(String propC) {
+    this.propC = propC;
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ClassC.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperB.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperB.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperB.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,57 @@
+/*
+ * 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.jbws1702.types;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+ at XmlAccessorType(XmlAccessType.PROPERTY)
+ at XmlType(name = "ResponseWrapperB", namespace="http://mstrauch.examples.ws/", propOrder = { "data" })
+public class ResponseWrapperB
+{
+
+
+  private ClassB _data;
+
+  public ResponseWrapperB() {
+  }
+
+  @XmlElement(namespace="http://mstrauch.examples.ws/",  required = true)
+  public ClassB getData() {
+    return _data;
+  }
+
+  public void setData(ClassB data) {
+    this._data = data;
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperB.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperC.java
===================================================================
--- stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperC.java	                        (rev 0)
+++ stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperC.java	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,56 @@
+/*
+ * 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.jbws1702.types;
+
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlElement;
+
+/**
+ *
+ *
+ * <p>Copyright: Copyright (c) 2006</p>
+ * <p>Organisation: Marabu EDV</p>
+ * @author strauch
+ * @version     1.0
+ */
+ at XmlAccessorType(XmlAccessType.PROPERTY)
+ at XmlType(name = "ResponseWrapperC", namespace="http://mstrauch.examples.ws/", propOrder = { "data" })
+public class ResponseWrapperC
+{
+
+  private ClassC _data;
+
+  public ResponseWrapperC() {
+  }
+
+  @XmlElement(namespace="http://mstrauch.examples.ws/",  required = true)
+  public ClassC getData() {
+    return _data;
+  }
+
+  public void setData(ClassC data) {
+    this._data = data;
+  }
+
+}


Property changes on: stack/native/trunk/src/test/java/org/jboss/test/ws/jaxws/jbws1702/types/ResponseWrapperC.java
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/jboss-web.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/jboss-web.xml	                        (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/jboss-web.xml	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<jboss-web>
+  <security-domain flushOnSessionInvalidation="false"/>
+  <context-root>/jbws1702</context-root>
+</jboss-web>


Property changes on: stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/jboss-web.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Added: stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/web.xml
===================================================================
--- stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/web.xml	                        (rev 0)
+++ stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/web.xml	2007-08-03 15:12:45 UTC (rev 4190)
@@ -0,0 +1,30 @@
+<?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>SampleWSWithDocument_Wrapped</servlet-name>
+      <servlet-class>org.jboss.test.ws.jaxws.jbws1702.SampleWSWithDocument_Wrapped</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>SampleWSWithDocument_Bare</servlet-name>
+        <servlet-class>org.jboss.test.ws.jaxws.jbws1702.SampleWSWithDocument_Bare</servlet-class>
+    </servlet>
+    <servlet>
+        <servlet-name>SampleWSWithRPC_Bare</servlet-name>
+        <servlet-class>org.jboss.test.ws.jaxws.jbws1702.SampleWSWithRPC_Bare</servlet-class>
+    </servlet>
+    
+    <servlet-mapping>
+        <servlet-name>SampleWSWithDocument_Wrapped</servlet-name>
+        <url-pattern>/SampleWSWithDocument_Wrapped</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>SampleWSWithDocument_Bare</servlet-name>
+        <url-pattern>/SampleWSWithDocument_Bare</url-pattern>
+    </servlet-mapping>
+    <servlet-mapping>
+        <servlet-name>SampleWSWithRPC_Bare</servlet-name>
+        <url-pattern>/SampleWSWithRPC_Bare</url-pattern>
+    </servlet-mapping>
+    
+</web-app>


Property changes on: stack/native/trunk/src/test/resources/jaxws/jbws1702/WEB-INF/web.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF

Modified: stack/native/trunk/version.properties
===================================================================
--- stack/native/trunk/version.properties	2007-08-03 15:05:21 UTC (rev 4189)
+++ stack/native/trunk/version.properties	2007-08-03 15:12:45 UTC (rev 4190)
@@ -6,6 +6,7 @@
 ibm-wsdl4j=1.6.2
 javassist=3.5.0.CR1
 jbpm-bpel=1.1.0.Beta5
+jboss-common-core=2.0.2.GA
 jbossws-common=2.0.1.CR1
 jbossws-framework=2.0.1.CR1
 jbossws-spi=2.0.1.CR1




More information about the jbossws-commits mailing list