tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robbin...@apache.org
Subject svn commit: r366157 [11/33] - in /incubator/tuscany/cpp/sca: ./ bin/ include/ include/osoa/ include/osoa/sca/ include/tuscany/ include/tuscany/sca/ include/tuscany/sca/core/ include/tuscany/sca/model/ include/tuscany/sca/util/ include/tuscany/sca/ws/ l...
Date Thu, 05 Jan 2006 10:59:14 GMT
Added: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/SDOStub.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/SDOStub.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/SDOStub.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/SDOStub.h Thu Jan  5 02:54:16 2006
@@ -0,0 +1,143 @@
+/*
+ *
+ *  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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#if !defined(SDOSTUB_H_INCLUDED)
+#define SDOSTUB_H_INCLUDED
+
+#include "osoa/sca/export.h"
+#if _MSC_VER > 1000
+#pragma once
+#endif // _MSC_VER > 1000
+
+#include "commonj/sdo/SDO.h"
+
+// For stub code
+#include <axis/client/Stub.hpp>
+#include <axis/OtherFaultException.hpp>
+#include <axis/ISoapFault.hpp>
+
+#include <string>
+
+AXIS_CPP_NAMESPACE_USE
+using namespace commonj::sdo;
+
+namespace tuscany
+{
+    namespace sca
+    {
+        namespace ws
+        {
+
+           /**
+            * The SDOStub class is an Axis Stub that is used to invoke operations on a Web Service
+            * using SDO objects as input parameters and return values.
+            */
+            class SDOStub : public Stub
+            {
+               public:
+
+                   /** Construct an SDOStub using the default HTTP 1.1 transport.
+                    */
+                   SCA_API SDOStub();
+
+                   /** Construct an SDOStub using the default HTTP 1.1 transport 
+                    *  and set the web service endpoint URI.
+                    *  @param endpointURI - web service endpoint URI
+                    */
+                   SCA_API SDOStub(const char* endpointURI);
+
+                   /** Destruct the SDOStub
+                    */
+                   SCA_API virtual ~SDOStub();
+
+                   /** Set the web service endpoint URI.
+                    *  The endpoint is the value of the soap:address element in the WSDL.
+                    *  @param endpoint - web service endpoint URI.
+                    */
+                   SCA_API void setEndpoint(const char* endpoint);
+
+                   /** Get the web service endpoint URI. 
+                    *  @return web service endpoint URI.
+                    */
+                   SCA_API const char* getEndpoint();
+
+                   /** Set the target namespace for elements and operations.
+                    *  @param targetNamespace - the target namespace.
+                     */
+                   SCA_API void setTargetNamespace(const char* targetNamespace);
+
+                   /** Get the target namespace.
+                    *  @return - target namespace.
+                    */
+                   SCA_API const char* getTargetNamesapce();
+
+                   /** Set the name of the operation to invoke. 
+                    *  @param operationName - operation name
+                    */
+                   SCA_API void setOperationName(const char* operationName);
+
+                   /** Get the operation name.
+                    *  @return operation name.
+                    */
+                   SCA_API const char* getOperationName();
+
+                   /** Set the name of the element that is returned as the result of a soap method.
+                    *  @param operationResponseName - name of the response element.
+                    */
+                   SCA_API void setOperationResponseName(const char* operationResponseName);
+
+                   /** Get the name of the element that is returned as the result of a soap method.
+                    *  @return operation response name.
+                    */
+                   SCA_API const char* getOperationResponseName();
+
+                   /** Set the SOAPAction header.
+                    *  @param soapAction - the soap action.
+                    */
+                   SCA_API void setSoapAction(const char* soapAction);
+
+                   /** Get the SoapAction header.
+                    *  @return soap action.
+                    */
+                   SCA_API const char* getSoapAction();
+
+                   /** Invoke the operation on the web service.
+                    *  @param requestDO - SDO containing the input parameters for the operation.
+                    *  @param dataFactory - DataFactory for de/serialzing the SDOs.
+                    *  @return DataObjectPtr - SDO containg the response from the web service.
+                    */
+                   SCA_API DataObjectPtr invoke(DataObjectPtr requestDO, DataFactoryPtr dataFactory);
+
+               private:
+                   // Deserialize the soap response from the web service.
+                    string getSoapResponse();
+
+                    string m_strEndpoint;
+                    string m_strTargetNamespace;
+                    string m_strOperationName;
+                    string m_strOperationResponseName;
+                    string m_strSoapAction;
+            };
+
+        } // end namespace ws
+    } // end namespace sca
+} // end namespace tuscany
+
+
+#endif // !defined(SDOSTUB_H_INCLUDED)

