summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files')
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.cmds19
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.xml27
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/new-sca-contribution.xml27
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/scdl-include.xml28
-rw-r--r--sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/wsClient.html143
5 files changed, 0 insertions, 244 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.cmds b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.cmds
deleted file mode 100644
index e94a0e42a6..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.cmds
+++ /dev/null
@@ -1,19 +0,0 @@
-# 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.
-
-# install the helloworld contribution and start its deployables
-install helloworld-contribution/target/helloworld-contribution.jar -start
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.xml b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.xml
deleted file mode 100644
index e01074870c..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/helloworld.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<node xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns="http://tuscany.apache.org/xmlns/sca/1.1"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- domain="helloworld">
-
- <contribution location="helloworld-contribution/target/helloworld-contribution.jar" startDeployables="true"/>
-
-</node> \ No newline at end of file
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/new-sca-contribution.xml b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/new-sca-contribution.xml
deleted file mode 100644
index 62e8fef55d..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/new-sca-contribution.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<contribution xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns:sample="http://sample">
-
- <!-- Add exports from the helloworld contribution resources so other contributions can reuse them -->
- <export namespace="http://sample"/>
- <export.java package="sample"/>
-
-</contribution>
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/scdl-include.xml b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/scdl-include.xml
deleted file mode 100644
index b15b20befd..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/scdl-include.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- * 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.
--->
-<node xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912"
- xmlns="http://tuscany.apache.org/xmlns/sca/1.1"
- xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
- domain="helloworld">
-
- <contribution location="helloworld-contribution/target/helloworld-contribution.jar" metaDataURL="new-sca-contribution.xml"/>
- <contribution location="scdl-include-contribution/target/scdl-include-contribution.zip" startDeployables="true" />
-
-</node> \ No newline at end of file
diff --git a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/wsClient.html b/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/wsClient.html
deleted file mode 100644
index 402f30cdf8..0000000000
--- a/sca-java-2.x/branches/2.0-Beta1/samples/getting-started/files/wsClient.html
+++ /dev/null
@@ -1,143 +0,0 @@
-<!--
-
- 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.
-
--->
-
-<!--
-Simple html page that presents a form to post xml to a web service endpoint and display the response xml.
-Copied from ServiceMix wsdl first example.
--->
-
-<html>
-<head>
-<title>Tuscany Web service Sample Client</title>
-<script type="text/javascript">
-
-var urlToOpen = "http://localhost:8085/HelloworldComponent/Helloworld"; //default URL to open
-
-function getHTTPObject() {
- var xmlhttp = false;
-
- /* Compilation conditionnelle d'IE */
- /*@cc_on
- @if (@_jscript_version >= 5)
- try {
- xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
- } catch (e) {
- try {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- } catch (E) {
- xmlhttp = false;
- }
- }
- @else
- xmlhttp = false;
- @end @*/
-
- /* on essaie de créer l'objet si ce n'est pas déjà fait */
- if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
- try {
- xmlhttp = new XMLHttpRequest();
- } catch (e) {
- xmlhttp = false;
- }
- }
-
- if (xmlhttp) {
- /* on définit ce qui doit se passer quand la page répondra */
- xmlhttp.onreadystatechange=function() {
- if (xmlhttp.readyState == 4) { /* 4 : état "complete" */
- var response = document.getElementById("response");
- var responseStatus = "";
- try {
- responseStatus = xmlhttp.status + "";
- } catch (e) {
- responseStatus = "ERROR WHILE RETRIEVING STATUS; MAYBE UNABLE TO CONNECT.";
- }
- response.value = xmlhttp.responseText;
- }
- }
- }
- return xmlhttp;
-}
-
-function send() {
- if ((document.getElementById("urlToOpen").value != urlToOpen) && (document.getElementById("urlToOpen").value != "")) {
- //use user entry only if it at least can be okay
- urlToOpen = document.getElementById("urlToOpen").value;
- }
- var xmlhttp = getHTTPObject();
- if (!xmlhttp) {
- alert('cound not create XMLHttpRequest object');
- return;
- }
- var request = document.getElementById("request");
- var response = document.getElementById("response");
- try {
- netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead UniversalBrowserWrite");
- } catch (e) {
- }
-
-
- try {
- xmlhttp.open("POST", urlToOpen, true);
- } catch (e) {
- alert('error opening');
- }
- xmlhttp.setRequestHeader("Content-Type", "text/xml;charset=UTF-8");
- xmlhttp.send(request.value);
-}
-
-</script>
-</head>
-
-<body>
-
-<h1>Tuscany Web service Sample Client</h1>
-
-<p>Tuscany Web service Sample Client</p>
-
-<p>Sends a request to a Web Service endpoint. (This requires JavaScript)</p>
-<p>Target: <input type="text" size="50" id="urlToOpen" value=""><script type="text/javascript">document.getElementById("urlToOpen").value = urlToOpen;</script>.</p>
-
-<table>
- <tr>
- <td>
- <textarea id="request" style="width:600px;height:400px" ><?xml version='1.0' encoding='UTF-8'?>
-<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
-<soapenv:Body>
-<ns:sayHello xmlns:ns="http://helloworld">
-<ns:name>petra</ns:name>
-</ns:sayHello>
-</soapenv:Body>
-</soapenv:Envelope>
-
- </textarea>
- </td>
- <td>
- <textarea id="response" style="width:600px;height:400px">
- </textarea>
- </td>
- </tr>
- <tr>
- <td colspan=2>
- <input type="button" value="Send" onClick="send();"/>
- </td>
- </tr>
-</table>
-</body>
-</html>