tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r1233390 [1/2] - in /tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen: ./ src/ src/main/ src/main/java/ src/main/java/anotherpackage/ src/main/java/datatypes/ src/main/java/datatypes/impl/ src/main/java/helloworld/ src/main/java/other/ s...
Date Thu, 19 Jan 2012 14:22:27 GMT
Author: slaws
Date: Thu Jan 19 14:22:25 2012
New Revision: 1233390

URL: http://svn.apache.org/viewvc?rev=1233390&view=rev
Log:
TUSCANY-3283 - Port or wsdlgen test from 1.x. Have included wsdl-validator tests here also but not enabled them yet

Added:
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/pom.xml
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/BBean.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/CBean.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/BaseClass.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ComplexNumber.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/DataTypes.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ExtClass.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/GetDataServiceWithoutException.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/DataTypesImpl.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/GetDataServiceWithoutExceptionImpl.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/ABean.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldClientImpl.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldException.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldImpl.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldService.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/package-info.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/EBean.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/OtherPojo.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/package-info.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/AnotherHelloWorldException.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/DBean.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/FBean.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/package-info.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/DataTypes.composite
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/META-INF/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/META-INF/sca-contribution.xml
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/definitions.xml
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/helloworld.composite
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService.wsdl
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema1.xsd
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema2.xsd
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema3.xsd
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema4.xsd
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/README
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/datatypes/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/datatypes/BaseFramework.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/datatypes/DataTypesTestCase.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/datatypes/DynamicSDOTestCase.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/helloworld/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/helloworld/SchemaCorrectionTestCase.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/java/helloworld/WSDLGenTestCase.java
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/test/resources/
    tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/wsgen.bat

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/pom.xml?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/pom.xml (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/pom.xml Thu Jan 19 14:22:25 2012
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
+-->
+<project>
+    <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.tuscany.sca</groupId>
+        <artifactId>itest-ws</artifactId>
+        <version>2.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    <artifactId>itest-ws-wsdlgen</artifactId>
+    <name>Apache Tuscany SCA iTest WS WSDL Generation</name>
+
+    <dependencies>
+        
+        <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-base-runtime-pom</artifactId>
+            <type>pom</type>
+            <version>2.0-SNAPSHOT</version>
+        </dependency>
+
+       <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-binding-ws-runtime-axis2</artifactId>
+            <version>2.0-SNAPSHOT</version>
+       </dependency>
+       
+       <dependency>
+            <groupId>org.apache.tuscany.sca</groupId>
+            <artifactId>tuscany-databinding-sdo</artifactId>
+            <version>2.0-SNAPSHOT</version>
+       </dependency>       
+                
+        <dependency>
+            <groupId>org.mortbay.jetty</groupId>
+            <artifactId>jetty</artifactId>
+            <version>6.1.19</version>
+        </dependency>
+                
+    </dependencies>
+    
+    <build>
+       <finalName>${project.artifactId}</finalName>
+        <plugins>               
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>jaxws-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>generate-test-sources</phase>
+                        <goals>
+                            <goal>wsgen</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <sei>helloworld.HelloWorldImpl</sei>
+                    <genWsdl>true</genWsdl>           
+                    <keep>true</keep>
+                    <destDir>${basedir}/target/classes</destDir>
+                    <resourceDestDir>${basedir}/target/jaxws/wsgen/wsdl</resourceDestDir>
+                    <sourceDestDir>${basedir}/target/jaxws/wsgen/source</sourceDestDir>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/BBean.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/BBean.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/BBean.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/BBean.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,56 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package anotherpackage;
+
+import javax.xml.bind.annotation.XmlType;
+
+import yetyetanotherpackage.FBean;
+
+@XmlType(namespace="http://helloworld/")
+public class BBean {
+    
+    protected String field1;
+    protected String field2;
+    protected FBean field3;
+
+    public String getField1() {
+        return field1;
+    }
+    
+    public void setField1(String field1) {
+        this.field1 = field1;
+    }
+    
+    public String getField2() {
+        return field2;
+    }
+    
+    public void setField2(String field2) {
+        this.field2 = field2;
+    }
+    
+    public FBean getField3() {
+        return field3;
+    }
+    
+    public void setField3(FBean field3) {
+        this.field3 = field3;
+    }
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/CBean.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/CBean.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/CBean.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/anotherpackage/CBean.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,45 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package anotherpackage;
+
+import javax.xml.bind.annotation.XmlType;
+
+@XmlType(name="")
+public class CBean {
+    
+    protected String field1;
+    protected String field2;
+
+    public String getField1() {
+        return field1;
+    }
+    
+    public void setField1(String field1) {
+        this.field1 = field1;
+    }
+    
+    public String getField2() {
+        return field2;
+    }
+    
+    public void setField2(String field2) {
+        this.field2 = field2;
+    }
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/BaseClass.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/BaseClass.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/BaseClass.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/BaseClass.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package datatypes;
+
+import java.io.Serializable;
+
+public class BaseClass implements Serializable {
+    private static final long serialVersionUID = -4086312879555658070L;
+
+    private long id;
+
+    private String commentair;
+    
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCommentair() {
+        return commentair;
+    }
+
+    public void setCommentair(String commentair) {
+        this.commentair = commentair;
+    }
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ComplexNumber.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ComplexNumber.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ComplexNumber.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ComplexNumber.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package datatypes;
+
+public class ComplexNumber {
+    private double real, imaginary;
+
+    public ComplexNumber(double real, double imaginary) {
+        this.real = real;
+        this.imaginary = imaginary;
+    }
+
+    public ComplexNumber() {
+    }
+
+    public double getReal() {
+        return real;
+    }
+
+    public void setReal(double real) {
+        this.real = real;
+    }
+
+    public double getImaginary() {
+        return imaginary;
+    }
+
+    public void setImaginary(double imaginary) {
+        this.imaginary = imaginary;
+    }
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/DataTypes.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/DataTypes.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/DataTypes.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/DataTypes.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,78 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package datatypes;
+
+import java.util.List;
+import javax.jws.WebParam;
+import javax.jws.soap.SOAPBinding;
+
+import org.oasisopen.sca.ServiceReference;
+import org.oasisopen.sca.annotation.Remotable;
+
+import commonj.sdo.DataObject;
+import other.OtherPojo;
+
+@Remotable
+public interface DataTypes {
+
+    void testSimpleInt(int simple);
+
+    void testSimpleArrayInt(int[] simple);
+
+    void testSimpleMultiArrayInt(int[][] simple);
+
+    void testSimpleMulti3ArrayInt(int[][][] simple);
+
+    void testList(List any);
+
+    void testSimpleListString(List<String> simple);
+
+    List<String> testReturnSimpleListString();
+
+    void testListByteArray(List<byte[]> byteArrayList);
+
+    void testListWildcard(List<?> wild);
+
+    void testComplex(ComplexNumber complex);
+
+    void testOtherPackage(OtherPojo pojo);
+
+    void testByteArray(byte[] byteArray);
+
+    void testBaseExtension(ExtClass ext);
+
+    void testServiceReference(ServiceReference ref);
+
+    void testException() throws Exception;
+
+    DataObject testDynamicSDO();
+
+    void testWebParamSDO(@WebParam(name="foo") DataObject myObject);
+
+    void testWebParamSDOArray(@WebParam(name="foo") DataObject[] myArray);
+/*
+
+    @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.BARE)
+    void testWebParamBare(@WebParam(name="simpleInt") int simple);
+
+    @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.BARE)
+    void testWebParamBareArray(@WebParam(name="arrayInt") int[] array);
+*/
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ExtClass.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ExtClass.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ExtClass.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/ExtClass.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,34 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package datatypes;
+
+public class ExtClass extends BaseClass {
+    private static final long serialVersionUID = 7076974968473202208L;
+
+    private String name;
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/GetDataServiceWithoutException.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/GetDataServiceWithoutException.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/GetDataServiceWithoutException.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/GetDataServiceWithoutException.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package datatypes;
+
+import commonj.sdo.DataObject;
+import java.util.List;
+
+import org.oasisopen.sca.annotation.Remotable;
+
+@Remotable
+public abstract interface GetDataServiceWithoutException
+{
+  public abstract byte[] getMessage(String paramString);
+
+  public abstract List<byte[]> getMessageList(String paramString);
+
+  public abstract DataObject getMessageSDO(String paramString);
+
+  public abstract List<DataObject> getMessageListSDOList(String paramString);
+
+  public abstract DataObject[] getMessageListSDOArr(String paramString);
+
+  public abstract DataObject getMessageListSDOinSDO(String paramString);
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/DataTypesImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/DataTypesImpl.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/DataTypesImpl.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/DataTypesImpl.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package datatypes.impl;
+
+import java.util.List;
+import javax.jws.WebParam;
+import javax.jws.soap.SOAPBinding;
+
+import org.oasisopen.sca.ServiceReference;
+
+import other.OtherPojo;
+
+import commonj.sdo.DataObject;
+import datatypes.ComplexNumber;
+import datatypes.DataTypes;
+import datatypes.ExtClass;
+
+public class DataTypesImpl implements DataTypes {
+
+    public void testSimpleInt(int simple) {
+    }
+
+    public void testSimpleArrayInt(int[] simple) {
+    }
+
+    public void testSimpleMultiArrayInt(int[][] simple) {
+    }
+
+    public void testSimpleMulti3ArrayInt(int[][][] simple) {
+    }
+
+    public void testList(List any) {
+    }
+
+    public void testSimpleListString(List<String> simple) {
+    }
+
+    public List<String> testReturnSimpleListString() {
+        return null;
+    }
+
+    public void testListByteArray(List<byte[]> byteArrayList) {
+    }
+
+    public void testListWildcard(List<?> wild) {
+    }
+
+    public void testComplex(ComplexNumber complex) {
+    }
+
+    public void testOtherPackage(OtherPojo pojo) {
+    }
+
+    public void testByteArray(byte[] byteArray) {
+    }
+
+    public void testBaseExtension(ExtClass ext) {
+    }
+
+    public void testServiceReference(ServiceReference ref) {
+    }
+
+    public void testException() throws Exception {
+    }
+
+    public DataObject testDynamicSDO() {
+        return null;
+    }
+
+    public void testWebParamSDO(DataObject myObject) {
+    }
+
+    public void testWebParamSDOArray(DataObject[] myArray) {
+    }
+/*
+
+    public void testWebParamBare(int simple) {
+    }
+
+    public void testWebParamBareArray(int[] array) {
+    }
+*/
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/GetDataServiceWithoutExceptionImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/GetDataServiceWithoutExceptionImpl.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/GetDataServiceWithoutExceptionImpl.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/datatypes/impl/GetDataServiceWithoutExceptionImpl.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package datatypes.impl;
+
+import commonj.sdo.DataObject;
+import java.util.List;
+
+import datatypes.GetDataServiceWithoutException;
+
+public class GetDataServiceWithoutExceptionImpl implements GetDataServiceWithoutException {
+
+    public byte[] getMessage(String paramString) {
+        return null;
+    }
+
+    public List<byte[]> getMessageList(String paramString) {
+        return null;
+    }
+
+    public DataObject getMessageSDO(String paramString) {
+        return null;
+    }
+
+    public List<DataObject> getMessageListSDOList(String paramString) {
+        return null;
+    }
+
+    public DataObject[] getMessageListSDOArr(String paramString) {
+        return null;
+    }
+
+    public DataObject getMessageListSDOinSDO(String paramString) {
+        return null;
+    }
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/ABean.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/ABean.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/ABean.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/ABean.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,65 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package helloworld;
+
+import yetanotherpackage.DBean;
+import anotherpackage.BBean;
+
+
+
+public class ABean {
+    
+    protected String field1;
+    protected String field2;
+    protected BBean field3;
+    protected DBean field4;
+
+    public String getField1() {
+        return field1;
+    }
+    
+    public void setField1(String field1) {
+        this.field1 = field1;
+    }
+    
+    public String getField2() {
+        return field2;
+    }
+    
+    public void setField2(String field2) {
+        this.field2 = field2;
+    }
+
+    public BBean getField3() {
+        return field3;
+    }
+    
+    public void setField3(BBean field3) {
+        this.field3 = field3;
+    }
+    
+    public DBean getField4() {
+        return field4;
+    }
+    
+    public void setField4(DBean field4) {
+        this.field4 = field4;
+    }
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldClientImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldClientImpl.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldClientImpl.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldClientImpl.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package helloworld;
+
+
+import org.oasisopen.sca.annotation.Reference;
+import org.oasisopen.sca.annotation.Service;
+
+import yetanotherpackage.AnotherHelloWorldException;
+import yetanotherpackage.DBean;
+
+import anotherpackage.BBean;
+import anotherpackage.CBean;
+
+/**
+ * This class implements the HelloWorld service.
+ */
+@Service(HelloWorldService.class)
+public class HelloWorldClientImpl implements HelloWorldService {
+    
+    @Reference
+    protected HelloWorldService hwService;
+
+    public String getGreetings(String name) {
+        return "Hello " + hwService.getGreetings(name);
+    }
+    
+    public String getGreetingsBean(ABean bean){
+        return "Hello " + hwService.getGreetingsBean(bean);
+    }
+
+    public String getGreetingsBeanArray(ABean[] bean){
+        return "Hello " + hwService.getGreetingsBeanArray(bean);
+    }
+   
+    /*
+    public String getGreetingsBeanVector(Vector<ABean> bean){
+        return "Hello " + bean.get(0).getField1() + " " + bean.get(0).getField2();
+    }
+    */
+    
+    public String getGreetingsBBean(BBean bean){
+        return "Hello " + hwService.getGreetingsBBean(bean);
+    }
+    
+    public String getGreetingsCBean(CBean bean){
+        return "Hello " + hwService.getGreetingsCBean(bean);
+    }    
+    
+    public String getGreetingsDBean(DBean bean){
+        return "Hello " + hwService.getGreetingsDBean(bean);
+    } 
+    
+    public String getGreetingsException(String input) throws HelloWorldException {
+    	return hwService.getGreetingsException(input);
+    }
+    
+    public String getGreetingsAnotherException(String input) throws AnotherHelloWorldException {
+        return hwService.getGreetingsAnotherException(input);
+    }    
+    
+    public byte[] getGreetingsByteArray(byte[] input) {
+    	return input;
+    }
+    
+    public ABean getGreetingsABeanMultiple(ABean bean1, ABean bean2){
+        return hwService.getGreetingsABeanMultiple(bean1, bean2);
+    }
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldException.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldException.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldException.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldException.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package helloworld;
+
+public class HelloWorldException extends Exception {
+
+	public HelloWorldException() {
+	}
+
+	public HelloWorldException(String message) {
+		super(message);
+	}
+
+	public HelloWorldException(Throwable cause) {
+		super(cause);
+	}
+
+	public HelloWorldException(String message, Throwable cause) {
+		super(message, cause);
+	}
+
+/*	
+	public HelloWorldException(String message, String errorCode) {
+		super(message, errorCode);
+	}
+*/	
+
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldImpl.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldImpl.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldImpl.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldImpl.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,87 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package helloworld;
+
+import javax.jws.WebService;
+
+import org.oasisopen.sca.annotation.Service;
+
+import yetanotherpackage.DBean;
+import yetanotherpackage.AnotherHelloWorldException;
+
+import anotherpackage.BBean;
+import anotherpackage.CBean;
+
+/**
+ * This class implements the HelloWorld service.
+ */
+@WebService
+@Service(HelloWorldService.class)
+public class HelloWorldImpl implements HelloWorldService {
+
+    public String getGreetings(String name) {
+        return "Hello " + name;
+    }
+
+    public String getGreetingsBean(ABean bean) {
+        return "Hello " + bean.getField1() + " " + bean.getField2()
+                + bean.getField3().getField1() + " "
+                + bean.getField3().getField2();
+    }
+
+    public String getGreetingsBeanArray(ABean[] bean) {
+        return "Hello " + bean[0].getField1() + " " + bean[0].getField2();
+    }
+
+    /*
+     * public String getGreetingsBeanVector(Vector<ABean> bean){ return "Hello "
+     * + bean.get(0).getField1() + " " + bean.get(0).getField2(); }
+     */
+
+    public String getGreetingsBBean(BBean bean) {
+        return "Hello " + bean.getField1() + " " + bean.getField2();
+    }
+
+    public String getGreetingsCBean(CBean bean) {
+        return "Hello " + bean.getField1() + " " + bean.getField2();
+    }
+    
+    public String getGreetingsDBean(DBean bean) {
+        return "Hello " + bean.getField1() + " " + bean.getField2() + " "
+                + bean.getField3().getField1() + " "
+                + bean.getField3().getField2();
+    }   
+    
+    public String getGreetingsException(String input) throws HelloWorldException {
+    	throw new HelloWorldException("Hello " + input);
+    }
+    
+    public String getGreetingsAnotherException(String input) throws AnotherHelloWorldException {
+        throw new AnotherHelloWorldException("Hello " + input);
+    }    
+    
+    public byte[] getGreetingsByteArray(byte[] input){
+    	System.out.println(String.valueOf(input));
+    	return input;
+    }
+    
+    public ABean getGreetingsABeanMultiple(ABean bean1, ABean bean2){
+        return bean1;
+    }
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldService.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldService.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldService.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/HelloWorldService.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,57 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package helloworld;
+
+import javax.jws.WebService;
+
+import org.oasisopen.sca.annotation.Remotable;
+
+import yetanotherpackage.AnotherHelloWorldException;
+import yetanotherpackage.DBean;
+
+import anotherpackage.BBean;
+import anotherpackage.CBean;
+
+/**
+ * This is the business interface of the HelloWorld greetings service.
+ */
+@WebService
+@Remotable
+public interface HelloWorldService {
+	
+    // primitives
+	public String getGreetings(String name);
+    byte[] getGreetingsByteArray(byte[] input);
+    String getGreetingsException(String input) throws HelloWorldException;
+    String getGreetingsAnotherException(String input) throws AnotherHelloWorldException;
+
+	// simple bean configs
+    public String getGreetingsBean(ABean bean);
+    public String getGreetingsBeanArray(ABean[] bean);
+    public String getGreetingsBBean(BBean bean);
+    public String getGreetingsCBean(CBean bean);
+    public String getGreetingsDBean(DBean bean);
+    
+    // more complex bean configs
+    public ABean getGreetingsABeanMultiple(ABean bean1, ABean bean2);
+    
+    // collections
+    //public String getGreetingsBeanVector(Vector<ABean> bean);
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/package-info.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/package-info.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/package-info.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/helloworld/package-info.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,20 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+@javax.xml.bind.annotation.XmlSchema(namespace="http://test")
+package helloworld;

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/EBean.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/EBean.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/EBean.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/EBean.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package other;
+
+import javax.xml.bind.annotation.XmlType;
+
+public class EBean {
+    
+    protected String field1;
+    protected String field2;
+
+    public String getField1() {
+        return field1;
+    }
+    
+    public void setField1(String field1) {
+        this.field1 = field1;
+    }
+    
+    public String getField2() {
+        return field2;
+    }
+    
+    public void setField2(String field2) {
+        this.field2 = field2;
+    }
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/OtherPojo.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/OtherPojo.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/OtherPojo.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/OtherPojo.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,48 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+
+package other;
+
+public class OtherPojo {
+    private double real, imaginary;
+
+    public OtherPojo(double real, double imaginary) {
+        this.real = real;
+        this.imaginary = imaginary;
+    }
+
+    public OtherPojo() {
+    }
+
+    public double getReal() {
+        return real;
+    }
+
+    public void setReal(double real) {
+        this.real = real;
+    }
+
+    public double getImaginary() {
+        return imaginary;
+    }
+
+    public void setImaginary(double imaginary) {
+        this.imaginary = imaginary;
+    }
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/package-info.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/package-info.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/package-info.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/other/package-info.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@XmlSchema(namespace = "http://other.jtest/")
+package other;
+
+import javax.xml.bind.annotation.XmlSchema;

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/AnotherHelloWorldException.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/AnotherHelloWorldException.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/AnotherHelloWorldException.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/AnotherHelloWorldException.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,44 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package yetanotherpackage;
+
+public class AnotherHelloWorldException extends Exception {
+
+	public AnotherHelloWorldException() {
+	}
+
+	public AnotherHelloWorldException(String message) {
+		super(message);
+	}
+
+	public AnotherHelloWorldException(Throwable cause) {
+		super(cause);
+	}
+
+	public AnotherHelloWorldException(String message, Throwable cause) {
+		super(message, cause);
+	}
+
+/*	
+	public HelloWorldException(String message, String errorCode) {
+		super(message, errorCode);
+	}
+*/	
+
+}

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/DBean.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/DBean.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/DBean.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetanotherpackage/DBean.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,73 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package yetanotherpackage;
+
+import other.EBean;
+import anotherpackage.BBean;
+import anotherpackage.CBean;
+
+public class DBean {
+    
+    protected String field1;
+    protected String field2;
+    protected BBean field3;
+    protected CBean field4;
+    protected EBean field5;
+
+    public String getField1() {
+        return field1;
+    }
+    
+    public void setField1(String field1) {
+        this.field1 = field1;
+    }
+    
+    public String getField2() {
+        return field2;
+    }
+    
+    public void setField2(String field2) {
+        this.field2 = field2;
+    }
+    
+    public BBean getField3() {
+        return field3;
+    }
+    
+    public void setField3(BBean field3) {
+        this.field3 = field3;
+    }
+    
+    public CBean getField4() {
+        return field4;
+    }
+    
+    public void setField4(CBean field4) {
+        this.field4 = field4;
+    }  
+
+    public EBean getField5() {
+        return field5;
+    }
+    
+    public void setField5(EBean field5) {
+        this.field5 = field5;
+    } 
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/FBean.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/FBean.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/FBean.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/FBean.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+ */
+package yetyetanotherpackage;
+
+public class FBean {
+    
+    protected String field1;
+    protected String field2;
+
+    public String getField1() {
+        return field1;
+    }
+    
+    public void setField1(String field1) {
+        this.field1 = field1;
+    }
+    
+    public String getField2() {
+        return field2;
+    }
+    
+    public void setField2(String field2) {
+        this.field2 = field2;
+    }
+}
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/package-info.java
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/package-info.java?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/package-info.java (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/java/yetyetanotherpackage/package-info.java Thu Jan 19 14:22:25 2012
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+@XmlSchema(namespace = "http://wahooo/")
+package yetyetanotherpackage;
+
+import javax.xml.bind.annotation.XmlSchema;

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/DataTypes.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/DataTypes.composite?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/DataTypes.composite (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/DataTypes.composite Thu Jan 19 14:22:25 2012
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+           targetNamespace="http://verify.wsdlgen/"
+           name="DataTypes">
+
+    <component name="DataTypes">
+        <implementation.java class="datatypes.impl.DataTypesImpl" />
+        <service name="DataTypes">
+            <binding.ws uri="http://localhost:8085/DataTypes" />
+        </service>
+    </component>
+
+    <component name="DynamicSDO">
+        <implementation.java class="datatypes.impl.GetDataServiceWithoutExceptionImpl" />
+        <service name="GetDataServiceWithoutException">
+            <binding.ws uri="http://localhost:8085/GetDataServiceWithoutException" />
+        </service>
+    </component>
+
+</composite>

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/META-INF/sca-contribution.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/META-INF/sca-contribution.xml?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/META-INF/sca-contribution.xml (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/META-INF/sca-contribution.xml Thu Jan 19 14:22:25 2012
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
+-->
+<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+              xmlns:hw="http://helloworld">
+    <deployable composite="hw:helloworldws" />
+</contribution>

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/definitions.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/definitions.xml?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/definitions.xml (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/definitions.xml Thu Jan 19 14:22:25 2012
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ * 
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.    
+-->
+<sca:definitions xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ 			targetNamespace="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ 			xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+ 			xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1">
+
+ <sca:intent name="transport"  
+ 			 constrains="sca:binding.ws">
+ 			 <sca:description>
+ 			 The general intent that a transport is available over which SOAP messages flow 
+ 			 </sca:description>
+ </sca:intent>
+
+ 
+ <sca:intent name="transport.http">
+             <sca:description>
+             An HTTP transport is required
+             </sca:description>
+ </sca:intent>
+ 
+ <!-- 
+   how does the following relate to confidentiality intents 
+   does confidentiality become a profile intent?
+ -->
+ <sca:intent name="transport.https">
+             <sca:description>
+             An HTTPS transport is required
+             </sca:description>
+ </sca:intent>
+ 
+ </sca:definitions>
\ No newline at end of file

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/helloworld.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/helloworld.composite?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/helloworld.composite (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/helloworld.composite Thu Jan 19 14:22:25 2012
@@ -0,0 +1,57 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    * Licensed to the Apache Software Foundation (ASF) under one
+    * or more contributor license agreements.  See the NOTICE file
+    * distributed with this work for additional information
+    * regarding copyright ownership.  The ASF licenses this file
+    * to you under the Apache License, Version 2.0 (the
+    * "License"); you may not use this file except in compliance
+    * with the License.  You may obtain a copy of the License at
+    * 
+    *   http://www.apache.org/licenses/LICENSE-2.0
+    * 
+    * Unless required by applicable law or agreed to in writing,
+    * software distributed under the License is distributed on an
+    * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    * KIND, either express or implied.  See the License for the
+    * specific language governing permissions and limitations
+    * under the License.    
+-->
+<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+           xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
+	       targetNamespace="http://helloworld"
+	       xmlns:hw="http://helloworld"
+           name="helloworldws">
+    
+    <component name="HelloWorldClientComponent">
+        <implementation.java class="helloworld.HelloWorldClientImpl" />
+        <service name="HelloWorldService">
+            <binding.sca/>
+        </service>
+        <reference name="hwService">
+            <binding.ws uri="http://localhost:8085/HelloWorldServiceComponent"/>
+        </reference>
+    </component>    
+
+    <component name="HelloWorldServiceComponent">
+        <implementation.java class="helloworld.HelloWorldImpl" />
+	    <service name="HelloWorldService">
+            <binding.ws uri="http://localhost:8085/HelloWorldServiceComponent"/>
+        </service>
+    </component>
+    
+    <!-- 
+         test compatibility between the JAXWS-RI wsdlgen'd WSDL and the Tuscany
+         gen'd WSDL by setting the service interface to the RI WSDL. Tuscany should
+         generate a WSDL for the component and compare the two for compatibility
+    --> 
+<!--
+    <component name="HelloWorldServiceCompatibilityComponent">
+        <implementation.java class="helloworld.HelloWorldImpl" />
+	    <service name="HelloWorldService">
+	        <interface.wsdl interface="http://helloworld/#wsdl.interface(HelloWorldImpl)"/>
+            <binding.ws uri="http://localhost:8085/HelloWorldServiceComponent"/>
+        </service>
+    </component>
+ -->
+</composite>

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService.wsdl
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService.wsdl?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService.wsdl (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService.wsdl Thu Jan 19 14:22:25 2012
@@ -0,0 +1,233 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3-b02-. -->
+<definitions targetNamespace="http://helloworld/" name="HelloWorldImplService" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://helloworld/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+  <types>
+    <xsd:schema>
+      <xsd:import namespace="http://wahooo/" schemaLocation="HelloWorldImplService_schema1.xsd"/>
+    </xsd:schema>
+    <xsd:schema>
+      <xsd:import namespace="http://test" schemaLocation="HelloWorldImplService_schema2.xsd"/>
+    </xsd:schema>
+    <xsd:schema>
+      <xsd:import namespace="http://other.jtest/" schemaLocation="HelloWorldImplService_schema3.xsd"/>
+    </xsd:schema>
+    <xsd:schema>
+      <xsd:import namespace="http://helloworld/" schemaLocation="HelloWorldImplService_schema4.xsd"/>
+    </xsd:schema>
+  </types>
+  <message name="getGreetings">
+    <part name="parameters" element="tns:getGreetings"/>
+  </message>
+  <message name="getGreetingsResponse">
+    <part name="parameters" element="tns:getGreetingsResponse"/>
+  </message>
+  <message name="getGreetingsBean">
+    <part name="parameters" element="tns:getGreetingsBean"/>
+  </message>
+  <message name="getGreetingsBeanResponse">
+    <part name="parameters" element="tns:getGreetingsBeanResponse"/>
+  </message>
+  <message name="getGreetingsBeanArray">
+    <part name="parameters" element="tns:getGreetingsBeanArray"/>
+  </message>
+  <message name="getGreetingsBeanArrayResponse">
+    <part name="parameters" element="tns:getGreetingsBeanArrayResponse"/>
+  </message>
+  <message name="getGreetingsBBean">
+    <part name="parameters" element="tns:getGreetingsBBean"/>
+  </message>
+  <message name="getGreetingsBBeanResponse">
+    <part name="parameters" element="tns:getGreetingsBBeanResponse"/>
+  </message>
+  <message name="getGreetingsCBean">
+    <part name="parameters" element="tns:getGreetingsCBean"/>
+  </message>
+  <message name="getGreetingsCBeanResponse">
+    <part name="parameters" element="tns:getGreetingsCBeanResponse"/>
+  </message>
+  <message name="getGreetingsDBean">
+    <part name="parameters" element="tns:getGreetingsDBean"/>
+  </message>
+  <message name="getGreetingsDBeanResponse">
+    <part name="parameters" element="tns:getGreetingsDBeanResponse"/>
+  </message>
+  <message name="getGreetingsException">
+    <part name="parameters" element="tns:getGreetingsException"/>
+  </message>
+  <message name="getGreetingsExceptionResponse">
+    <part name="parameters" element="tns:getGreetingsExceptionResponse"/>
+  </message>
+  <message name="HelloWorldException">
+    <part name="fault" element="tns:HelloWorldException"/>
+  </message>
+  <message name="getGreetingsAnotherException">
+    <part name="parameters" element="tns:getGreetingsAnotherException"/>
+  </message>
+  <message name="getGreetingsAnotherExceptionResponse">
+    <part name="parameters" element="tns:getGreetingsAnotherExceptionResponse"/>
+  </message>
+  <message name="AnotherHelloWorldException">
+    <part name="fault" element="tns:AnotherHelloWorldException"/>
+  </message>
+  <message name="getGreetingsByteArray">
+    <part name="parameters" element="tns:getGreetingsByteArray"/>
+  </message>
+  <message name="getGreetingsByteArrayResponse">
+    <part name="parameters" element="tns:getGreetingsByteArrayResponse"/>
+  </message>
+  <message name="getGreetingsABeanMultiple">
+    <part name="parameters" element="tns:getGreetingsABeanMultiple"/>
+  </message>
+  <message name="getGreetingsABeanMultipleResponse">
+    <part name="parameters" element="tns:getGreetingsABeanMultipleResponse"/>
+  </message>
+  <portType name="HelloWorldImpl">
+    <operation name="getGreetings">
+      <input message="tns:getGreetings"/>
+      <output message="tns:getGreetingsResponse"/>
+    </operation>
+    <operation name="getGreetingsBean">
+      <input message="tns:getGreetingsBean"/>
+      <output message="tns:getGreetingsBeanResponse"/>
+    </operation>
+    <operation name="getGreetingsBeanArray">
+      <input message="tns:getGreetingsBeanArray"/>
+      <output message="tns:getGreetingsBeanArrayResponse"/>
+    </operation>
+    <operation name="getGreetingsBBean">
+      <input message="tns:getGreetingsBBean"/>
+      <output message="tns:getGreetingsBBeanResponse"/>
+    </operation>
+    <operation name="getGreetingsCBean">
+      <input message="tns:getGreetingsCBean"/>
+      <output message="tns:getGreetingsCBeanResponse"/>
+    </operation>
+    <operation name="getGreetingsDBean">
+      <input message="tns:getGreetingsDBean"/>
+      <output message="tns:getGreetingsDBeanResponse"/>
+    </operation>
+    <operation name="getGreetingsException">
+      <input message="tns:getGreetingsException"/>
+      <output message="tns:getGreetingsExceptionResponse"/>
+      <fault message="tns:HelloWorldException" name="HelloWorldException"/>
+    </operation>
+    <operation name="getGreetingsAnotherException">
+      <input message="tns:getGreetingsAnotherException"/>
+      <output message="tns:getGreetingsAnotherExceptionResponse"/>
+      <fault message="tns:AnotherHelloWorldException" name="AnotherHelloWorldException"/>
+    </operation>
+    <operation name="getGreetingsByteArray">
+      <input message="tns:getGreetingsByteArray"/>
+      <output message="tns:getGreetingsByteArrayResponse"/>
+    </operation>
+    <operation name="getGreetingsABeanMultiple">
+      <input message="tns:getGreetingsABeanMultiple"/>
+      <output message="tns:getGreetingsABeanMultipleResponse"/>
+    </operation>
+  </portType>
+  <binding name="HelloWorldImplPortBinding" type="tns:HelloWorldImpl">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
+    <operation name="getGreetings">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+    <operation name="getGreetingsBean">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+    <operation name="getGreetingsBeanArray">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+    <operation name="getGreetingsBBean">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+    <operation name="getGreetingsCBean">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+    <operation name="getGreetingsDBean">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+    <operation name="getGreetingsException">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+      <fault name="HelloWorldException">
+        <soap:fault name="HelloWorldException" use="literal"/>
+      </fault>
+    </operation>
+    <operation name="getGreetingsAnotherException">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+      <fault name="AnotherHelloWorldException">
+        <soap:fault name="AnotherHelloWorldException" use="literal"/>
+      </fault>
+    </operation>
+    <operation name="getGreetingsByteArray">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+    <operation name="getGreetingsABeanMultiple">
+      <soap:operation soapAction=""/>
+      <input>
+        <soap:body use="literal"/>
+      </input>
+      <output>
+        <soap:body use="literal"/>
+      </output>
+    </operation>
+  </binding>
+  <service name="HelloWorldImplService">
+    <port name="HelloWorldImplPort" binding="tns:HelloWorldImplPortBinding">
+      <soap:address location="http://localhost:8085/HelloWorldServiceComponent"/>
+    </port>
+  </service>
+</definitions>
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema1.xsd
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema1.xsd?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema1.xsd (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema1.xsd Thu Jan 19 14:22:25 2012
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<xs:schema version="1.0" targetNamespace="http://wahooo/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:complexType name="fBean">
+    <xs:sequence>
+      <xs:element name="field1" type="xs:string" minOccurs="0"/>
+      <xs:element name="field2" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema2.xsd
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema2.xsd?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema2.xsd (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema2.xsd Thu Jan 19 14:22:25 2012
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<xs:schema version="1.0" targetNamespace="http://test" xmlns:ns1="http://helloworld/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:import namespace="http://helloworld/" schemaLocation="HelloWorldImplService_schema4.xsd"/>
+
+  <xs:complexType name="aBean">
+    <xs:sequence>
+      <xs:element name="field1" type="xs:string" minOccurs="0"/>
+      <xs:element name="field2" type="xs:string" minOccurs="0"/>
+      <xs:element name="field3" type="ns1:bBean" minOccurs="0"/>
+      <xs:element name="field4" type="ns1:dBean" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
+

Added: tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema3.xsd
URL: http://svn.apache.org/viewvc/tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema3.xsd?rev=1233390&view=auto
==============================================================================
--- tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema3.xsd (added)
+++ tuscany/sca-java-2.x/trunk/testing/itest/ws/wsdlgen/src/main/resources/jaxws/wsgen/wsdl/HelloWorldImplService_schema3.xsd Thu Jan 19 14:22:25 2012
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<xs:schema version="1.0" targetNamespace="http://other.jtest/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:complexType name="eBean">
+    <xs:sequence>
+      <xs:element name="field1" type="xs:string" minOccurs="0"/>
+      <xs:element name="field2" type="xs:string" minOccurs="0"/>
+    </xs:sequence>
+  </xs:complexType>
+</xs:schema>
+



Mime
View raw message