Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java
 (added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java
 Mon Mar 10 10:44:54 2008
@@ -0,0 +1,51 @@
+/*
+ * 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 bigbank.security;
+
+import java.io.IOException;
+
+import javax.security.auth.callback.Callback;
+import javax.security.auth.callback.CallbackHandler;
+import javax.security.auth.callback.UnsupportedCallbackException;
+
+import org.apache.ws.security.WSPasswordCallback;
+
+/**
+ * Sample userid passwd generation class 
+ */
+public class BigbankPasswordCallbackHandler implements CallbackHandler {
+
+    public void handle(Callback[] callbacks) throws IOException,
+            UnsupportedCallbackException {
+       for (int i = 0; i < callbacks.length; i++) {
+            WSPasswordCallback pwcb = (WSPasswordCallback)callbacks[i];
+            //System.out.println("*** Getting password for user ...."  + 
pwcb.getIdentifer() + " & " + pwcb.getKey());
+            if ( pwcb.getUsage() == WSPasswordCallback.SIGNATURE ) {
+                System.out.println("*** Calling BIG-BANK Passwd Handler for 
SIGNING...." );
+                pwcb.setPassword("bbservice");
+            } else if ( pwcb.getUsage() == WSPasswordCallback.USERNAME_TOKEN ) 
{
+                if ( pwcb.getIdentifer().equals("bbaservice")) {
+                    System.out.println("*** Calling BIG-BANK Passwd Handler 
for setting AUTHENTICATION password...." );
+                    pwcb.setPassword("bbaservice");
+                }
+            }
+        }
+    }
+
+}

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/bigbank/security/BigbankPasswordCallbackHandler.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/calculator/CalculatorService.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/java/calculator/CalculatorService.java?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/calculator/CalculatorService.java
 (added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/calculator/CalculatorService.java
 Mon Mar 10 10:44:54 2008
@@ -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.    
+ */
+package calculator;
+
+/**
+ * The Calculator service interface.
+ */
+public interface CalculatorService {
+
+    double add(double n1, double n2);
+
+    double subtract(double n1, double n2);
+
+    double multiply(double n1, double n2);
+
+    double divide(double n1, double n2);
+
+}

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/calculator/CalculatorService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/calculator/CalculatorService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/stockquote/StockQuoteService.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/java/stockquote/StockQuoteService.java?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/stockquote/StockQuoteService.java
 (added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/stockquote/StockQuoteService.java
 Mon Mar 10 10:44:54 2008
@@ -0,0 +1,29 @@
+/*
+ * 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 stockquote;
+
+import org.osoa.sca.annotations.Remotable;
+
+/**
+ * This is the business interface of the StockQuote service.
+ */
[EMAIL PROTECTED]
+public interface StockQuoteService {
+    public double getQuote(String symbol);
+}

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/stockquote/StockQuoteService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/java/stockquote/StockQuoteService.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/BigBank.composite
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/BigBank.composite?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/BigBank.composite 
(added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/BigBank.composite 
Mon Mar 10 10:44:54 2008
@@ -0,0 +1,85 @@
+<?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.
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0";
+    xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0";
+    targetNamespace="http://bigbank";
+    xmlns:bb="http://bigbank";
+    xmlns:bbsv="http://bigbank/savings";
+    xmlns:bbst="http://bigbank/stock";
+    xmlns:bbck="http://bigbank/checkings";
+    name="BigBank">
+
+    <component name="AccountServiceComponent">
+        <implementation.java class="bigbank.account.AccountServiceImpl"/>
+
+        <service name="AccountService">
+            <tuscany:binding.jsonrpc uri="/AccountJSONService"/>
+            <binding.ws 
wsdlElement="http://bigbank#wsdl.port(AccountService/AccountServiceSoap)"/>
+            <binding.sca/>
+        </service>
+
+        <reference name="savingsAcService" 
target="SavingsAccountServiceComponent"/>
+
+        <reference name="checkingAcService" requires="authentication">
+            <binding.ws 
uri="http://localhost:8085/services/CheckingAcWebService"/>
+        </reference>
+
+        <reference name="stockAcService" 
target="StockAccountServiceComponent"/>
+        
+        <reference name="calculatorService">
+            <tuscany:binding.rmi host="localhost" port="8099" 
serviceName="CalculatorRMIService"/>
+        </reference>
+        <reference name="stockQuoteService" requires="integrity">
+            <binding.ws 
uri="http://localhost:8081/services/StockQuoteWebService"/>
+        </reference>
+
+        <property name="currency">EURO</property>
+    </component>
+
+    <component name="SavingsAccountServiceComponent">
+        <implementation.composite name="bbsv:SavingsAccountDept"/>
+    </component>
+
+    <component name="CheckingAccountServiceComponent">
+        <implementation.composite name="bbck:CheckingsAccountDept"/>
+    </component>
+
+    <component name="StockAccountServiceComponent">
+        <implementation.composite name="bbst:StockAccountDept"/>
+    </component>
+
+    <component name="AccountFeedComponent">
+        <implementation.java class="bigbank.account.feed.AccountFeedImpl"/>
+        <service name="Collection">
+            <tuscany:binding.rss uri="/rss"/>
+            <tuscany:binding.atom uri="/atom"/>
+        </service>
+        <reference name="accountService" target="AccountServiceComponent"/>
+    </component>
+
+    <component name="WebResourceComponent">
+        <tuscany:implementation.resource location="web"/>
+        <service name="Resource">
+            <tuscany:binding.http uri="/"/>
+        </service>
+    </component>
+
+</composite>

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/BigBank.composite
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/BigBank.composite
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/BigBank.composite
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml
 (added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml
 Mon Mar 10 10:44:54 2008
@@ -0,0 +1,36 @@
+<?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://www.osoa.org/xmlns/sca/1.0";
+    xmlns:sca="http://www.osoa.org/xmlns/sca/1.0";
+       targetNamespace="http://bigbank";
+    xmlns:bb="http://bigbank";>
+
+   <deployable composite="bb:BigBank"/>
+
+   <import.java package="bigbank.account.checking"/>
+   <import.java package="bigbank.account.savings"/>
+   <import.java package="bigbank.account.stock"/>
+   
+   <import namespace="http://bigbank/checkings"/>
+   <import namespace="http://bigbank/savings"/>
+   <import namespace="http://bigbank/stock"/>
+   
+   <import.resource uri="definitions.xml"/>
+</contribution>
\ No newline at end of file

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/META-INF/sca-contribution.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/demos/bigbank/src/main/resources/bigbank.jks
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/bigbank.jks?rev=635617&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/bigbank.jks
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/definitions.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/definitions.xml?rev=635617&view=auto
==============================================================================
--- incubator/tuscany/java/sca/demos/bigbank/src/main/resources/definitions.xml 
(added)
+++ incubator/tuscany/java/sca/demos/bigbank/src/main/resources/definitions.xml 
Mon Mar 10 10:44:54 2008
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+ * 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.    
+-->
+<sca:definitions xmlns="http://www.osoa.org/xmlns/sca/1.0";
+                       targetNamespace="http://bigbank";
+                       xmlns:sca="http://www.osoa.org/xmlns/sca/1.0";
+                       xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0";
+                       xmlns:chk="http://bigbank/checkings";
+                       xmlns:bb="http://bigbank";>
+
+ <!-- WS Security POLICY SETS -->
+ <sca:policySet name="wsIntegrityPolicy"
+       provides="integrity"
+       appliesTo="sca:binding.ws">
+       <tuscany:wsConfigParam>
+               <parameter name="InflowSecurity">
+                   <action>
+                       <items>Timestamp Signature</items>
+                       
<signaturePropFile>security.properties</signaturePropFile>
+                   </action>
+               </parameter>
+               <parameter name="OutflowSecurity">
+               <action>
+                       <items>Timestamp Signature</items>
+                       <user>bbservice</user>
+                       
<signaturePropFile>security.properties</signaturePropFile>
+                       
<passwordCallbackClass>bigbank.security.BigbankPasswordCallbackHandler</passwordCallbackClass>
+                       
<signatureKeyIdentifier>DirectReference</signatureKeyIdentifier>
+               </action>
+       </parameter>
+       </tuscany:wsConfigParam>
+ </sca:policySet>
+ 
+ <sca:policySet name="wsClientAuthenticationPolicy"
+       provides="authentication"
+       appliesTo="sca:reference/sca:binding.ws">
+       <tuscany:wsConfigParam>
+               <parameter name="OutflowSecurity">
+                       <action>
+                               <items>UsernameToken</items>
+                               <user>bbaservice</user>
+                               
<passwordCallbackClass>bigbank.security.BigbankPasswordCallbackHandler</passwordCallbackClass>
+                <passwordType>PasswordText</passwordType>
+               </action>
+       </parameter>
+       </tuscany:wsConfigParam>
+ </sca:policySet>
+</sca:definitions>
\ No newline at end of file

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/definitions.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/definitions.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/definitions.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/security.properties
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/security.properties?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/security.properties 
(added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/security.properties 
Mon Mar 10 10:44:54 2008
@@ -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

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/security.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/security.properties
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/security.properties
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/AccountJSON.html
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/AccountJSON.html?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/AccountJSON.html
 (added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/AccountJSON.html
 Mon Mar 10 10:44:54 2008
@@ -0,0 +1,92 @@
+<html>
+<!--
+ * 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.    
+ -->
+<head>
+<title>Tuscany JSON-RPC BigBank Client</TITLE>
+
+<script type="text/javascript">
+        var djConfig = {isDebug: true,debugContainerId: "dojoDebug" };
+               djConfig.usePlainJson=true ;
+        //djConfig.debugAtAllCosts = true;
+    </script>
+<script type="text/javascript" src="dojo/dojo/dojo.js"> 
+    </script>
+<script type="text/javascript" src="dojo/dijit/dijit.js"> 
+    </script>
+
+<script type="text/javascript">
+       dojo.require("dijit.form.Button");
+       dojo.require("dojo.rpc.JsonService");           
+    </script>
+
+<link rel="stylesheet" type="text/css" href="style.css" />
+</head>
+
+<body>
+
+<table>
+       <tr>
+               <th colspan="2">Tuscany JSON-RPC BigBank Client</th>
+       </tr>
+       <tr>
+               <td colspan="2">
+               <p>This example uses the <a href="http://dojotoolkit.org/";>Dojo
+               Toolkit</a> to create a JavaScript object 
<code>accountService</code> for
+               the service at <b>http://localhost:8080/AccountJSONService</b> 
using <a
+                       
href="http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book9";>Dojo's
+               RPC classes</a> and providing them with <a 
href="AccountJSONService?smd">http://localhost:8080/AccountJSONService?smd</a>
+               for <a href="http://dojo.jot.com/SMD";>Simple Method Description
+               (SMD)</a> input.</p>
+               <p>It then creates a Dojo button that will envoke the 
<code>getAccountReport</code>
+               method of the <code>accountService</code> object.</p>
+       </tr>
+       <tr>
+               <td>Request</td>
+               <td>Response</td>
+       </tr>
+       <tr>
+               <td><br>
+               <button id="myaccount" dojoType="dijit.form.Button"
+                       
onClick='accountService.getAccountReport("Dojo1234").addCallback(contentCallBack);'>getAccountReport("Dojo1234")</button>
+               <br>
+               </td>
+               <td>
+               <div id="ReturnedContent">None Yet.</div>
+               </td>
+       </tr>
+       <tr>
+               <td colspan="2">
+               <div id="dojoDebug">Dojo Debug:</div>
+               </td>
+       </tr>
+</table>
+
+<script type="text/javascript">
+    
+       function contentCallBack(result) {
+               var handlerNode = document.getElementById("ReturnedContent");
+               handlerNode.innerHTML = "<p>" + result + "</p>" ;
+       }
+    
+       var accountService = new dojo.rpc.JsonService("AccountJSONService?smd");
+    
+    </script>
+
+</body>
+</html>

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/AccountJSON.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/AccountJSON.html
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/AccountJSON.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/style.css
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/style.css?rev=635617&view=auto
==============================================================================
--- incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/style.css 
(added)
+++ incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/style.css 
Mon Mar 10 10:44:54 2008
@@ -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; }

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/web/style.css
------------------------------------------------------------------------------
    svn:eol-style = native

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl
 (added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl
 Mon Mar 10 10:44:54 2008
@@ -0,0 +1,91 @@
+<?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.
+-->
+
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
+       xmlns:tns="http://bigbank";
+       xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
+       xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+       targetNamespace="http://bigbank";
+       name="AccountService">
+
+       <wsdl:types>
+               <xsd:schema
+                       targetNamespace="http://bigbank";
+                       xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
+
+                       <xsd:element name="getAccountReport">
+                               <xsd:complexType>
+                                       <xsd:sequence>
+                                               <xsd:element name="customerID" 
type="xsd:string" />
+                                       </xsd:sequence>
+                               </xsd:complexType>
+                       </xsd:element>
+
+                       <xsd:element name="getAccountReportResponse">
+                               <xsd:complexType>
+                                       <xsd:sequence>
+                                               <xsd:element name="balance" 
type="xsd:double" />
+                                       </xsd:sequence>
+                               </xsd:complexType>
+                       </xsd:element>
+
+               </xsd:schema>
+       </wsdl:types>
+
+       <wsdl:message name="getAccountReportRequest">
+               <wsdl:part element="tns:getAccountReport"
+                       name="getAccountReportRequest" />
+       </wsdl:message>
+
+       <wsdl:message name="getAccountReportResponse">
+               <wsdl:part element="tns:getAccountReportResponse"
+                       name="getAccountReportResponse" />
+       </wsdl:message>
+
+       <wsdl:portType name="AccountService">
+               <wsdl:operation name="getAccountReport">
+                       <wsdl:input message="tns:getAccountReportRequest" />
+                       <wsdl:output message="tns:getAccountReportResponse" />
+               </wsdl:operation>
+       </wsdl:portType>
+
+       <wsdl:binding name="AccountServiceSoap" type="tns:AccountService">
+               <soap:binding style="document"
+                       transport="http://schemas.xmlsoap.org/soap/http"; />
+               <wsdl:operation name="getAccountReport">
+                       <soap:operation
+                               soapAction="" />
+                       <wsdl:input>
+                               <soap:body use="literal" />
+                       </wsdl:input>
+                       <wsdl:output>
+                               <soap:body use="literal" />
+                       </wsdl:output>
+               </wsdl:operation>
+       </wsdl:binding>
+
+       <wsdl:service name="AccountService">
+               <wsdl:port binding="tns:AccountServiceSoap"
+                       name="AccountServiceSoap">
+                       <soap:address
+                               
location="http://localhost:8082/services/AccountWebService"; />
+               </wsdl:port>
+       </wsdl:service>
+</wsdl:definitions>

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/main/resources/wsdl/AccountService.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
incubator/tuscany/java/sca/demos/bigbank/src/test/java/test/BigBankTestCase.java
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/demos/bigbank/src/test/java/test/BigBankTestCase.java?rev=635617&view=auto
==============================================================================
--- 
incubator/tuscany/java/sca/demos/bigbank/src/test/java/test/BigBankTestCase.java
 (added)
+++ 
incubator/tuscany/java/sca/demos/bigbank/src/test/java/test/BigBankTestCase.java
 Mon Mar 10 10:44:54 2008
@@ -0,0 +1,33 @@
+/*
+ * 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 test;
+
+import junit.framework.TestCase;
+
+import bigbank.demo.BigBankServer;
+
+/**
+ * @version $Rev$ $Date$
+ */
+public class BigBankTestCase extends TestCase {
+
+    public void testServer() throws Exception {
+        BigBankServer.main(new String[] {"1000"});
+    }
+}

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/test/java/test/BigBankTestCase.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
incubator/tuscany/java/sca/demos/bigbank/src/test/java/test/BigBankTestCase.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to