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 --- .../bigbank/src/main/resources/BigBank.composite | 85 +++++++++++++++++++ .../main/resources/META-INF/sca-contribution.xml | 36 ++++++++ .../demos/bigbank/src/main/resources/bigbank.jks | Bin 0 -> 1986 bytes .../bigbank/src/main/resources/definitions.xml | 64 ++++++++++++++ .../bigbank/src/main/resources/security.properties | 4 + .../src/main/resources/web/AccountJSON.html | 92 +++++++++++++++++++++ .../demos/bigbank/src/main/resources/web/style.css | 22 +++++ .../src/main/resources/wsdl/AccountService.wsdl | 91 ++++++++++++++++++++ 8 files changed, 394 insertions(+) create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/BigBank.composite create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/bigbank.jks create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/definitions.xml create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/security.properties create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/AccountJSON.html create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/style.css create mode 100644 sandbox/axis2-1.4/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl (limited to 'sandbox/axis2-1.4/demos/bigbank/src/main/resources') diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/BigBank.composite b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/BigBank.composite new file mode 100644 index 0000000000..e57541b423 --- /dev/null +++ b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/BigBank.composite @@ -0,0 +1,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + EURO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..154992c843 --- /dev/null +++ b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/bigbank.jks b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/bigbank.jks new file mode 100644 index 0000000000..e6294d85f7 Binary files /dev/null and b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/bigbank.jks differ diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/definitions.xml b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/definitions.xml new file mode 100644 index 0000000000..8654151d82 --- /dev/null +++ b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/definitions.xml @@ -0,0 +1,64 @@ + + + + + + + + + + Timestamp Signature + security.properties + + + + + Timestamp Signature + bbservice + security.properties + bigbank.security.BigbankPasswordCallbackHandler + DirectReference + + + + + + + + + + UsernameToken + bbaservice + bigbank.security.BigbankPasswordCallbackHandler + PasswordText + + + + + \ No newline at end of file diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/security.properties b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/security.properties new file mode 100644 index 0000000000..762d0523d9 --- /dev/null +++ b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/security.properties @@ -0,0 +1,4 @@ +org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin +org.apache.ws.security.crypto.merlin.keystore.type=jks +org.apache.ws.security.crypto.merlin.keystore.password=bbakeystore +org.apache.ws.security.crypto.merlin.file=bigbank.jks \ No newline at end of file diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/AccountJSON.html b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/AccountJSON.html new file mode 100644 index 0000000000..9f4368443f --- /dev/null +++ b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/AccountJSON.html @@ -0,0 +1,92 @@ + + + +Tuscany JSON-RPC BigBank Client + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Tuscany JSON-RPC BigBank Client
+

This example uses the Dojo + Toolkit to create a JavaScript object accountService for + the service at http://localhost:8080/AccountJSONService using Dojo's + RPC classes and providing them with http://localhost:8080/AccountJSONService?smd + for Simple Method Description + (SMD) input.

+

It then creates a Dojo button that will envoke the getAccountReport + method of the accountService object.

+
RequestResponse

+ +
+
+
None Yet.
+
+
Dojo Debug:
+
+ + + + + diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/style.css b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/style.css new file mode 100644 index 0000000000..1071583264 --- /dev/null +++ b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/web/style.css @@ -0,0 +1,22 @@ +/* + * 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. + */ +* { font-family: arial; } + +table, th, td { border: 2px solid blue; border-collapse: collapse; } +th { color: white; background-color: blue; } diff --git a/sandbox/axis2-1.4/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl new file mode 100644 index 0000000000..ac4d987a57 --- /dev/null +++ b/sandbox/axis2-1.4/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3