From bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a Mon Sep 17 00:00:00 2001 From: dims Date: Tue, 17 Jun 2008 00:23:01 +0000 Subject: Move Tuscany from Incubator to top level. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68 --- .../java-post-M1/testing/interop/services/pom.xml | 34 ++++ .../interop/services/webserviceInteropDoc/pom.xml | 96 +++++++++++ .../server/InteropDocServiceComponentImpl.java | 45 ++++++ .../src/main/resources/sca.module | 33 ++++ .../src/main/resources/wsdl/interopdoc.wsdl | 177 +++++++++++++++++++++ .../src/main/webapp/WEB-INF/web.xml | 23 +++ 6 files changed, 408 insertions(+) create mode 100644 branches/java-post-M1/testing/interop/services/pom.xml create mode 100644 branches/java-post-M1/testing/interop/services/webserviceInteropDoc/pom.xml create mode 100644 branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java create mode 100644 branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/sca.module create mode 100644 branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/wsdl/interopdoc.wsdl create mode 100644 branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/webapp/WEB-INF/web.xml (limited to 'branches/java-post-M1/testing/interop/services') diff --git a/branches/java-post-M1/testing/interop/services/pom.xml b/branches/java-post-M1/testing/interop/services/pom.xml new file mode 100644 index 0000000000..c10b40f3a0 --- /dev/null +++ b/branches/java-post-M1/testing/interop/services/pom.xml @@ -0,0 +1,34 @@ + + + + + org.apache.tuscany + tuscany-testing-interop + incubating-M1 + + + 4.0.0 + tuscany-testing-interop-services + pom + Tuscany Interop Testing - Services + incubating-M1 + + + webserviceInteropDoc + + + diff --git a/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/pom.xml b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/pom.xml new file mode 100644 index 0000000000..234832653f --- /dev/null +++ b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/pom.xml @@ -0,0 +1,96 @@ + + + + + org.apache.tuscany + tuscany-testing-interop-services + incubating-M1 + + + 4.0.0 + interop-service-webserviceInteropDoc + war + Tuscany Interop Testing - Services - InteropDoc + incubating-M1 + + + + org.osoa + sca-api + ${pom.version} + provided + + + + org.apache.tuscany + tuscany-core + ${pom.version} + provided + + + org.apache.tuscany.sca.containers + tuscany-container-java + ${pom.version} + provided + + + org.apache.tuscany.sca.bindings + tuscany-binding-axis2 + ${pom.version} + provided + + + + + + + org.apache.tuscany + tuscany-sdo-plugin + + + + ${basedir}/src/main/resources/wsdl/interopdoc.wsdl + true + true + true + true + + + generate + + + + + + org.apache.tuscany.sca.plugins + tuscany-plugin-wsdl2java + + + + ${basedir}/src/main/resources/wsdl/interopdoc.wsdl + org.soapinterop + + + generate + + + + + + + + diff --git a/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java new file mode 100644 index 0000000000..a2c6cb29dc --- /dev/null +++ b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java @@ -0,0 +1,45 @@ +/** + * + * Copyright 2005 The Apache Software Foundation or its licensors, as applicable. + * + * Licensed 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 org.apache.tuscany.test.interop.server; + +import java.rmi.RemoteException; + +import org.osoa.sca.annotations.Service; +import org.soapinterop.ComplexDocument; +import org.soapinterop.DocTestPortType; +import org.soapinterop.SimpleDocument1; +import org.soapinterop.SingleTag; + +/** + * This class implements the HelloWorld service component. + */ +@Service(DocTestPortType.class) +public class InteropDocServiceComponentImpl implements DocTestPortType { + + public ComplexDocument ComplexDocument(ComplexDocument param2) throws RemoteException { + return param2; + } + + public SimpleDocument1 SimpleDocument(SimpleDocument1 param0) throws RemoteException { + return param0; + } + + public SingleTag SingleTag(SingleTag param4) throws RemoteException { + return param4; + } + +} diff --git a/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/sca.module b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/sca.module new file mode 100644 index 0000000000..99013b89a0 --- /dev/null +++ b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/sca.module @@ -0,0 +1,33 @@ + + + + + + + + + + + InteropDocServiceComponent/DocTestPortType + + + + + + + diff --git a/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/wsdl/interopdoc.wsdl b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/wsdl/interopdoc.wsdl new file mode 100644 index 0000000000..59352ec4f0 --- /dev/null +++ b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/resources/wsdl/interopdoc.wsdl @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/webapp/WEB-INF/web.xml b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..2cee1c6b32 --- /dev/null +++ b/branches/java-post-M1/testing/interop/services/webserviceInteropDoc/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,23 @@ + + + + + + Tuscany Interop Test Server + + -- cgit v1.2.3