From a40e527938d76ba71f211da7e327adb50384ba69 Mon Sep 17 00:00:00 2001 From: lresende Date: Wed, 11 Nov 2009 23:26:33 +0000 Subject: Moving 1.x tags git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@835157 13f79535-47bb-0310-9956-ffa450edef68 --- .../itest/old/interop-soap-service/pom.xml | 109 +++++++++++++ .../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 ++++++ .../itest/old/interop-soap-service/t.bat | 34 ++++ 6 files changed, 463 insertions(+) create mode 100644 sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/pom.xml create mode 100644 sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java create mode 100644 sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl create mode 100644 sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl create mode 100644 sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/webapp/WEB-INF/web.xml create mode 100755 sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/t.bat (limited to 'sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service') diff --git a/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/pom.xml b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/pom.xml new file mode 100644 index 0000000000..1683319ad8 --- /dev/null +++ b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/pom.xml @@ -0,0 +1,109 @@ + + + + + org.apache.tuscany.testing + tuscany-interop-services + 0.1-integration-incubating-SNAPSHOT + + + 4.0.0 + interop-service-webserviceInteropDoc + war + Tuscany Interop Testing - Services - InteropDoc + + + + + org.apache.tuscany.sca.runtime + webapp + ${sca.version} + runtime + + + org.apache.tuscany.sca.runtime + webapp-host + ${sca.version} + runtime + + + + org.apache.tuscany.sca.services.idl + tuscany-wsdl + ${sca.version} + runtime + + + + org.apache.ws.commons.axiom + axiom-api + SNAPSHOT + compile + + + org.apache.ws.commons.axiom + axiom-impl + SNAPSHOT + runtime + + + + + + + + org.apache.tuscany.sdo + tuscany-sdo-plugin + 1.0-incubating + + + + ${basedir}/src/main/resources/wsdl/interopdoc.wsdl + true + true + true + true + + + generate + + + + + + org.apache.tuscany.sca.extensions.axis2.plugins + tuscany-plugin-wsdl2java + ${sca.version} + + + + ${basedir}/src/main/resources/wsdl/interopdoc.wsdl + org.soapinterop + + + generate + + + + + + + + diff --git a/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/java/org/apache/tuscany/test/interop/server/InteropDocServiceComponentImpl.java new file mode 100644 index 0000000000..c34941f43e --- /dev/null +++ b/sca-java-1.x/tags/0.99-incubating/itest/old/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/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl new file mode 100644 index 0000000000..820c26ca34 --- /dev/null +++ b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/resources/wsdl/interopdoc.wsdl @@ -0,0 +1,180 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl new file mode 100644 index 0000000000..3fbc73616e --- /dev/null +++ b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/webapp/META-INF/sca/default.scdl @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + InteropDocServiceComponent/DocTestPortType + + + + + + + diff --git a/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/webapp/WEB-INF/web.xml b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..8cf95fb789 --- /dev/null +++ b/sca-java-1.x/tags/0.99-incubating/itest/old/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/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/t.bat b/sca-java-1.x/tags/0.99-incubating/itest/old/interop-soap-service/t.bat new file mode 100755 index 0000000000..0f83dedc37 --- /dev/null +++ b/sca-java-1.x/tags/0.99-incubating/itest/old/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