summaryrefslogtreecommitdiffstats
path: root/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-21 07:55:01 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-11-21 07:55:01 +0000
commit0f72626e59d77f0365c1e6bbb9420f6693ffc67d (patch)
tree2193cafc8131ad1ddbd9066fcd832a5797e9ba55 /tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main
parent2ae32b04b9d771118a7cafc1d7edec86fbe9c3c0 (diff)
Moving 1.x tags
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882848 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main')
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType9
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js28
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module34
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl75
-rw-r--r--tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml24
5 files changed, 0 insertions, 170 deletions
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
deleted file mode 100644
index 54462091f5..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.componentType
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-
-<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <service name="HelloWorldE4XService">
- <interface.wsdl interface="http://helloworld#HelloWorld"/>
- </service>
-
-</componentType> \ 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
deleted file mode 100644
index 1529784c0f..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/helloworld/HelloWorldImpl.js
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- *
- * 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 =
- <ns1:getGreetingsResponse xmlns:ns1="http://helloworld">
- <ns1:getGreetingsReturn> { response } </ns1:getGreetingsReturn>
- </ns1:getGreetingsResponse>;
-
- 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
deleted file mode 100644
index 4f5724d64b..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/sca.module
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 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.
- -->
-<module xmlns="http://www.osoa.org/xmlns/sca/0.9" xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9"
- xmlns:js="http://org.apache.tuscany/xmlns/js/0.9"
- name="helloworld">
-
- <import.sdo wsdlLocation="wsdl/helloworld.wsdl"/>
- <import.wsdl wsdlLocation="wsdl/helloworld.wsdl"/>
-
- <entryPoint name="HelloWorldE4XWebService">
- <interface.wsdl interface="http://helloworld#wsdl.interface(HelloWorld)"/>
- <binding.ws port="http://helloworld#wsdl.endpoint(HelloWorldService/HelloWorldSoapPort)"/>
- <reference>HelloWorldComponent</reference>
- </entryPoint>
-
- <component name="HelloWorldComponent">
- <js:implementation.js scriptFile="helloworld/HelloWorldImpl.js"/>
- </component>
-
-</module>
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
deleted file mode 100644
index cbc15f58eb..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/resources/wsdl/helloworld.wsdl
+++ /dev/null
@@ -1,75 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright (c) 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.
- -->
-<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- name="helloworld">
-
- <wsdl:types>
- <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
-
- <element name="getGreetings">
- <complexType>
- <sequence>
- <element name="name" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
-
- <element name="getGreetingsResponse">
- <complexType>
- <sequence>
- <element name="getGreetingsReturn" type="xsd:string"/>
- </sequence>
- </complexType>
- </element>
- </schema>
- </wsdl:types>
-
- <wsdl:message name="getGreetingsRequest">
- <wsdl:part element="tns:getGreetings" name="parameters"/>
- </wsdl:message>
-
- <wsdl:message name="getGreetingsResponse">
- <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
- </wsdl:message>
-
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="getGreetings">
- <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
- <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
- </wsdl:operation>
- </wsdl:portType>
-
- <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
- <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
- <wsdl:operation name="getGreetings">
- <wsdlsoap:operation soapAction=""/>
- <wsdl:input name="getGreetingsRequest">
- <wsdlsoap:body use="literal"/>
- </wsdl:input>
- <wsdl:output name="getGreetingsResponse">
- <wsdlsoap:body use="literal"/>
- </wsdl:output>
- </wsdl:operation>
- </wsdl:binding>
-
- <wsdl:service name="HelloWorldService">
- <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
- <wsdlsoap:address location="http://localhost:8080/sample-helloworldws/services/HelloWorldWebService"/>
- </wsdl:port>
- </wsdl:service>
-
-</wsdl:definitions>
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
deleted file mode 100644
index 37c6d8e249..0000000000
--- a/tags/java-M1-20060518/java/samples/sca/helloworlde4xws/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
- Copyright (c) 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.
- -->
-
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
-Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
-<web-app>
-
- <display-name>Tuscany HelloWorld JavaScript Web Service Sample</display-name>
-
-</web-app>