Propchange: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/SDOStub.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/SDOStub.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,116 @@
+/*
+ *
+ *  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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#include "tuscany/sca/ws/WSServiceWrapper.h"
+
+#include "osoa/sca/sca.h"
+using namespace osoa::sca;
+#include "tuscany/sca/core/SCARuntime.h"
+#include "tuscany/sca/util/Logging.h"
+#include "tuscany/sca/model/WSBinding.h"
+#include "tuscany/sca/model/Wsdl.h"
+#include "tuscany/sca/ws/SDOStub.h"
+#include "tuscany/sca/util/Utils.h"
+using namespace tuscany::sca;
+using namespace tuscany::sca::ws;
+
+
+
+extern "C" 
+{
+    ///
+    /// Factory function for creating service wrappers for web services.
+    ///
+    SCA_API WSServiceWrapper* WSServiceWrapper_Factory(tuscany::sca::model::WireTarget* target)
+    {
+        return new WSServiceWrapper(target);
+    }
+}
+
+
+WSServiceWrapper::WSServiceWrapper(tuscany::sca::model::WireTarget* target) : ExternalServiceWrapper(target)
+{
+    
+}
+
+WSServiceWrapper::~WSServiceWrapper()
+{
+    
+}
+
+///
+/// This method will be called when a web service call needs to be made.
+///
+void WSServiceWrapper::invoke(Operation& operation) 
+{
+    LOGENTRY(1, "WSServiceWrapper::invoke");
+
+    const string& operationName = operation.getName();
+
+    LOGINFO_2(2,"External service: %s, Operation: %s", getTarget()->getName().c_str() , operationName.c_str());
+
+
+    // Check one parameter in/ one parameter out and that they are data objects.
+
+    // Get the data factory for the module (it will already have the types loaded for the xsds)
+
+    // From the external service ws-binding, get the namespace of the wsdl endpoint
+    ExternalService* externalService = getExternalService();
+    WSBinding* binding = (WSBinding *)externalService->getBinding();
+
+    string portNamespace = binding->getWSDLNamespaceURL();
+
+    // Lookup the wsdl model from the module, keyed on the namespace 
+    // (the wsdl will have been loaded at startup, based on the information in the config file)
+    Wsdl* wsdlDefinition = externalService->getContainingModule()->findWsdl(portNamespace);
+
+    // Match the operation in Operation to the operation in the wsdl port type.
+    WsdlOperation wsdlOperation =  wsdlDefinition->findOperation(
+                                                binding->getServiceName()
+                                                , binding->getPortName()
+                                                , operationName);
+
+    // Get the name of the response by navigating  from the wsdl operation to the return type
+
+    // Get the name of the SoapAction by navigating from the wsdl.
+
+    // Create an SDOStub
+    try
+    {
+        SDOStub wsStub(wsdlOperation.getEndpoint().c_str());
+        wsStub.setTargetNamespace(portNamespace.c_str());
+        wsStub.setOperationName(wsdlOperation.getOperationName().c_str());
+        wsStub.setOperationResponseName(wsdlOperation.getResponseName().c_str());
+        wsStub.setSoapAction(wsdlOperation.getSoapAction().c_str());
+        
+    
+        // Call the service via the SDOStub
+        *(DataObjectPtr *)operation.getReturnValue() = wsStub.invoke(*((DataObjectPtr*)operation.getParameter(0)),
+            externalService->getContainingModule()->getDataFactory());
+
+    }
+    catch (AxisException& e)
+    {
+        throw ServiceRuntimeException("AxisException", ServiceRuntimeException::Error, e.what());
+    }
+    
+
+    LOGEXIT(1, "WSServiceWrapper::invoke");
+    
+}

Propchange: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.h Thu Jan  5 02:54:16 2006
@@ -0,0 +1,48 @@
+/*
+ *
+ *  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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#ifndef tuscany_sca_ws_wsservicewrapper_h
+#define tuscany_sca_ws_wsservicewrapper_h
+
+#include "osoa/sca/export.h"
+
+#include "tuscany/sca/core/ExternalServiceWrapper.h"
+#include "tuscany/sca/model/ExternalService.h"
+#include "tuscany/sca/core/Operation.h"
+
+namespace tuscany
+{
+    namespace sca
+    {
+        namespace ws
+        {
+        
+            class SCA_API WSServiceWrapper : public tuscany::sca::ExternalServiceWrapper
+            {
+            public:
+                WSServiceWrapper(tuscany::sca::model::WireTarget* target);
+                virtual    ~WSServiceWrapper();
+
+                virtual void invoke(Operation& operation);    
+            };
+        } // End namespace ws
+    } // End namespace sca
+} // End namespace tuscany
+
+#endif // tuscany_sca_ws_wsservicewrapper_h

Propchange: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/src/tuscany/sca/ws/WSServiceWrapper.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtbuild
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtbuild?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtbuild (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtbuild Thu Jan  5 02:54:16 2006
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?fileVersion 3.0.0?>
+
+<ManagedProjectBuildInfo>
+<project id="tuscany_sca_test_CustomerInfo.cdt.managedbuild.target.gnu.so.1305856867" name="Shared Library (Gnu)" projectType="cdt.managedbuild.target.gnu.so">
+<configuration artifactExtension="so" artifactName="CustomerInfo" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.debug.180210457" name="Debug" parent="cdt.managedbuild.config.gnu.so.debug">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.debug.150489083" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.debug">
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.debug.744339895" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug.773936698" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug">
+<option id="gnu.cpp.compiler.option.preprocessor.def.1937348866" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
+<listOptionValue builtIn="false" value="_DEBUG"/>
+</option>
+<option id="gnu.cpp.compiler.option.include.paths.1481017815" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/src"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
+</option>
+</tool>
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.debug.2091259285" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.debug.509296678" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.debug"/>
+<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.debug.187343736" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.debug"/>
+<macros/>
+</toolChain>
+</configuration>
+<configuration artifactExtension="so" artifactName="CustomerInfo" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.release.954607388" name="Release" parent="cdt.managedbuild.config.gnu.so.release">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.release.1899157892" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.release">
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.release.1905763267" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.release"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.release.91975924" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.release">
+<option id="gnu.cpp.compiler.option.include.paths.695258843" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/src"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
+</option>
+</tool>
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.release.749931234" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.release"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.release.636362934" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.release"/>
+<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.release.1971799783" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.release"/>
+<macros/>
+</toolChain>
+</configuration>
+<macros/>
+</project>
+</ManagedProjectBuildInfo>

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtproject
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtproject?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtproject (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.cdtproject Thu Jan  5 02:54:16 2006
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse-cdt version="2.0"?>
+
+<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
+<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.domsourceindexer" point="org.eclipse.cdt.core.CIndexer"/>
+<data>
+<item id="org.eclipse.cdt.core.pathentry">
+<pathentry kind="src" path=""/>
+<pathentry kind="out" path=""/>
+<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
+</item>
+</data>
+</cdtproject>

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.project
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.project?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.project (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.project Thu Jan  5 02:54:16 2006
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>tuscany_sca_test_CustomerInfo</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.cdt.core.cnature</nature>
+		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+		<nature>org.eclipse.cdt.core.ccnature</nature>
+	</natures>
+</projectDescription>

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.project
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/.settings/org.eclipse.cdt.managedbuilder.core.prefs Thu Jan  5 02:54:16 2006
@@ -0,0 +1,9 @@
+#Tue Nov 29 15:05:50 GMT 2005
+eclipse.preferences.version=1
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.debug.180210457=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.release.954607388=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.debug.180210457=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.release.954607388=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
+environment/project=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
+environment/project/cdt.managedbuild.config.gnu.so.debug.180210457=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
+environment/project/cdt.managedbuild.config.gnu.so.release.954607388=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfo.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfo.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfo.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfo.h Thu Jan  5 02:54:16 2006
@@ -0,0 +1,30 @@
+/*
+ *
+ *  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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#ifndef CustomerInfo_h
+#define CustomerInfo_h
+
+class CustomerInfo  
+{
+public:
+    virtual const char* getCustomerInformation(const char* customerID) = 0;
+
+};
+
+#endif

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfo.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfo.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,79 @@
+/*
+ *
+ *  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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#include "CustomerInfoImpl.h"
+#include <ostream>
+#include <string.h>
+#include "osoa/sca/sca.h"
+#include "commonj/sdo/DataObjectInstance.h"
+using namespace osoa::sca;
+using namespace commonj::sdo;
+
+//////////////////////////////////////////////////////////////////////
+// Construction/Destruction
+//////////////////////////////////////////////////////////////////////
+
+CustomerInfoImpl::CustomerInfoImpl()
+{
+    cout << "Construct CustomerInfoImpl" << endl;
+    
+}
+
+CustomerInfoImpl::~CustomerInfoImpl()
+{
+    cout << "Destroy CustomerInfoImpl" << endl;
+}
+
+//////////////////////////////////////////////////////////////////////
+// Other methods
+//////////////////////////////////////////////////////////////////////
+const char* CustomerInfoImpl::getCustomerInformation(const char* customerID) 
+{
+    cout << "In getCustomerInformation with customerid: " << customerID << endl;
+    
+    
+    
+    ComponentContext myContext = ComponentContext::getCurrent();
+    
+    DataObjectInstance properties = myContext.getProperties();
+    DataObjectInstance props2 = properties;
+    if (properties)
+    {
+        const char* fredVal = properties->getCString("Fred");
+        cout << "Property Fred value: " << fredVal <<endl;
+
+
+        DataObjectList& joeList = properties->getList("Joe");
+        for (int i=0; i<joeList.size();i++)
+        {
+           cout << "Property Joe value " << i << ": " << joeList.getInteger(i) <<endl;
+        }
+    }
+    
+    if (!strcmp("12345", customerID))
+    {
+        return "IBM";
+    }
+    else
+    {
+        throw "Wobbler";
+    }
+    
+    
+}

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h Thu Jan  5 02:54:16 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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#ifndef CustomerInfoImpl_h
+#define CustomerInfoImpl_h
+
+#include "CustomerInfo.h"
+
+
+
+class CustomerInfoImpl : public CustomerInfo
+{
+public:
+    CustomerInfoImpl();
+    virtual ~CustomerInfoImpl();
+    virtual const char* getCustomerInformation(const char* customerID);
+
+};
+
+#endif

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,64 @@
+/*
+ *  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 "CustomerInfoImpl_CustomerInfoService_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
+    CustomerInfoImpl_CustomerInfoService_Proxy* CustomerInfoImpl_CustomerInfoService_Proxy_Factory(ServiceWrapper* target)
+    {
+        return new CustomerInfoImpl_CustomerInfoService_Proxy(target);
+    }
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    void CustomerInfoImpl_CustomerInfoService_Proxy_Destructor(void* proxy)
+    {
+        delete (CustomerInfoImpl_CustomerInfoService_Proxy*)proxy;
+    }
+}
+
+CustomerInfoImpl_CustomerInfoService_Proxy::CustomerInfoImpl_CustomerInfoService_Proxy(ServiceWrapper* targ) : target(targ)
+{
+}
+
+CustomerInfoImpl_CustomerInfoService_Proxy::~CustomerInfoImpl_CustomerInfoService_Proxy()
+{
+    if (target)
+        delete target;
+}
+
+const char* CustomerInfoImpl_CustomerInfoService_Proxy::getCustomerInformation(const char* arg0)
+{
+    Operation operation("getCustomerInformation", 1);
+    operation.setParameter(0, (void*)arg0);
+
+ 
+    target->invoke(operation);
+    return (const char*)operation.getReturnValue();
+
+}
+
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h Thu Jan  5 02:54:16 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 CustomerInfoImpl_CustomerInfoService_Proxy_h
+#define CustomerInfoImpl_CustomerInfoService_Proxy_h
+
+#include "CustomerInfo.h"
+#include "tuscany/sca/core/ServiceWrapper.h"
+
+class CustomerInfoImpl_CustomerInfoService_Proxy : public CustomerInfo
+{
+public:
+    CustomerInfoImpl_CustomerInfoService_Proxy(tuscany::sca::ServiceWrapper*);
+    virtual ~CustomerInfoImpl_CustomerInfoService_Proxy();
+    virtual const char* getCustomerInformation(const char* customerID);
+private:
+    tuscany::sca::ServiceWrapper* target;
+};
+
+#endif // CustomerInfoImpl_CustomerInfoService_Proxy_h
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Proxy.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,71 @@
+/* 
+ *  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 "CustomerInfoImpl_CustomerInfoService_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
+    CustomerInfoImpl_CustomerInfoService_Wrapper* CustomerInfoImpl_CustomerInfoService_Wrapper_Factory(tuscany::sca::model::Service* target)
+    {
+        return new CustomerInfoImpl_CustomerInfoService_Wrapper(target);
+    }
+}
+
+CustomerInfoImpl_CustomerInfoService_Wrapper::CustomerInfoImpl_CustomerInfoService_Wrapper(Service* target) : ComponentServiceWrapper(target)
+{
+    impl = (CustomerInfoImpl*)getImplementation();
+}
+
+CustomerInfoImpl_CustomerInfoService_Wrapper::~CustomerInfoImpl_CustomerInfoService_Wrapper()
+{
+    releaseImplementation();
+}
+
+void* CustomerInfoImpl_CustomerInfoService_Wrapper::newImplementation()
+{
+    return new CustomerInfoImpl;
+}
+
+void CustomerInfoImpl_CustomerInfoService_Wrapper::deleteImplementation()
+{
+    delete impl;
+}
+
+void CustomerInfoImpl_CustomerInfoService_Wrapper::invokeService(Operation& operation)
+{
+    const string& operationName = operation.getName();
+
+    if (operationName == "getCustomerInformation")
+    {
+        const char* p0 = (const char*)operation.getParameter(0);
+
+        operation.setReturnValue((void*) impl->getCustomerInformation(p0));
+        return;
+    }
+        
+
+    throw ServiceRuntimeException("Invalid operation");
+    
+}
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h Thu Jan  5 02:54:16 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 CustomerInfoImpl_CustomerInfoService_Wrapper_h
+#define CustomerInfoImpl_CustomerInfoService_Wrapper_h
+
+#include "CustomerInfoImpl.h"
+#include "tuscany/sca/core/ComponentServiceWrapper.h"
+
+class CustomerInfoImpl_CustomerInfoService_Wrapper : public tuscany::sca::ComponentServiceWrapper
+{
+public:
+    CustomerInfoImpl_CustomerInfoService_Wrapper(tuscany::sca::model::Service* target);
+    virtual ~CustomerInfoImpl_CustomerInfoService_Wrapper();
+    virtual void invokeService(tuscany::sca::Operation& operation);
+    virtual void* newImplementation();
+    virtual void deleteImplementation();
+private:
+    CustomerInfoImpl* impl;
+};
+
+#endif // CustomerInfoImpl_CustomerInfoService_Wrapper_h
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/CustomerInfoImpl_CustomerInfoService_Wrapper.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/makefile
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/makefile?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/makefile (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/makefile Thu Jan  5 02:54:16 2006
@@ -0,0 +1,43 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+ROOT := ..
+
+-include $(ROOT)/makefile.init
+
+RM := rm -rf
+
+# All of the sources participating in the build are defined here
+-include sources.mk
+-include $(SUBDIRS:%=%/subdir.mk)
+-include objects.mk
+ifneq ($(strip $(DEPS)),)
+-include $(DEPS)
+endif
+
+-include $(ROOT)/makefile.defs
+
+# Add inputs and outputs from these tool invocations to the build variables 
+
+# All Target
+all: libCustomerInfo.so
+
+# Tool invocations
+libCustomerInfo.so: $(OBJS) $(USER_OBJS)
+	@echo 'Building target: $@'
+	@echo 'Invoking: GCC C++ Linker'
+	@echo g++ -shared -olibCustomerInfo.so $(OBJS) $(USER_OBJS) $(LIBS)
+	@g++ -shared -olibCustomerInfo.so $(OBJS) $(USER_OBJS) $(LIBS)
+	@echo 'Finished building target: $@'
+	@echo ' '
+
+# Other Targets
+clean:
+	-$(RM) $(OBJS)$(DEPS)$(LIBRARIES) libCustomerInfo.so
+	-@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include $(ROOT)/makefile.targets

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/objects.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/objects.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/objects.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/objects.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,7 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+LIBS :=
+
+USER_OBJS :=
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/sources.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/sources.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/sources.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/sources.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,20 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+C_UPPER_SRCS := 
+CPP_SRCS := 
+O_SRCS := 
+ASM_SRCS := 
+S_SRCS := 
+CXX_SRCS := 
+CC_SRCS := 
+OBJ_SRCS := 
+OBJS := 
+DEPS := 
+LIBRARIES := 
+
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/subdir.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/subdir.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/subdir.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Debug/subdir.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,35 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables 
+CPP_SRCS += \
+$(ROOT)/CustomerInfoImpl.cpp \
+$(ROOT)/CustomerInfoImpl_CustomerInfoService_Proxy.cpp \
+$(ROOT)/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp 
+
+OBJS += \
+./CustomerInfoImpl.o \
+./CustomerInfoImpl_CustomerInfoService_Proxy.o \
+./CustomerInfoImpl_CustomerInfoService_Wrapper.o 
+
+DEPS += \
+${addprefix ./, \
+CustomerInfoImpl.d \
+CustomerInfoImpl_CustomerInfoService_Proxy.d \
+CustomerInfoImpl_CustomerInfoService_Wrapper.d \
+}
+
+
+# Each subdirectory must supply rules for building sources it contributes
+%.o: $(ROOT)/%.cpp
+	@echo 'Building file: $<'
+	@echo 'Invoking: GCC C++ Compiler'
+	@echo g++ -D_DEBUG -I${SCA4CPP_HOME}/runtime/core/src -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $<
+	@g++ -D_DEBUG -I${SCA4CPP_HOME}/runtime/core/src -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $< && \
+	echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
+	g++ -MM -MG -P -w -D_DEBUG -I${SCA4CPP_HOME}/runtime/core/src -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0  $< >> $(@:%.o=%.d)
+	@echo 'Finished building: $<'
+	@echo ' '
+
+

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/makefile
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/makefile?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/makefile (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/makefile Thu Jan  5 02:54:16 2006
@@ -0,0 +1,43 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+ROOT := ..
+
+-include $(ROOT)/makefile.init
+
+RM := rm -rf
+
+# All of the sources participating in the build are defined here
+-include sources.mk
+-include $(SUBDIRS:%=%/subdir.mk)
+-include objects.mk
+ifneq ($(strip $(DEPS)),)
+-include $(DEPS)
+endif
+
+-include $(ROOT)/makefile.defs
+
+# Add inputs and outputs from these tool invocations to the build variables 
+
+# All Target
+all: libCustomerInfo.so
+
+# Tool invocations
+libCustomerInfo.so: $(OBJS) $(USER_OBJS)
+	@echo 'Building target: $@'
+	@echo 'Invoking: GCC C++ Linker'
+	@echo g++ -shared -olibCustomerInfo.so $(OBJS) $(USER_OBJS) $(LIBS)
+	@g++ -shared -olibCustomerInfo.so $(OBJS) $(USER_OBJS) $(LIBS)
+	@echo 'Finished building target: $@'
+	@echo ' '
+
+# Other Targets
+clean:
+	-$(RM) $(OBJS)$(DEPS)$(LIBRARIES) libCustomerInfo.so
+	-@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include $(ROOT)/makefile.targets

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/objects.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/objects.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/objects.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/objects.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,7 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+LIBS :=
+
+USER_OBJS :=
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/sources.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/sources.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/sources.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/sources.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,20 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+C_UPPER_SRCS := 
+CPP_SRCS := 
+O_SRCS := 
+ASM_SRCS := 
+S_SRCS := 
+CXX_SRCS := 
+CC_SRCS := 
+OBJ_SRCS := 
+OBJS := 
+DEPS := 
+LIBRARIES := 
+
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+

Added: incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/subdir.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/subdir.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/subdir.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/CustomerInfo/Release/subdir.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,35 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables 
+CPP_SRCS += \
+$(ROOT)/CustomerInfoImpl.cpp \
+$(ROOT)/CustomerInfoImpl_CustomerInfoService_Proxy.cpp \
+$(ROOT)/CustomerInfoImpl_CustomerInfoService_Wrapper.cpp 
+
+OBJS += \
+./CustomerInfoImpl.o \
+./CustomerInfoImpl_CustomerInfoService_Proxy.o \
+./CustomerInfoImpl_CustomerInfoService_Wrapper.o 
+
+DEPS += \
+${addprefix ./, \
+CustomerInfoImpl.d \
+CustomerInfoImpl_CustomerInfoService_Proxy.d \
+CustomerInfoImpl_CustomerInfoService_Wrapper.d \
+}
+
+
+# Each subdirectory must supply rules for building sources it contributes
+%.o: $(ROOT)/%.cpp
+	@echo 'Building file: $<'
+	@echo 'Invoking: GCC C++ Compiler'
+	@echo g++ -I${SCA4CPP_HOME}/runtime/core/src -I${SDO4CPP}/include -O3 -Wall -c -fmessage-length=0 -o$@ $<
+	@g++ -I${SCA4CPP_HOME}/runtime/core/src -I${SDO4CPP}/include -O3 -Wall -c -fmessage-length=0 -o$@ $< && \
+	echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
+	g++ -MM -MG -P -w -I${SCA4CPP_HOME}/runtime/core/src -I${SDO4CPP}/include -O3 -Wall -c -fmessage-length=0  $< >> $(@:%.o=%.d)
+	@echo 'Finished building: $<'
+	@echo ' '
+
+

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtbuild
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtbuild?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtbuild (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtbuild Thu Jan  5 02:54:16 2006
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?fileVersion 3.0.0?>
+
+<ManagedProjectBuildInfo>
+<project id="tuscany_sca_test_MyValue.cdt.managedbuild.target.gnu.so.757075771" name="Shared Library (Gnu)" projectType="cdt.managedbuild.target.gnu.so">
+<configuration artifactExtension="so" artifactName="MyValue" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.debug.903609302" name="Debug" parent="cdt.managedbuild.config.gnu.so.debug">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.debug.255326897" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.debug">
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.debug.1055337069" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug.1856329612" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.debug">
+<option id="gnu.cpp.compiler.option.preprocessor.def.1031467482" superClass="gnu.cpp.compiler.option.preprocessor.def" valueType="definedSymbols">
+<listOptionValue builtIn="false" value="_DEBUG"/>
+</option>
+<option id="gnu.cpp.compiler.option.include.paths.571240659" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/src"/>
+<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/test/CustomerInfo"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
+</option>
+</tool>
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.debug.1169623816" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.debug"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.debug.578216644" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.debug"/>
+<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.debug.1431997590" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.debug"/>
+<macros/>
+</toolChain>
+</configuration>
+<configuration artifactExtension="so" artifactName="MyValue" cleanCommand="rm -rf" description="" errorParsers="org.eclipse.cdt.core.MakeErrorParser;org.eclipse.cdt.core.GCCErrorParser;org.eclipse.cdt.core.GLDErrorParser;org.eclipse.cdt.core.GASErrorParser" id="cdt.managedbuild.config.gnu.so.release.1558347965" name="Release" parent="cdt.managedbuild.config.gnu.so.release">
+<toolChain id="cdt.managedbuild.toolchain.gnu.so.release.957726846" name="GCC Tool Chain" superClass="cdt.managedbuild.toolchain.gnu.so.release">
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.compiler.so.release.625045304" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.so.release"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.compiler.so.release.1998422811" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.so.release">
+<option id="gnu.cpp.compiler.option.include.paths.687314264" superClass="gnu.cpp.compiler.option.include.paths" valueType="includePath">
+<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/src"/>
+<listOptionValue builtIn="false" value="${SCA4CPP_HOME}/runtime/core/test/CustomerInfo"/>
+<listOptionValue builtIn="false" value="${SDO4CPP}/include"/>
+</option>
+</tool>
+<tool command="gcc" id="cdt.managedbuild.tool.gnu.c.linker.so.release.1598091246" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.so.release"/>
+<tool command="g++" id="cdt.managedbuild.tool.gnu.cpp.linker.so.release.1373242294" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.so.release"/>
+<tool command="as" id="cdt.managedbuild.tool.gnu.assembler.so.release.1820024298" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.so.release"/>
+<macros/>
+</toolChain>
+</configuration>
+<macros/>
+</project>
+</ManagedProjectBuildInfo>

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtproject
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtproject?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtproject (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.cdtproject Thu Jan  5 02:54:16 2006
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse-cdt version="2.0"?>
+
+<cdtproject id="org.eclipse.cdt.managedbuilder.core.managedMake">
+<extension id="org.eclipse.cdt.managedbuilder.core.ManagedBuildManager" point="org.eclipse.cdt.core.ScannerInfoProvider"/>
+<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+<extension id="org.eclipse.cdt.core.domsourceindexer" point="org.eclipse.cdt.core.CIndexer"/>
+<data>
+<item id="org.eclipse.cdt.core.pathentry">
+<pathentry kind="src" path=""/>
+<pathentry kind="out" path=""/>
+<pathentry kind="con" path="org.eclipse.cdt.managedbuilder.MANAGED_CONTAINER"/>
+</item>
+</data>
+</cdtproject>

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.project
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.project?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.project (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.project Thu Jan  5 02:54:16 2006
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>tuscany_sca_test_MyValue</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.cdt.core.cnature</nature>
+		<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+		<nature>org.eclipse.cdt.core.ccnature</nature>
+	</natures>
+</projectDescription>

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.project
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.settings/org.eclipse.cdt.managedbuilder.core.prefs
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.settings/org.eclipse.cdt.managedbuilder.core.prefs?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.settings/org.eclipse.cdt.managedbuilder.core.prefs (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/.settings/org.eclipse.cdt.managedbuilder.core.prefs Thu Jan  5 02:54:16 2006
@@ -0,0 +1,9 @@
+#Tue Nov 29 15:11:39 GMT 2005
+eclipse.preferences.version=1
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.debug.903609302=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.so.release.1558347965=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="CPATH" operation\="remove"/>\n<variable name\="CPLUS_INCLUDE_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.debug.903609302=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
+environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.so.release.1558347965=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment>\n<variable name\="LIBRARY_PATH" operation\="remove"/>\n</environment>\n
+environment/project=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
+environment/project/cdt.managedbuild.config.gnu.so.debug.903609302=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n
+environment/project/cdt.managedbuild.config.gnu.so.release.1558347965=<?xml version\="1.0" encoding\="UTF-8"?>\n<environment/>\n

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/makefile
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/makefile?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/makefile (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/makefile Thu Jan  5 02:54:16 2006
@@ -0,0 +1,43 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+ROOT := ..
+
+-include $(ROOT)/makefile.init
+
+RM := rm -rf
+
+# All of the sources participating in the build are defined here
+-include sources.mk
+-include $(SUBDIRS:%=%/subdir.mk)
+-include objects.mk
+ifneq ($(strip $(DEPS)),)
+-include $(DEPS)
+endif
+
+-include $(ROOT)/makefile.defs
+
+# Add inputs and outputs from these tool invocations to the build variables 
+
+# All Target
+all: libMyValue.so
+
+# Tool invocations
+libMyValue.so: $(OBJS) $(USER_OBJS)
+	@echo 'Building target: $@'
+	@echo 'Invoking: GCC C++ Linker'
+	@echo g++ -shared -olibMyValue.so $(OBJS) $(USER_OBJS) $(LIBS)
+	@g++ -shared -olibMyValue.so $(OBJS) $(USER_OBJS) $(LIBS)
+	@echo 'Finished building target: $@'
+	@echo ' '
+
+# Other Targets
+clean:
+	-$(RM) $(OBJS)$(DEPS)$(LIBRARIES) libMyValue.so
+	-@echo ' '
+
+.PHONY: all clean dependents
+.SECONDARY:
+
+-include $(ROOT)/makefile.targets

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/objects.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/objects.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/objects.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/objects.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,7 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+LIBS :=
+
+USER_OBJS :=
\ No newline at end of file

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/sources.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/sources.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/sources.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/sources.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,20 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+C_UPPER_SRCS := 
+CPP_SRCS := 
+O_SRCS := 
+ASM_SRCS := 
+S_SRCS := 
+CXX_SRCS := 
+CC_SRCS := 
+OBJ_SRCS := 
+OBJS := 
+DEPS := 
+LIBRARIES := 
+
+# Every subdirectory with source files must be described here
+SUBDIRS := \
+. \
+

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/subdir.mk
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/subdir.mk?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/subdir.mk (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/Debug/subdir.mk Thu Jan  5 02:54:16 2006
@@ -0,0 +1,41 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables 
+CPP_SRCS += \
+$(ROOT)/MyValueImpl.cpp \
+$(ROOT)/MyValueImpl_MyValueService_Proxy.cpp \
+$(ROOT)/MyValueImpl_MyValueService_Wrapper.cpp \
+$(ROOT)/MyValueImpl_customerInfo_Proxy.cpp \
+$(ROOT)/MyValueImpl_stockQuote_Proxy.cpp 
+
+OBJS += \
+./MyValueImpl.o \
+./MyValueImpl_MyValueService_Proxy.o \
+./MyValueImpl_MyValueService_Wrapper.o \
+./MyValueImpl_customerInfo_Proxy.o \
+./MyValueImpl_stockQuote_Proxy.o 
+
+DEPS += \
+${addprefix ./, \
+MyValueImpl.d \
+MyValueImpl_MyValueService_Proxy.d \
+MyValueImpl_MyValueService_Wrapper.d \
+MyValueImpl_customerInfo_Proxy.d \
+MyValueImpl_stockQuote_Proxy.d \
+}
+
+
+# Each subdirectory must supply rules for building sources it contributes
+%.o: $(ROOT)/%.cpp
+	@echo 'Building file: $<'
+	@echo 'Invoking: GCC C++ Compiler'
+	@echo g++ -D_DEBUG -I${SCA4CPP_HOME}/runtime/core/src -I${SCA4CPP_HOME}/runtime/core/test/CustomerInfo -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $<
+	@g++ -D_DEBUG -I${SCA4CPP_HOME}/runtime/core/src -I${SCA4CPP_HOME}/runtime/core/test/CustomerInfo -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0 -o$@ $< && \
+	echo -n $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
+	g++ -MM -MG -P -w -D_DEBUG -I${SCA4CPP_HOME}/runtime/core/src -I${SCA4CPP_HOME}/runtime/core/test/CustomerInfo -I${SDO4CPP}/include -O0 -g3 -Wall -c -fmessage-length=0  $< >> $(@:%.o=%.d)
+	@echo 'Finished building: $<'
+	@echo ' '
+
+

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValue.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValue.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValue.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValue.h Thu Jan  5 02:54:16 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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#ifndef MyValue_h
+#define MyValue_h
+#include <string>
+using std::string;
+class MyValue  
+{
+public:
+    virtual float getMyValue(const char* customerID) = 0;
+    virtual float getMyValueS(const string& customerID) = 0;
+    virtual string getCustname(string& customerID) = 0;
+    virtual const string& getCustnamecs(string customerID) = 0;
+
+};
+
+#endif

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValue.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValue.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,159 @@
+/*
+ *
+ *  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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#include "MyValueImpl.h"
+#include "CustomerInfo.h"
+#include "StockQuoteService.h"
+#include <iostream>
+using namespace std;
+
+#include "osoa/sca/sca.h"
+#include "commonj/sdo/SDO.h"
+using namespace osoa::sca;
+using namespace commonj::sdo;
+
+//////////////////////////////////////////////////////////////////////
+// Construction/Destruction
+//////////////////////////////////////////////////////////////////////
+
+MyValueImpl::MyValueImpl()
+{
+    cout << "Construct MyValueImpl" << endl;
+
+}
+
+MyValueImpl::~MyValueImpl()
+{
+    cout << "Destroy MyValueImpl" << endl;
+}
+
+//////////////////////////////////////////////////////////////////////
+// Other methods
+//////////////////////////////////////////////////////////////////////
+float MyValueImpl::getMyValue(const char *customerID) 
+{
+    cout << "In getMyValue with customerid: " << customerID << endl;
+
+
+    ComponentContext myContext = ComponentContext::getCurrent();
+    CustomerInfo* customerInfoService = (CustomerInfo*)myContext.getService("customerInfo");
+
+    if (customerInfoService == 0)
+    {
+        cout << "unable to find customer info service" << endl;
+
+        return 0.0f;
+    }
+
+    const char * stock;
+    try
+    {
+        stock = customerInfoService->getCustomerInformation(customerID);
+    }
+    catch(const char* x)
+    {
+        cout << "Exception caught: " << x <<endl;
+        throw;
+    }
+
+    ServiceList serviceList = myContext.getServices("customerInfo");
+
+    for (unsigned int i=0; i<serviceList.size();i++)
+    {
+        CustomerInfo* service = (CustomerInfo*)(serviceList[i]);
+        stock = service->getCustomerInformation(customerID);
+        cout << "Stock from getServices " << i << " : " << stock <<endl;
+
+    }
+
+    // Use a second SCA reference to get the stock price
+    StockQuoteService* stockQuoteService = (StockQuoteService*)myContext.getService("stockQuote");
+
+    if (stockQuoteService == 0)
+    {
+        cout << "unable to find stock quote service" << endl;
+
+        return 0.1f;
+    }
+
+    // Create a data object representing the requests (use dynamic API until static is available)
+    DataObjectPtr requestDO;
+
+    try {
+        DataFactoryPtr factory = myContext.getDataFactory();
+        requestDO = factory->create("http://swanandmokashi.com", "GetQuotes");
+        requestDO->setCString("QuoteTicker", stock);
+    } catch (SDORuntimeException e)
+    {
+        cout << e;
+    }
+
+    // Invoke the service
+    DataObjectPtr result = stockQuoteService->GetStockQuotes(requestDO);
+
+    float stockPrice = 0.2f;
+
+    try {
+        float stockPrice = result->getDataObject("GetQuotesResult")->getList("Quote")[0]->getFloat("StockQuote");
+        //dataobjectlist& dlist = result->getdataobject("getquotesresult")->getlist("quote");
+        //DataObjectList& dlist = result->getDataObject("GetQuotesResult")->getList((unsigned int)0);
+        //float stockPrice = result->getDataObject("GetQuotesResult")->getList(0u)[0]->getFloat("StockQuote");
+        cout << "My stock price is " << stockPrice << endl;
+        //float stockPrice=((DataObject)result.getDataObject("GetQuotesResult").getList(0).get(0)).getFloat("StockQuote");
+        //        System.out.println("    [getMyValue] stock quote = "+stockPrice);
+        } catch (SDORuntimeException e)
+    {
+        cout << e;
+    }
+
+    return stockPrice;
+
+    /*
+    // Dummy method
+
+    if (!strcmp(stock, "IBM"))
+        return 99.999f;
+    else
+        return 31.05f;
+    */
+
+}
+
+float MyValueImpl::getMyValueS(const string& customerID) 
+{
+    cout << "In getMyValueS with customerid: " << customerID.c_str() << endl;
+    return 87.35f;
+}
+
+string MyValueImpl::getCustname(string& customerID) 
+{
+    cout << "In getCustname with customerid: " << customerID.c_str() << endl;
+    customerID = "FRED";
+    cout << "setting customer name to " << customerID.c_str() <<endl;
+    return "done";
+}
+
+static string fred("FEREDDEYY");
+const string& MyValueImpl::getCustnamecs(string customerID) 
+{
+    cout << "In getCustname with customerid: " << customerID.c_str() << endl;
+    customerID = "FRED";
+    cout << "setting customer name to " << customerID.c_str() <<endl;
+    return fred;
+}

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.h Thu Jan  5 02:54:16 2006
@@ -0,0 +1,39 @@
+/*
+ *
+ *  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.
+ */
+
+/* $Rev$ $Date: 2005/12/22 11:33:21 $ */
+
+#ifndef MyValueImpl_h
+#define MyValueImpl_h
+
+#include "MyValue.h"
+
+
+
+class MyValueImpl : public MyValue
+{
+public:
+    MyValueImpl();
+    virtual ~MyValueImpl();
+    virtual float getMyValue(const char* customerID);
+    virtual float getMyValueS(const string& customerID);
+    virtual string getCustname(string& customerID);
+    virtual const string& getCustnamecs(string customerID);
+
+};
+
+#endif

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,100 @@
+/*
+ *  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 "MyValueImpl_MyValueService_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
+    MyValueImpl_MyValueService_Proxy* MyValueImpl_MyValueService_Proxy_Factory(ServiceWrapper* target)
+    {
+        return new MyValueImpl_MyValueService_Proxy(target);
+    }
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    void MyValueImpl_MyValueService_Proxy_Destructor(void* proxy)
+    {
+        delete (MyValueImpl_MyValueService_Proxy*)proxy;
+    }
+}
+
+MyValueImpl_MyValueService_Proxy::MyValueImpl_MyValueService_Proxy(ServiceWrapper* targ) : target(targ)
+{
+}
+
+MyValueImpl_MyValueService_Proxy::~MyValueImpl_MyValueService_Proxy()
+{
+    if (target)
+        delete target;
+}
+
+float MyValueImpl_MyValueService_Proxy::getMyValue(const char* arg0)
+{
+    Operation operation("getMyValue", 1);
+    operation.setParameter(0, (void*)arg0);
+
+ float ret;
+    operation.setReturnValue((void*)&ret);
+    target->invoke(operation);
+    return ret;
+
+}
+
+float MyValueImpl_MyValueService_Proxy::getMyValueS(const string& arg0)
+{
+    Operation operation("getMyValueS", 1);
+    operation.setParameter(0, (void*)&arg0);
+
+ float ret;
+    operation.setReturnValue((void*)&ret);
+    target->invoke(operation);
+    return ret;
+
+}
+
+string MyValueImpl_MyValueService_Proxy::getCustname( string& arg0)
+{
+    Operation operation("getCustname", 1);
+    operation.setParameter(0, (void*)&arg0);
+
+ string ret;
+    operation.setReturnValue((void*)&ret);
+    target->invoke(operation);
+    return ret;
+
+}
+
+const string& MyValueImpl_MyValueService_Proxy::getCustnamecs( string arg0)
+{
+    Operation operation("getCustnamecs", 1);
+    operation.setParameter(0, (void*)&arg0);
+
+ 
+    target->invoke(operation);
+    return *(const string*)operation.getReturnValue();
+
+}
+
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.h Thu Jan  5 02:54:16 2006
@@ -0,0 +1,37 @@
+/* 
+ *  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 MyValueImpl_MyValueService_Proxy_h
+#define MyValueImpl_MyValueService_Proxy_h
+
+#include "MyValue.h"
+#include "tuscany/sca/core/ServiceWrapper.h"
+
+class MyValueImpl_MyValueService_Proxy : public MyValue
+{
+public:
+    MyValueImpl_MyValueService_Proxy(tuscany::sca::ServiceWrapper*);
+    virtual ~MyValueImpl_MyValueService_Proxy();
+    virtual float getMyValue(const char* customerID);
+    virtual float getMyValueS(const string& customerID);
+    virtual string getCustname( string& customerID);
+    virtual const string& getCustnamecs( string customerID);
+private:
+    tuscany::sca::ServiceWrapper* target;
+};
+
+#endif // MyValueImpl_MyValueService_Proxy_h
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Proxy.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,89 @@
+/* 
+ *  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 "MyValueImpl_MyValueService_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
+    MyValueImpl_MyValueService_Wrapper* MyValueImpl_MyValueService_Wrapper_Factory(tuscany::sca::model::Service* target)
+    {
+        return new MyValueImpl_MyValueService_Wrapper(target);
+    }
+}
+
+MyValueImpl_MyValueService_Wrapper::MyValueImpl_MyValueService_Wrapper(Service* target) : ComponentServiceWrapper(target)
+{
+    impl = (MyValueImpl*)getImplementation();
+}
+
+MyValueImpl_MyValueService_Wrapper::~MyValueImpl_MyValueService_Wrapper()
+{
+    releaseImplementation();
+}
+
+void* MyValueImpl_MyValueService_Wrapper::newImplementation()
+{
+    return new MyValueImpl;
+}
+
+void MyValueImpl_MyValueService_Wrapper::deleteImplementation()
+{
+    delete impl;
+}
+
+void MyValueImpl_MyValueService_Wrapper::invokeService(Operation& operation)
+{
+    const string& operationName = operation.getName();
+
+    if (operationName == "getMyValue")
+    {
+        const char* p0 = (const char*)operation.getParameter(0);
+        *(float*)operation.getReturnValue() = impl->getMyValue(p0);
+        return;
+    }
+    if (operationName == "getMyValueS")
+    {
+        string& p0 = *(string*)operation.getParameter(0);
+        *(float*)operation.getReturnValue() = impl->getMyValueS(p0);
+        return;
+    }
+    if (operationName == "getCustname")
+    {
+        string& p0 = *(string*)operation.getParameter(0);
+        *(string*)operation.getReturnValue() = impl->getCustname(p0);
+        return;
+    }
+    if (operationName == "getCustnamecs")
+    {
+        string& p0 = *( string*)operation.getParameter(0);
+        const string& ret = impl->getCustnamecs(p0);
+        operation.setReturnValue((void*)&ret);
+        return;
+    }
+        
+
+    throw ServiceRuntimeException("Invalid operation");
+    
+}
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.h
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.h?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.h (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.h Thu Jan  5 02:54:16 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 MyValueImpl_MyValueService_Wrapper_h
+#define MyValueImpl_MyValueService_Wrapper_h
+
+#include "MyValueImpl.h"
+#include "tuscany/sca/core/ComponentServiceWrapper.h"
+
+class MyValueImpl_MyValueService_Wrapper : public tuscany::sca::ComponentServiceWrapper
+{
+public:
+    MyValueImpl_MyValueService_Wrapper(tuscany::sca::model::Service* target);
+    virtual ~MyValueImpl_MyValueService_Wrapper();
+    virtual void invokeService(tuscany::sca::Operation& operation);
+    virtual void* newImplementation();
+    virtual void deleteImplementation();
+private:
+    MyValueImpl* impl;
+};
+
+#endif // MyValueImpl_MyValueService_Wrapper_h
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.h
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_MyValueService_Wrapper.h
------------------------------------------------------------------------------
    svn:keywords = Rev,Date

Added: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_customerInfo_Proxy.cpp
URL: http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_customerInfo_Proxy.cpp?rev=366157&view=auto
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_customerInfo_Proxy.cpp (added)
+++ incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_customerInfo_Proxy.cpp Thu Jan  5 02:54:16 2006
@@ -0,0 +1,64 @@
+/*
+ *  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 "MyValueImpl_customerInfo_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
+    MyValueImpl_customerInfo_Proxy* MyValueImpl_customerInfo_Proxy_Factory(ServiceWrapper* target)
+    {
+        return new MyValueImpl_customerInfo_Proxy(target);
+    }
+
+    #if defined(WIN32) || defined(_WINDOWS)
+    __declspec(dllexport) 
+    #endif
+    void MyValueImpl_customerInfo_Proxy_Destructor(void* proxy)
+    {
+        delete (MyValueImpl_customerInfo_Proxy*)proxy;
+    }
+}
+
+MyValueImpl_customerInfo_Proxy::MyValueImpl_customerInfo_Proxy(ServiceWrapper* targ) : target(targ)
+{
+}
+
+MyValueImpl_customerInfo_Proxy::~MyValueImpl_customerInfo_Proxy()
+{
+    if (target)
+        delete target;
+}
+
+const char* MyValueImpl_customerInfo_Proxy::getCustomerInformation(const char* arg0)
+{
+    Operation operation("getCustomerInformation", 1);
+    operation.setParameter(0, (void*)arg0);
+
+ 
+    target->invoke(operation);
+    return (const char*)operation.getReturnValue();
+
+}
+
+

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_customerInfo_Proxy.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/cpp/sca/runtime/core/test/MyValue/MyValueImpl_customerInfo_Proxy.cpp
------------------------------------------------------------------------------
    svn:keywords = Rev,Date



Mime
View raw message