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 --- .../axis2-1.4/itest/interop-soap-service/pom.xml | 137 ++++++++++++++++ .../server/InteropDocServiceComponentImpl.java | 47 ++++++ .../src/main/resources/wsdl/interopdoc.wsdl | 180 +++++++++++++++++++++ .../src/main/webapp/META-INF/sca/default.scdl | 42 +++++ .../src/main/webapp/WEB-INF/web.xml | 51 ++++++ sandbox/axis2-1.4/itest/interop-soap-service/t.bat | 34 ++++ 6 files changed, 491 insertions(+) create mode 100644 sandbox/axis2-1.4/itest/interop-soap-service/pom.xml create mode 100644 sandbox/axis2-1.4/itest/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java create mode 100644 sandbox/axis2-1.4/itest/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl create mode 100644 sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl create mode 100644 sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/WEB-INF/web.xml create mode 100755 sandbox/axis2-1.4/itest/interop-soap-service/t.bat (limited to 'sandbox/axis2-1.4/itest/interop-soap-service') diff --git a/sandbox/axis2-1.4/itest/interop-soap-service/pom.xml b/sandbox/axis2-1.4/itest/interop-soap-service/pom.xml new file mode 100644 index 0000000000..444c1f58f9 --- /dev/null +++ b/sandbox/axis2-1.4/itest/interop-soap-service/pom.xml @@ -0,0 +1,137 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + tuscany-itest + 2.0-incubating-SNAPSHOT + ../pom.xml + + + itest-interop-soap-service + war + Apache Tuscany SCA WS Interop Service Integration Tests + + + + org.apache.tuscany.sca + tuscany-host-embedded + 2.0-incubating-SNAPSHOT + + + + org.apache.tuscany.sca + tuscany-implementation-java-runtime + 2.0-incubating-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-binding-ws-axis2 + 2.0-incubating-SNAPSHOT + runtime + + + + org.apache.tuscany.sca + tuscany-host-tomcat + 2.0-incubating-SNAPSHOT + runtime + + + + + org.apache.ws.commons.axiom + axiom-api + + + xerces + xercesImpl + + + 1.2.5 + + + + xerces + xercesImpl + 2.8.1 + runtime + + + + org.apache.ws.commons.axiom + axiom-impl + 1.2.5 + runtime + + + + org.codehaus.woodstox + wstx-asl + 3.2.1 + runtime + + + + + + + + org.apache.tuscany.sdo + tuscany-sdo-plugin + 1.0-incubating-SNAPSHOT + + + + ${basedir}/src/main/resources/wsdl/interopdoc.wsdl + true + true + true + true + + + generate + + + + + + org.apache.tuscany.sca + tuscany-maven-wsdl2java + 2.0-incubating-SNAPSHOT + + + + ${basedir}/src/main/resources/wsdl/interopdoc.wsdl + org.soapinterop + + + generate + + + + + + + + diff --git a/sandbox/axis2-1.4/itest/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java new file mode 100644 index 0000000000..c34941f43e --- /dev/null +++ b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java @@ -0,0 +1,47 @@ +/* + * 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 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/sandbox/axis2-1.4/itest/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl new file mode 100644 index 0000000000..820c26ca34 --- /dev/null +++ b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl new file mode 100644 index 0000000000..3fbc73616e --- /dev/null +++ b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + InteropDocServiceComponent/DocTestPortType + + + + + + + diff --git a/sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/WEB-INF/web.xml b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..8cf95fb789 --- /dev/null +++ b/sandbox/axis2-1.4/itest/interop-soap-service/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,51 @@ + + + + + + Tuscany Interop Test Server + + + systemScdlPath + /META-INF/sca/webapp.system.scdl + + + + applicationScdlPath + /META-INF/sca/default.scdl + + + + org.apache.tuscany.runtime.webapp.TuscanyContextListener + + + + TuscanyServlet + Tuscany Servlet + org.apache.tuscany.runtime.webapp.TuscanyServlet + + + + TuscanyServlet + /services/* + + + diff --git a/sandbox/axis2-1.4/itest/interop-soap-service/t.bat b/sandbox/axis2-1.4/itest/interop-soap-service/t.bat new file mode 100755 index 0000000000..0f83dedc37 --- /dev/null +++ b/sandbox/axis2-1.4/itest/interop-soap-service/t.bat @@ -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. + + +@echo off +pushd target +jar -xf ..\apache-tomcat-5.5.17.zip +popd +copy target\sample-helloworldws-1.0-SNAPSHOT.war target\apache-tomcat-5.5.17\webapps +rem pushd target\apache-tomcat-5.5.17\webapps +rem md sample-helloworldws-1.0-SNAPSHOT +rem cd sample-helloworldws-1.0-SNAPSHOT +rem jar -xf ..\sample-helloworldws-1.0-SNAPSHOT.war +pushd target\apache-tomcat-5.5.17\shared +rem jar -xf "%USERPROFILE%\.m2\repository\org\apache\tuscany\web\1.0-SNAPSHOT\web-1.0-SNAPSHOT-bin.zip" +jar -xf "%USERPROFILE%\.m2\repository\org\apache\tuscany\web\1.0-SNAPSHOT\web-1.0-SNAPSHOT-bin.zip" +popd +rem hack +mkdir target\apache-tomcat-5.5.17\shared\extension +copy target\apache-tomcat-5.5.17\shared\lib\axis2-1.0-SNAPSHOT.jar target\apache-tomcat-5.5.17\shared\extension -- cgit v1.2.3