You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ed...@apache.org on 2006/06/15 12:57:45 UTC

svn commit: r414552 [2/2] - in /incubator/tuscany/cpp/sca/samples: BigBank/ BigBank/AccountClient/ BigBank/Accounts/ BigBank/deploy/ BigBank/deploy/modules/ BigBank/deploy/modules/Accounts/ BigBank/deploy/subsystems/ BigBank/deploy/subsystems/Accounts/...

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.dsp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.dsp?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.dsp (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.dsp Thu Jun 15 03:57:42 2006
@@ -0,0 +1,242 @@
+# Microsoft Developer Studio Project File - Name="Accounts" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=Accounts - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE 
+!MESSAGE NMAKE /f "Accounts.mak".
+!MESSAGE 
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE 
+!MESSAGE NMAKE /f "Accounts.mak" CFG="Accounts - Win32 Debug"
+!MESSAGE 
+!MESSAGE Possible choices for configuration are:
+!MESSAGE 
+!MESSAGE "Accounts - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "Accounts - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE 
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF  "$(CFG)" == "Accounts - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "Release"
+# PROP Intermediate_Dir "Release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /YX /FD /c
+# ADD CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "NDEBUG"
+# ADD RSC /l 0x809 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+
+!ELSEIF  "$(CFG)" == "Accounts - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "$(TUSCANY_SCACPP)\include" /I "$(TUSCANY_SDOCPP)\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /YX /FD /GZ /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x809 /d "_DEBUG"
+# ADD RSC /l 0x809 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /debug /machine:I386 /pdbtype:sept /libpath:"$(TUSCANY_SCACPP)/lib" /libpath:"$(TUSCANY_SDOCPP)/lib"
+
+!ENDIF 
+
+# Begin Target
+
+# Name "Accounts - Win32 Release"
+# Name "Accounts - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=.\AccountDataServiceImpl.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountDataServiceImpl_AccountDataService_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountDataServiceImpl_AccountDataService_Wrapper.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_AccountDataService_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_AccountDataService_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_AccountService_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_AccountService_Wrapper.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_stockQuote_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=.\AccountDataService.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountDataServiceImpl.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountDataServiceImpl_AccountDataService_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountDataServiceImpl_AccountDataService_Wrapper.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountService.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_AccountService_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_AccountService_Wrapper.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl_stockQuote_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteExternalService.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteService.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl_StockQuoteExternal_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl_StockQuoteService_Proxy.h
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl_StockQuoteService_Wrapper.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# Begin Source File
+
+SOURCE=.\AccountDataServiceImpl.componentType
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountService.wsdl
+# End Source File
+# Begin Source File
+
+SOURCE=.\AccountServiceImpl.componenttype
+# End Source File
+# Begin Source File
+
+SOURCE=.\sca.module
+# End Source File
+# Begin Source File
+
+SOURCE=.\sca.subsystem
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteService.wsdl
+# End Source File
+# Begin Source File
+
+SOURCE=.\StockQuoteServiceImpl.componentType
+# End Source File
+# End Target
+# End Project

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.dsp
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.plg
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.plg?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.plg (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/Accounts.plg Thu Jun 15 03:57:42 2006
@@ -0,0 +1,66 @@
+<html>
+<body>
+<pre>
+<h1>Build Log</h1>
+<h3>
+--------------------Configuration: Accounts - Win32 Debug--------------------
+</h3>
+<h3>Command Lines</h3>
+Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPB36.tmp" with contents
+[
+/nologo /MDd /W3 /Gm /GX /ZI /Od /I "c:\apache\apache_checkout\cpp\sca\include" /I "c:\apache\apache_checkout\cpp\sdo\deploy\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "ACCOUNTS_EXPORTS" /Fp"Debug/Accounts.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountDataServiceImpl.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountDataServiceImpl_AccountDataService_Proxy.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountDataServiceImpl_AccountDataService_Wrapper.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountServiceImpl.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountServiceImpl_AccountDataService_Proxy.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountServiceImpl_AccountService_Proxy.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountServiceImpl_AccountService_Wrapper.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\AccountServiceImpl_stockQuote_Proxy.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\StockQuoteServiceImpl.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteService_Proxy.cpp"
+"C:\apache\apache_checkout\cpp\sca\samples\BigBank\Accounts\StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp"
+]
+Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPB36.tmp" 
+Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPB37.tmp" with contents
+[
+kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib tuscany_sca.lib tuscany_sdo.lib /nologo /dll /incremental:yes /pdb:"Debug/Accounts.pdb" /debug /machine:I386 /out:"Debug/Accounts.dll" /implib:"Debug/Accounts.lib" /pdbtype:sept /libpath:"c:\apache\apache_checkout\cpp\sca/lib" /libpath:"c:\apache\apache_checkout\cpp\sdo\deploy/lib" 
+.\Debug\AccountDataServiceImpl.obj
+.\Debug\AccountDataServiceImpl_AccountDataService_Proxy.obj
+.\Debug\AccountDataServiceImpl_AccountDataService_Wrapper.obj
+.\Debug\AccountServiceImpl.obj
+.\Debug\AccountServiceImpl_AccountDataService_Proxy.obj
+.\Debug\AccountServiceImpl_AccountService_Proxy.obj
+.\Debug\AccountServiceImpl_AccountService_Wrapper.obj
+.\Debug\AccountServiceImpl_stockQuote_Proxy.obj
+.\Debug\StockQuoteServiceImpl.obj
+.\Debug\StockQuoteServiceImpl_StockQuoteExternal_Proxy.obj
+.\Debug\StockQuoteServiceImpl_StockQuoteService_Proxy.obj
+.\Debug\StockQuoteServiceImpl_StockQuoteService_Wrapper.obj
+]
+Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPB37.tmp"
+<h3>Output Window</h3>
+Compiling...
+AccountDataServiceImpl.cpp
+AccountDataServiceImpl_AccountDataService_Proxy.cpp
+AccountDataServiceImpl_AccountDataService_Wrapper.cpp
+AccountServiceImpl.cpp
+AccountServiceImpl_AccountDataService_Proxy.cpp
+AccountServiceImpl_AccountService_Proxy.cpp
+AccountServiceImpl_AccountService_Wrapper.cpp
+AccountServiceImpl_stockQuote_Proxy.cpp
+StockQuoteServiceImpl.cpp
+StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp
+StockQuoteServiceImpl_StockQuoteService_Proxy.cpp
+StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp
+Linking...
+   Creating library Debug/Accounts.lib and object Debug/Accounts.exp
+
+
+
+<h3>Results</h3>
+Accounts.dll - 0 error(s), 0 warning(s)
+</pre>
+</body>
+</html>

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteExternalService.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteExternalService.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteExternalService.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteExternalService.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,24 @@
+#include "commonj/sdo/SDO.h"
+using namespace commonj::sdo;
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace stockquote
+        {
+
+    /*
+     *  AccountsService C interface
+     */
+
+			class StockQuoteExternalService {
+				public:
+				virtual const char* GetQuote(const char* symbol) = 0;
+
+			};
+
+		}
+	} 		 
+} // namespace;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteExternalService.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteExternalService.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,24 @@
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace stockquote
+        {
+
+    /*
+     *  AccountsService C interface
+     */
+
+			class StockQuoteService {
+				public:
+				virtual float getQuote(const char* symbol) = 0;
+
+			};
+
+		}
+	} 		 
+} // namespace;
+
+using namespace com::bigbank::stockquote;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.wsdl?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.wsdl (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteService.wsdl Thu Jun 15 03:57:42 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<wsdl:definitions 
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://www.quickstockquote.com/StockQuoteService/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.quickstockquote.com/StockQuoteService/"
+ name="StockQuoteService"> 
+
+ <wsdl:types>
+  <xsd:schema 
+   targetNamespace="http://www.quickstockquote.com/StockQuoteService/"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
+  
+  <xsd:element name="getQuote"> 
+   <xsd:complexType> 
+    <xsd:sequence> 
+	 <xsd:element name="symbol" type="xsd:string"/>
+	</xsd:sequence> 
+   </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="getQuoteResponse">
+   <xsd:complexType>
+    <xsd:sequence>
+	 <xsd:element name="quote" type="xsd:float"/>
+	</xsd:sequence>
+   </xsd:complexType> 
+  </xsd:element> 
+
+  </xsd:schema>
+   </wsdl:types>
+    <wsdl:message name="getQuote">
+     <wsdl:part element="tns:getQuote" name="getQuote" />
+    </wsdl:message>
+   <wsdl:message name="getQuoteResponse">
+  <wsdl:part element="tns:getQuoteResponse" name="getQuoteResponse" />
+ </wsdl:message>
+
+ <wsdl:portType name="StockQuoteService">
+  <wsdl:operation name="getQuote">
+   <wsdl:input message="tns:getQuote" />
+   <wsdl:output message="tns:getQuoteResponse" />
+  </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="StockQuoteServiceSOAP"
+   type="tns:StockQuoteService">
+  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+  <wsdl:operation name="getQuote">
+   <soap:operation
+     soapAction="http://www.quickstockquote.com/StockQuoteService/getQuote" />
+    <wsdl:input> 
+     <soap:body use="literal" />
+    </wsdl:input>
+    <wsdl:output>
+     <soap:body use="literal" />
+    </wsdl:output>
+   </wsdl:operation>
+  </wsdl:binding>
+ <wsdl:service name="StockQuoteService">
+  <wsdl:port binding="tns:StockQuoteServiceSOAP"  
+   name="StockQuoteServiceSOAP"> 
+   <soap:address location="http://www.quickstockquote.com/services/StockQuoteService"/>
+  </wsdl:port>
+ </wsdl:service> 
+</wsdl:definitions> 
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.componentType
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.componentType?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.componentType (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.componentType Thu Jun 15 03:57:42 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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.
+ -->
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9">
+
+	<service name="StockQuoteService">
+		<interface.cpp header="StockQuoteService.h">
+		</interface.cpp>
+	</service>
+
+	<reference name="StockQuoteExternal">
+		<interface.cpp header="StockQuoteExternalService.h">
+		</interface.cpp>
+	</reference>
+
+
+</componentType>
+	
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.cpp?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.cpp (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.cpp Thu Jun 15 03:57:42 2006
@@ -0,0 +1,63 @@
+
+#if defined(WIN32)  || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+
+#include "StockQuoteServiceImpl.h"
+#include "StockQuoteExternalService.h"
+
+#include "osoa/sca/sca.h"
+#include "commonj/sdo/SDO.h"
+
+using namespace osoa::sca;
+using namespace commonj::sdo;
+
+namespace com{
+    namespace bigbank{
+        namespace stockquote {
+
+
+            float StockQuoteServiceImpl::getQuote(const char *symbol)
+            {
+                ComponentContext myContext = ComponentContext::getCurrent();
+
+                // Use an SCA reference to get the stock price
+                StockQuoteExternalService* stockQuoteExternalService = 
+                    (StockQuoteExternalService*)myContext.
+                    getService("StockQuoteExternal");
+
+                if (stockQuoteExternalService == 0)
+                {
+                    std::cout << "unable to find external stock quote service" << std::endl;
+                    return 0.1f;
+                }
+
+                // Create a data object representing the requests (use dynamic API until static is available)
+                DataObjectPtr requestDO;
+
+                // Invoke the service
+                const char* result = stockQuoteExternalService->GetQuote(symbol);
+
+                //std::cout << result<< std::endl;
+    
+                float stockPrice = 0.0f;
+
+                try
+                {
+    	            XMLHelperPtr xmlHelper = HelperProvider::getXMLHelper(myContext.getDataFactory());
+     	            XMLDocumentPtr stockDoc = xmlHelper->load(result);
+                    if (stockDoc->getRootDataObject())
+                    {
+                        stockPrice=stockDoc->getRootDataObject()->getFloat("Stock.0/Last");
+                    }
+                }
+                catch (SDORuntimeException e)
+                {
+                    std::cout << e << std::endl;
+                    return 0.0f;
+                }
+                return stockPrice;
+            }
+        }
+    }
+}
\ No newline at end of file

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,25 @@
+
+#include "StockQuoteService.h"
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace stockquote
+        {
+
+    /*
+     *  AccountsService C interface
+     */
+
+            class StockQuoteServiceImpl : public StockQuoteService {
+	    public:
+		virtual float getQuote(const char* symbol);
+
+	};
+	
+
+}
+} 		 
+} // namespace;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp Thu Jun 15 03:57:42 2006
@@ -0,0 +1,65 @@
+/*
+ *  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.
+ */
+#if defined(WIN32)  || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+#include "StockQuoteServiceImpl_StockQuoteExternal_Proxy.h"
+
+#include "osoa/sca/sca.h"
+using namespace osoa::sca;
+using namespace tuscany::sca;
+
+extern "C"
+{
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    StockQuoteServiceImpl_StockQuoteExternal_Proxy* StockQuoteServiceImpl_StockQuoteExternal_Proxy_Factory(ServiceWrapper* target)
+    {
+        return new StockQuoteServiceImpl_StockQuoteExternal_Proxy(target);
+    }
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    void StockQuoteServiceImpl_StockQuoteExternal_Proxy_Destructor(void* proxy)
+    {
+        delete (StockQuoteServiceImpl_StockQuoteExternal_Proxy*)proxy;
+    }
+}
+
+StockQuoteServiceImpl_StockQuoteExternal_Proxy::StockQuoteServiceImpl_StockQuoteExternal_Proxy(ServiceWrapper* targ) : target(targ)
+{
+}
+
+StockQuoteServiceImpl_StockQuoteExternal_Proxy::~StockQuoteServiceImpl_StockQuoteExternal_Proxy()
+{
+    if (target)
+        delete target;
+}
+
+const char* StockQuoteServiceImpl_StockQuoteExternal_Proxy::GetQuote(const char* arg0)
+{
+    Operation operation("GetQuote");
+    operation.addParameter(&arg0);
+    const char* ret;
+    operation.setReturnValue(&ret);
+    target->invoke(operation);
+    return ret;
+}
+
+

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,34 @@
+/* 
+ *  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.
+ */
+
+#ifndef StockQuoteServiceImpl_StockQuoteExternal_Proxy_h
+#define StockQuoteServiceImpl_StockQuoteExternal_Proxy_h
+
+#include "StockQuoteExternalService.h"
+#include "tuscany/sca/core/ServiceWrapper.h"
+
+class StockQuoteServiceImpl_StockQuoteExternal_Proxy : public com::bigbank::stockquote::StockQuoteExternalService
+{
+public:
+    StockQuoteServiceImpl_StockQuoteExternal_Proxy(tuscany::sca::ServiceWrapper*);
+    virtual ~StockQuoteServiceImpl_StockQuoteExternal_Proxy();
+    virtual const char* GetQuote(const char* symbol);
+private:
+    tuscany::sca::ServiceWrapper* target;
+};
+
+#endif // StockQuoteServiceImpl_StockQuoteExternal_Proxy_h
+

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteExternal_Proxy.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.cpp?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.cpp (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.cpp Thu Jun 15 03:57:42 2006
@@ -0,0 +1,65 @@
+/*
+ *  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.
+ */
+#if defined(WIN32)  || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+#include "StockQuoteServiceImpl_StockQuoteService_Proxy.h"
+
+#include "osoa/sca/sca.h"
+using namespace osoa::sca;
+using namespace tuscany::sca;
+
+extern "C"
+{
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    StockQuoteServiceImpl_StockQuoteService_Proxy* StockQuoteServiceImpl_StockQuoteService_Proxy_Factory(ServiceWrapper* target)
+    {
+        return new StockQuoteServiceImpl_StockQuoteService_Proxy(target);
+    }
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    void StockQuoteServiceImpl_StockQuoteService_Proxy_Destructor(void* proxy)
+    {
+        delete (StockQuoteServiceImpl_StockQuoteService_Proxy*)proxy;
+    }
+}
+
+StockQuoteServiceImpl_StockQuoteService_Proxy::StockQuoteServiceImpl_StockQuoteService_Proxy(ServiceWrapper* targ) : target(targ)
+{
+}
+
+StockQuoteServiceImpl_StockQuoteService_Proxy::~StockQuoteServiceImpl_StockQuoteService_Proxy()
+{
+    if (target)
+        delete target;
+}
+
+float StockQuoteServiceImpl_StockQuoteService_Proxy::getQuote(const char* arg0)
+{
+    Operation operation("getQuote");
+    operation.addParameter(&arg0);
+    float ret;
+    operation.setReturnValue(&ret);
+    target->invoke(operation);
+    return ret;
+}
+
+

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,34 @@
+/* 
+ *  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.
+ */
+
+#ifndef StockQuoteServiceImpl_StockQuoteService_Proxy_h
+#define StockQuoteServiceImpl_StockQuoteService_Proxy_h
+
+#include "StockQuoteService.h"
+#include "tuscany/sca/core/ServiceWrapper.h"
+
+class StockQuoteServiceImpl_StockQuoteService_Proxy : public com::bigbank::stockquote::StockQuoteService
+{
+public:
+    StockQuoteServiceImpl_StockQuoteService_Proxy(tuscany::sca::ServiceWrapper*);
+    virtual ~StockQuoteServiceImpl_StockQuoteService_Proxy();
+    virtual float getQuote(const char* symbol);
+private:
+    tuscany::sca::ServiceWrapper* target;
+};
+
+#endif // StockQuoteServiceImpl_StockQuoteService_Proxy_h
+

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Proxy.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp Thu Jun 15 03:57:42 2006
@@ -0,0 +1,72 @@
+/* 
+ *  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.
+ */
+#if defined(WIN32)  || defined (_WINDOWS)
+#pragma warning(disable: 4786)
+#endif
+#include "StockQuoteServiceImpl_StockQuoteService_Wrapper.h"
+
+#include "osoa/sca/sca.h"
+using namespace osoa::sca;
+using namespace tuscany::sca;
+
+extern "C"
+{
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    StockQuoteServiceImpl_StockQuoteService_Wrapper* StockQuoteServiceImpl_StockQuoteService_Wrapper_Factory(tuscany::sca::model::Service* target)
+    {
+        return new StockQuoteServiceImpl_StockQuoteService_Wrapper(target);
+    }
+}
+
+StockQuoteServiceImpl_StockQuoteService_Wrapper::StockQuoteServiceImpl_StockQuoteService_Wrapper(Service* target) : ComponentServiceWrapper(target)
+{
+    impl = (StockQuoteServiceImpl*)getImplementation();
+}
+
+StockQuoteServiceImpl_StockQuoteService_Wrapper::~StockQuoteServiceImpl_StockQuoteService_Wrapper()
+{
+    releaseImplementation();
+}
+
+void* StockQuoteServiceImpl_StockQuoteService_Wrapper::newImplementation()
+{
+    return new StockQuoteServiceImpl;
+}
+
+void StockQuoteServiceImpl_StockQuoteService_Wrapper::deleteImplementation()
+{
+    delete impl;
+}
+
+void StockQuoteServiceImpl_StockQuoteService_Wrapper::invokeService(Operation& operation)
+{
+    const string& operationName = operation.getName();
+
+    if (operationName == "getQuote")
+    {
+        const char* p0 = *(const char**)operation.getParameterValue(0);
+        *(float*)operation.getReturnValue() = impl->getQuote(p0);
+        return;
+    }
+        
+
+    throw ServiceRuntimeException("Invalid operation");
+    
+}
+

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,36 @@
+/* 
+ *  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.
+ */
+
+#ifndef StockQuoteServiceImpl_StockQuoteService_Wrapper_h
+#define StockQuoteServiceImpl_StockQuoteService_Wrapper_h
+
+#include "StockQuoteServiceImpl.h"
+#include "tuscany/sca/core/ComponentServiceWrapper.h"
+
+class StockQuoteServiceImpl_StockQuoteService_Wrapper : public tuscany::sca::ComponentServiceWrapper
+{
+public:
+    StockQuoteServiceImpl_StockQuoteService_Wrapper(tuscany::sca::model::Service* target);
+    virtual ~StockQuoteServiceImpl_StockQuoteService_Wrapper();
+    virtual void invokeService(tuscany::sca::Operation& operation);
+    virtual void* newImplementation();
+    virtual void deleteImplementation();
+private:
+    StockQuoteServiceImpl* impl;
+};
+
+#endif // StockQuoteServiceImpl_StockQuoteService_Wrapper_h
+

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/StockQuoteServiceImpl_StockQuoteService_Wrapper.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.module
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.module?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.module (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.module Thu Jun 15 03:57:42 2006
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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"
+        name="AccountModule">
+
+	<entryPoint name="AccountService">
+		<interface.cpp header="AccountService.h"/>
+		<binding.ws port="http://www.bigbank.com/AccountService#wsdl.
+		  endpoint(AccountService/AccountServiceSOAP)"/>
+         <reference>AccountServiceComponent</reference>
+	</entryPoint>
+
+	<component name="AccountServiceComponent">
+		<implementation.cpp dll="Accounts.dll" header="AccountServiceImpl.h"/>
+		<references>
+			<AccountDataService>AccountDataServiceComponent</AccountDataService>
+			<stockQuote>StockQuoteServiceComponent</stockQuote>
+		</references>
+		<properties>
+			<v:currency>EURO</v:currency>
+		</properties>
+	</component>  
+
+	<component name="AccountDataServiceComponent">
+		<implementation.cpp dll="Accounts.dll" header="AccountDataServiceImpl.h"/>
+	</component>  
+
+	<component name="StockQuoteServiceComponent">
+		<implementation.cpp dll="Accounts.dll" header="StockQuoteServiceImpl.h"/>
+		<references>
+			<StockQuoteExternal>StockQuoteExternalService</StockQuoteExternal>
+		</references>
+	</component>  
+
+	<externalService name="StockQuoteExternalService">
+		<interface.cpp header="StockQuoteExternalService.h"/>
+		<binding.ws port="http://www.webserviceX.NET/#wsdl.endpoint(StockQuote/StockQuoteSoap)"/>
+	</externalService>
+     
+</module>

Added: incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.subsystem
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.subsystem?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.subsystem (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/Accounts/sca.subsystem Thu Jun 15 03:57:42 2006
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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.
+ -->
+
+<subsystem xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ 
+	name="AccountSubsystem">
+	
+	<moduleComponent name="Account" module="AccountModule">
+		
+	</moduleComponent>
+
+</subsystem>
+	
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/BigBank.dsw
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/BigBank.dsw?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/BigBank.dsw (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/BigBank.dsw Thu Jun 15 03:57:42 2006
@@ -0,0 +1,41 @@
+Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "AccountClient"=.\AccountClient\AccountClient.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "Accounts"=.\Accounts\Accounts.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/BigBank.dsw
------------------------------------------------------------------------------
    svn:eol-style = CRLF

Added: incubator/tuscany/cpp/sca/samples/BigBank/BigBank.ncb
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/BigBank.ncb?rev=414552&view=auto
==============================================================================
Binary files /tmp/tmpr9HN2t and /tmp/tmpSO6o7g differ

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy.bat
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy.bat?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy.bat (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy.bat Thu Jun 15 03:57:42 2006
@@ -0,0 +1,16 @@
+copy Accounts\Debug\Accounts.dll Deploy\modules\Accounts
+copy Accounts\Debug\Accounts.pdb Deploy\modules\Accounts
+copy Accounts\AccountServiceImpl.h Deploy\modules\Accounts
+copy Accounts\AccountService.h Deploy\modules\Accounts
+copy Accounts\AccountDataServiceImpl.h Deploy\modules\Accounts
+copy Accounts\AccountDataService.h Deploy\modules\Accounts
+copy Accounts\StockQuoteService.h Deploy\modules\Accounts
+copy Accounts\StockQuoteServiceImpl.h Deploy\modules\Accounts
+copy Accounts\StockQuoteExternalService.h Deploy\modules\Accounts
+copy AccountClient\Debug\AccountClient.exe Deploy\modules\Accounts
+copy AccountClient\Debug\AccountClient.pdb Deploy\modules\Accounts
+copy Accounts\sca.module Deploy\modules\Accounts
+copy Accounts\sca.subsystem Deploy\subsystems\Accounts
+copy Accounts\AccountServiceImpl.componentType Deploy\modules\Accounts
+copy Accounts\AccountDataServiceImpl.componentType Deploy\modules\Accounts
+copy Accounts\StockQuoteServiceImpl.componentType Deploy\modules\Accounts

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy.bat
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountClient.exe
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountClient.exe?rev=414552&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountClient.exe
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountClient.pdb
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountClient.pdb?rev=414552&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountClient.pdb
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataService.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataService.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataService.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataService.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,48 @@
+
+
+
+#include "commonj/sdo/SDO.h"
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace account
+        {
+
+    /*
+     *  AccountDataService C interface
+     */
+
+    class AccountDataService {
+
+    public:
+
+        // CheckingAccount is a data object containing
+        // String "accountNumber"
+        // float balance
+
+        virtual commonj::sdo::DataObjectPtr /* CheckingAccount*/ getCheckingAccount(
+            const char *id) = 0;
+
+        // SavingsAccount is a data object containing
+        // String accountNumber
+        // float balance
+
+        virtual commonj::sdo::DataObjectPtr /* SavingsAccount */ getSavingsAccount(
+            const char *id) = 0;
+
+        // StockAccount is a data object containing
+        // String accountNumber
+        // String symbol
+        // int quantity
+
+        virtual commonj::sdo::DataObjectPtr /* StockAccount */ getStockAccount (
+            const char* id) = 0;
+
+         
+    };
+
+}
+} 		 
+} // namespace;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataService.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataService.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.componentType
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.componentType?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.componentType (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.componentType Thu Jun 15 03:57:42 2006
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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.
+ -->
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9">
+
+	<service name="AccountDataService">
+		<interface.cpp header="AccountDataService.h">
+		</interface.cpp>
+	</service>
+
+</componentType>
+	
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,45 @@
+
+
+#include "AccountDataService.h"
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace account
+        {
+
+    /*
+     *  AccountDataService C interface
+     */
+
+        class AccountDataServiceImpl : public AccountDataService {
+
+            public:
+            // CheckingAccount is a data object containing
+            // String "accountNumber"
+            // float balance
+
+            virtual DataObjectPtr /* CheckingAccount*/ getCheckingAccount(
+                const char *id);
+
+            // SavingsAccount is a data object containing
+            // String accountNumber
+            // float balance
+
+            virtual DataObjectPtr /* SavingsAccount */ getSavingsAccount(
+                const char *id);
+
+            // StockAccount is a data object containing
+            // String accountNumber
+            // String symbol
+            // int quantity
+
+            virtual DataObjectPtr /* StockAccount */ getStockAccount (
+                const char* id);
+
+            };
+        }
+    }
+}

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountDataServiceImpl.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,41 @@
+/**
+ * AccountService.h
+ *
+ */
+
+
+#include <commonj/sdo/SDO.h>
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace account
+        {
+
+    /*
+     *  AccountService C interface
+     */
+
+            class AccountService {
+ 		 
+            public:
+
+                //The account report data object has one many-valued
+                // property "accountSummaries".
+                // This had properties
+                // String accountNumber
+                // String accountType
+                // Float balance.
+
+                 virtual commonj::sdo::DataObjectPtr /*AccountReport*/
+                     getAccountReport(const char* id) = 0;
+         
+        
+            };
+    
+        }   
+    }
+} // namespaces 
+    
\ No newline at end of file

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.wsdl?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.wsdl (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountService.wsdl Thu Jun 15 03:57:42 2006
@@ -0,0 +1,89 @@
+<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+xmlns:tns="http://www.bigbank.com/AccountService/"
+xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+targetNamespace="http://www.bigbank.com/AccountService/"
+name="AccountService" > 
+
+<wsdl:types>
+ <xsd:schema 
+  targetNamespace="http://www.bigbank.com/AccountService/"
+  xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
+  
+  <xsd:element name="customerID" type="xsd:string" />
+  
+  <xsd:element name="getAcountReportResponse" type="tns:AccountReport" />
+
+  <xsd:complexType name="AccountReport"> 
+   <xsd:sequence>
+    <xsd:element name="checking" type="tns:CheckingAccount" 
+	  maxOccurs="unbounded"/>
+    <xsd:element name="savings" type="tns:SavingsAccount" 
+	  maxOccurs="unbounded"/>
+    <xsd:element name="stocks" type="tns:StockAccount" 
+	  maxOccurs="unbounded"/>
+   </xsd:sequence>
+   </xsd:complexType>
+  
+  <xsd:complexType name="StockAccount">
+   <xsd:sequence>
+    <xsd:element name="accountNumber" type="xsd:string"/>
+	<xsd:element name="symbol" type="xsd:string"/>
+	<xsd:element name="quantity" type="xsd:integer"/>
+	<xsd:element name="balance" type="xsd:float"/>
+   </xsd:sequence>
+  </xsd:complexType>
+  <xsd:complexType name="CheckingAccount">
+   <xsd:sequence>
+    <xsd:element name="accountNumber" type="xsd:string"/>
+	<xsd:element name="balance" type="xsd:float"/>
+   </xsd:sequence>
+  </xsd:complexType>
+  <xsd:complexType name="SavingsAccount">
+   <xsd:sequence>
+    <xsd:element name="accountNumber" type="xsd:string"/>
+	<xsd:element name="balance" type="xsd:float"/>
+   </xsd:sequence>
+  </xsd:complexType>
+ </xsd:schema>
+</wsdl:types>
+
+<wsdl:message name="getAcountReportRequest">
+ <wsdl:part element="tns:customerID" name="getAcountReportRequest" />
+</wsdl:message>
+
+<wsdl:message name="getAcountReportResponse">
+ <wsdl:part element="tns:getAcountReportResponse" 
+   name="getAcountReportResponse" />
+</wsdl:message> 
+
+<wsdl:portType name="AccountService"> 
+  SCA Sample Application 16 November 2005 
+ <wsdl:operation name="getAcountReport">
+  <wsdl:input message="tns:getAcountReportRequest" />
+  <wsdl:output message="tns:getAcountReportResponse" />
+ </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="getAcountReport">
+ <soap:operation
+   soapAction="http://www.bigbank.com/AccountService/getAcountReport" />
+  <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="" />
+ </wsdl:port>
+</wsdl:service>
+</wsdl:definitions> 
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.componenttype
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.componenttype?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.componenttype (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.componenttype Thu Jun 15 03:57:42 2006
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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.
+ -->
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9"
+		xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+	<service name="AccountService">
+		<interface.cpp header="AccountService.h">
+		</interface.cpp>
+	</service>
+
+	<reference name="AccountDataService">
+		<interface.cpp header="AccountDataService.h">
+		</interface.cpp>
+	</reference>
+
+	<reference name="stockQuote">
+		<interface.cpp header="StockQuoteService.h">
+		</interface.cpp>
+	</reference>
+
+	<property name="currency" type="xs:string"/>
+
+</componentType>
+	
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,58 @@
+/**
+ *
+ *  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.
+ */
+
+#include "AccountService.h"
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace account
+        {
+
+class AccountServiceImpl:  public AccountService 
+    {
+
+    public:
+
+
+    AccountServiceImpl();
+    virtual ~AccountServiceImpl();
+
+    // public API
+
+    virtual DataObjectPtr /*AccountReport*/
+        getAccountReport(const char* id);
+
+
+    //virtual void lazyGetDependencies();
+    
+private:
+
+   
+    float fromUSDollarToCurrency(float value);
+
+    bool initialized;
+	
+};
+
+}
+}
+} // namespaces
+
+using namespace com::bigbank::account;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/AccountServiceImpl.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Accounts.dll
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Accounts.dll?rev=414552&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Accounts.dll
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Accounts.pdb
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Accounts.pdb?rev=414552&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Accounts.pdb
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,24 @@
+#include "commonj/sdo/SDO.h"
+using namespace commonj::sdo;
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace stockquote
+        {
+
+    /*
+     *  AccountsService C interface
+     */
+
+			class StockQuoteExternalService {
+				public:
+				virtual const char* GetQuote(const char* symbol) = 0;
+
+			};
+
+		}
+	} 		 
+} // namespace;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.wsdl?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.wsdl (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalService.wsdl Thu Jun 15 03:57:42 2006
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webserviceX.NET/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webserviceX.NET/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+  <wsdl:types>
+    <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET/">
+      <s:element name="GetQuote">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="symbol" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+
+      </s:element>
+      <s:element name="GetQuoteResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="GetQuoteResult" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="string" nillable="true" type="s:string" />
+
+    </s:schema>
+  </wsdl:types>
+  <wsdl:message name="GetQuoteSoapIn">
+    <wsdl:part name="parameters" element="tns:GetQuote" />
+  </wsdl:message>
+  <wsdl:message name="GetQuoteSoapOut">
+    <wsdl:part name="parameters" element="tns:GetQuoteResponse" />
+  </wsdl:message>
+  <wsdl:message name="GetQuoteHttpGetIn">
+
+    <wsdl:part name="symbol" type="s:string" />
+  </wsdl:message>
+  <wsdl:message name="GetQuoteHttpGetOut">
+    <wsdl:part name="Body" element="tns:string" />
+  </wsdl:message>
+  <wsdl:message name="GetQuoteHttpPostIn">
+    <wsdl:part name="symbol" type="s:string" />
+  </wsdl:message>
+  <wsdl:message name="GetQuoteHttpPostOut">
+
+    <wsdl:part name="Body" element="tns:string" />
+  </wsdl:message>
+  <wsdl:portType name="StockQuoteSoap">
+    <wsdl:operation name="GetQuote">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get Stock quote for a company Symbol</documentation>
+      <wsdl:input message="tns:GetQuoteSoapIn" />
+      <wsdl:output message="tns:GetQuoteSoapOut" />
+    </wsdl:operation>
+
+  </wsdl:portType>
+  <wsdl:portType name="StockQuoteHttpGet">
+    <wsdl:operation name="GetQuote">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get Stock quote for a company Symbol</documentation>
+      <wsdl:input message="tns:GetQuoteHttpGetIn" />
+      <wsdl:output message="tns:GetQuoteHttpGetOut" />
+    </wsdl:operation>
+  </wsdl:portType>
+
+  <wsdl:portType name="StockQuoteHttpPost">
+    <wsdl:operation name="GetQuote">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get Stock quote for a company Symbol</documentation>
+      <wsdl:input message="tns:GetQuoteHttpPostIn" />
+      <wsdl:output message="tns:GetQuoteHttpPostOut" />
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="StockQuoteSoap" type="tns:StockQuoteSoap">
+
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
+    <wsdl:operation name="GetQuote">
+      <soap:operation soapAction="http://www.webserviceX.NET/GetQuote" style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="StockQuoteHttpGet" type="tns:StockQuoteHttpGet">
+    <http:binding verb="GET" />
+    <wsdl:operation name="GetQuote">
+      <http:operation location="/GetQuote" />
+      <wsdl:input>
+        <http:urlEncoded />
+      </wsdl:input>
+
+      <wsdl:output>
+        <mime:mimeXml part="Body" />
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="StockQuoteHttpPost" type="tns:StockQuoteHttpPost">
+    <http:binding verb="POST" />
+    <wsdl:operation name="GetQuote">
+      <http:operation location="/GetQuote" />
+
+      <wsdl:input>
+        <mime:content type="application/x-www-form-urlencoded" />
+      </wsdl:input>
+      <wsdl:output>
+        <mime:mimeXml part="Body" />
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="StockQuote">
+
+    <wsdl:port name="StockQuoteSoap" binding="tns:StockQuoteSoap">
+      <soap:address location="http://www.webservicex.net/stockquote.asmx" />
+    </wsdl:port>
+    <wsdl:port name="StockQuoteHttpGet" binding="tns:StockQuoteHttpGet">
+      <http:address location="http://www.webservicex.net/stockquote.asmx" />
+    </wsdl:port>
+    <wsdl:port name="StockQuoteHttpPost" binding="tns:StockQuoteHttpPost">
+      <http:address location="http://www.webservicex.net/stockquote.asmx" />
+    </wsdl:port>
+
+  </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalTypes.xsd
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalTypes.xsd?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalTypes.xsd (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalTypes.xsd Thu Jun 15 03:57:42 2006
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" ?> 
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+  <xs:element name="StockQuotes" type="tStockQuotes"/>
+  <xs:complexType name="tStockQuotes">
+    <xs:sequence>
+      <xs:element name="Stock" type="tStock" minOccurs="0" maxOccurs="unbounded"/>
+      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##any" processContents="lax"/>
+  </xs:complexType>
+
+  <xs:complexType name="tStock">
+    <xs:sequence>
+      <xs:element minOccurs="0" maxOccurs="1" name="Symbol"     type="xs:string"/>
+      <xs:element minOccurs="0" maxOccurs="1" name="Last"       type="xs:float"/>
+     <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
+    </xs:sequence>
+    <xs:anyAttribute namespace="##any" processContents="lax"/>
+  </xs:complexType>
+</xs:schema>
\ No newline at end of file

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalTypes.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteExternalTypes.xsd
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,24 @@
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace stockquote
+        {
+
+    /*
+     *  AccountsService C interface
+     */
+
+			class StockQuoteService {
+				public:
+				virtual float getQuote(const char* symbol) = 0;
+
+			};
+
+		}
+	} 		 
+} // namespace;
+
+using namespace com::bigbank::stockquote;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.wsdl?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.wsdl (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteService.wsdl Thu Jun 15 03:57:42 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<wsdl:definitions 
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://www.quickstockquote.com/StockQuoteService/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ targetNamespace="http://www.quickstockquote.com/StockQuoteService/"
+ name="StockQuoteService"> 
+
+ <wsdl:types>
+  <xsd:schema 
+   targetNamespace="http://www.quickstockquote.com/StockQuoteService/"
+   xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
+  
+  <xsd:element name="getQuote"> 
+   <xsd:complexType> 
+    <xsd:sequence> 
+	 <xsd:element name="symbol" type="xsd:string"/>
+	</xsd:sequence> 
+   </xsd:complexType>
+  </xsd:element>
+
+  <xsd:element name="getQuoteResponse">
+   <xsd:complexType>
+    <xsd:sequence>
+	 <xsd:element name="quote" type="xsd:float"/>
+	</xsd:sequence>
+   </xsd:complexType> 
+  </xsd:element> 
+
+  </xsd:schema>
+   </wsdl:types>
+    <wsdl:message name="getQuote">
+     <wsdl:part element="tns:getQuote" name="getQuote" />
+    </wsdl:message>
+   <wsdl:message name="getQuoteResponse">
+  <wsdl:part element="tns:getQuoteResponse" name="getQuoteResponse" />
+ </wsdl:message>
+
+ <wsdl:portType name="StockQuoteService">
+  <wsdl:operation name="getQuote">
+   <wsdl:input message="tns:getQuote" />
+   <wsdl:output message="tns:getQuoteResponse" />
+  </wsdl:operation>
+ </wsdl:portType>
+
+ <wsdl:binding name="StockQuoteServiceSOAP"
+   type="tns:StockQuoteService">
+  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+  <wsdl:operation name="getQuote">
+   <soap:operation
+     soapAction="http://www.quickstockquote.com/StockQuoteService/getQuote" />
+    <wsdl:input> 
+     <soap:body use="literal" />
+    </wsdl:input>
+    <wsdl:output>
+     <soap:body use="literal" />
+    </wsdl:output>
+   </wsdl:operation>
+  </wsdl:binding>
+ <wsdl:service name="StockQuoteService">
+  <wsdl:port binding="tns:StockQuoteServiceSOAP"  
+   name="StockQuoteServiceSOAP"> 
+   <soap:address location="http://www.quickstockquote.com/services/StockQuoteService"/>
+  </wsdl:port>
+ </wsdl:service> 
+</wsdl:definitions> 
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.componentType
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.componentType?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.componentType (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.componentType Thu Jun 15 03:57:42 2006
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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.
+ -->
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9">
+
+	<service name="StockQuoteService">
+		<interface.cpp header="StockQuoteService.h">
+		</interface.cpp>
+	</service>
+
+	<reference name="StockQuoteExternal">
+		<interface.cpp header="StockQuoteExternalService.h">
+		</interface.cpp>
+	</reference>
+
+
+</componentType>
+	
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.h
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.h?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.h (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.h Thu Jun 15 03:57:42 2006
@@ -0,0 +1,25 @@
+
+#include "StockQuoteService.h"
+
+
+namespace com
+{
+    namespace bigbank
+    {
+        namespace stockquote
+        {
+
+    /*
+     *  AccountsService C interface
+     */
+
+            class StockQuoteServiceImpl : public StockQuoteService {
+	    public:
+		virtual float getQuote(const char* symbol);
+
+	};
+	
+
+}
+} 		 
+} // namespace;

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/StockQuoteServiceImpl.h
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Tuscany-model.config
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Tuscany-model.config?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Tuscany-model.config (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/Tuscany-model.config Thu Jun 15 03:57:42 2006
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+  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.
+ -->
+
+<tuscany-model xmlns="http://org.apache.tuscany/xmlns/cpp/1.0">
+	<wsdl>
+		<file name="StockQuoteExternalService.wsdl"/>
+	</wsdl>
+	<xsd>
+		<file name="StockQuoteExternalTypes.xsd"/>
+	</xsd>
+</tuscany-model>
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/sca.module
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/sca.module?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/sca.module (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/modules/Accounts/sca.module Thu Jun 15 03:57:42 2006
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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"
+        name="AccountModule">
+
+	<entryPoint name="AccountService">
+		<interface.cpp header="AccountService.h"/>
+		<binding.ws port="http://www.bigbank.com/AccountService#wsdl.
+		  endpoint(AccountService/AccountServiceSOAP)"/>
+         <reference>AccountServiceComponent</reference>
+	</entryPoint>
+
+	<component name="AccountServiceComponent">
+		<implementation.cpp dll="Accounts.dll" header="AccountServiceImpl.h"/>
+		<references>
+			<AccountDataService>AccountDataServiceComponent</AccountDataService>
+			<stockQuote>StockQuoteServiceComponent</stockQuote>
+		</references>
+		<properties>
+			<v:currency>EURO</v:currency>
+		</properties>
+	</component>  
+
+	<component name="AccountDataServiceComponent">
+		<implementation.cpp dll="Accounts.dll" header="AccountDataServiceImpl.h"/>
+	</component>  
+
+	<component name="StockQuoteServiceComponent">
+		<implementation.cpp dll="Accounts.dll" header="StockQuoteServiceImpl.h"/>
+		<references>
+			<StockQuoteExternal>StockQuoteExternalService</StockQuoteExternal>
+		</references>
+	</component>  
+
+	<externalService name="StockQuoteExternalService">
+		<interface.cpp header="StockQuoteExternalService.h"/>
+		<binding.ws port="http://www.webserviceX.NET/#wsdl.endpoint(StockQuote/StockQuoteSoap)"/>
+	</externalService>
+     
+</module>

Added: incubator/tuscany/cpp/sca/samples/BigBank/deploy/subsystems/Accounts/sca.subsystem
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/BigBank/deploy/subsystems/Accounts/sca.subsystem?rev=414552&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/samples/BigBank/deploy/subsystems/Accounts/sca.subsystem (added)
+++ incubator/tuscany/cpp/sca/samples/BigBank/deploy/subsystems/Accounts/sca.subsystem Thu Jun 15 03:57:42 2006
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="ASCII"?>
+<!--
+  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.
+ -->
+
+<subsystem xmlns="http://www.osoa.org/xmlns/sca/0.9"
+ 
+	name="AccountSubsystem">
+	
+	<moduleComponent name="Account" module="AccountModule">
+		
+	</moduleComponent>
+
+</subsystem>
+	
\ No newline at end of file

Modified: incubator/tuscany/cpp/sca/samples/Calculator/Client/readme.txt
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/samples/Calculator/Client/readme.txt?rev=414552&r1=414551&r2=414552&view=diff
==============================================================================
--- incubator/tuscany/cpp/sca/samples/Calculator/Client/readme.txt (original)
+++ incubator/tuscany/cpp/sca/samples/Calculator/Client/readme.txt Thu Jun 15 03:57:42 2006
@@ -36,7 +36,7 @@
 
     - Run the SCA generation tool to create the proxy and wrapper classes.
       Either Tools->SCA Gen if you have added SCA Gen as an external tool
-      Or run from the command line: 
+   dir Hello   Or run from the command line: 
         scagen -dir <projectDirectory> -output <projectDirectory> 
       where the projectDirectory is the directory with the sca.module file.
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org