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 --- .../helloworld/HelloWorldImpl.componentType | 9 +++ .../main/resources/helloworld/HelloWorldImpl.js | 28 ++++++++ .../helloworlde4xws/src/main/resources/sca.module | 34 ++++++++++ .../src/main/resources/wsdl/helloworld.wsdl | 75 ++++++++++++++++++++++ .../src/main/webapp/WEB-INF/web.xml | 24 +++++++ 5 files changed, 170 insertions(+) create mode 100644 tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType create mode 100644 tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js create mode 100644 tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module create mode 100644 tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl create mode 100644 tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml (limited to 'tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main') diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType new file mode 100644 index 0000000000..54462091f5 --- /dev/null +++ b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js new file mode 100644 index 0000000000..1529784c0f --- /dev/null +++ b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js @@ -0,0 +1,28 @@ +/** + * + * 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. + */ + +function process(xmlIn) { + + var response = "e4xHello " + xmlIn..*::name; + + var xmlOut = + + { response } + ; + + return xmlOut; +} diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module new file mode 100644 index 0000000000..4f5724d64b --- /dev/null +++ b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module @@ -0,0 +1,34 @@ + + + + + + + + + + + HelloWorldComponent + + + + + + + diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl new file mode 100644 index 0000000000..cbc15f58eb --- /dev/null +++ b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..37c6d8e249 --- /dev/null +++ b/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,24 @@ + + + + + + + Tuscany HelloWorld JavaScript Web Service Sample + + -- cgit v1.2.3