diff options
Diffstat (limited to '')
13 files changed, 0 insertions, 1505 deletions
diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/Tuscany-model.config b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/Tuscany-model.config deleted file mode 100644 index 982f7bc271..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/Tuscany-model.config +++ /dev/null @@ -1,24 +0,0 @@ -<?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="WSEntryPointTest.wsdl"/> - </wsdl> - <xsd> - </xsd> -</tuscany-model> diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTest.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTest.h deleted file mode 100644 index 19f7aa0b75..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTest.h +++ /dev/null @@ -1,53 +0,0 @@ -/* -+----------------------------------------------------------------------+ -| (c) Copyright IBM Corporation 2005. | -| All Rights Reserved. | -+----------------------------------------------------------------------+ -| | -| 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 WSEENTRYPOINTTEST_H -#define WSEENTRYPOINTTEST_H - -#include <commonj/sdo/SDO.h> -#include <stdio.h> - -class WSEntryPointTest -{ -public: - virtual char* doChars(char* arg1) = 0; - virtual long doLong(long arg1) = 0; - virtual int doInt(int arg1) = 0; - virtual float doFloat(float arg1) = 0; - virtual long double doLongDouble(long double arg1) = 0; - virtual double doDouble(double arg1) = 0; - virtual bool doBool(bool arg1) = 0; - virtual short doShort(short arg1) = 0; - virtual char* doBytes(char* arg1) = 0; - virtual char doByte(char arg1) = 0; - virtual DataObjectPtr doMixed(char* arg1, long arg2, DataObjectPtr arg3, bool arg4, double arg5) = 0; - virtual DataObjectPtr doDataObject(DataObjectPtr arg1) = 0; - virtual DataObjectPtr doAny(DataObjectPtr arg1) = 0; -// These don't work because they are passing pointers around -// virtual int[] doIntArray(int[] arg1, int arg2); -// virtual string doString(string arg1); -// This doesn't work because there is no mapping from XSD types to SDO CharacterType -// virtual wchar_t doWChar(wchar_t arg1); -// This doesn't work because Operation does not support int64_t yet -// virtual int64_t doInt64(int64_t arg1); -}; - -#endif - - diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTest.wsdl b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTest.wsdl deleted file mode 100644 index b6328f46f6..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTest.wsdl +++ /dev/null @@ -1,526 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.WSEntryPointTest.org/WSEntryPointTest/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WSEntryPointTest" targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTest/"> - <wsdl:types> - <xsd:schema targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTest/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <xsd:element name="doChars"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:string" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doCharsResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:string" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doString"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:string" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doLong"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:int" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doLongResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:int" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doInt"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:int" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doIntResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:int" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doFloat"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:float" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doFloatResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:float" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doLongDouble"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:double" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doLongDoubleResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:double" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doDouble"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:double" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doDoubleResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:double" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doBool"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:boolean" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doBoolResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:boolean" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doShort"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:short" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doShortResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:short" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doBytes"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:hexBinary" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doBytesResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:hexBinary" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doByte"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:byte" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doByteResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:byte" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - - - <xsd:element name="doMixed"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="arg1" type="xsd:string" minOccurs="1"/> - <xsd:element name="arg2" type="xsd:int" minOccurs="1"/> - <xsd:element name="arg3" type="dataObjectData" minOccurs="1"/> - <xsd:element name="arg4" type="xsd:boolean" minOccurs="1"/> - <xsd:element name="arg5" type="xsd:float" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doMixedResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="dataObjectData" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doDataObject"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="dataObjectData" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doDataObjectResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="dataObjectData" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:complexType name="dataObjectData"> - <xsd:sequence> - <xsd:element name="someStringData" type="xsd:string" minOccurs="1"/> - <xsd:element name="someIntData" type="xsd:int" minOccurs="1"/> - <xsd:element name="someFloatData" type="xsd:float" minOccurs="1"/> - <xsd:element name="someDateData" type="xsd:date" minOccurs="1"/> - <xsd:element name="someListData" type="tns:listData" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="listData"> - <xsd:sequence> - <xsd:element name="listItem" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> - </xsd:sequence> - </xsd:complexType> - - <xsd:element name="doAny"> - <xsd:complexType> - <xsd:sequence> - <xsd:any minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <xsd:element name="doAnyResponse"> - <xsd:complexType> - <xsd:sequence> - <xsd:any minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - - <!-- Can't do wchar - no mapping from XSD type to SDO:Character type - - <xsd:element name="doWChar"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" minOccurs="1"> - <xsd:simpleType> - <xsd:restriction base="xsd:string"> - <xsd:length value="1"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doWChar"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" minOccurs="1"> - <xsd:simpleType> - <xsd:restriction base="xsd:string"> - <xsd:length value="1"/> - </xsd:restriction> - </xsd:simpleType> - </xsd:element> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - --> - - <!-- Int64 not yet supported - see Jira TUSCANY-439 - <xsd:element name="doInt64"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:long" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - <xsd:element name="doInt64Response"> - <xsd:complexType> - <xsd:sequence> - <xsd:element name="someData" type="xsd:long" minOccurs="1"/> - </xsd:sequence> - </xsd:complexType> - </xsd:element> - --> - - <!-- Can't do doIntArray --> - </xsd:schema> - </wsdl:types> - - <wsdl:message name="doDataObjectRequestMsg"> - <wsdl:part element="tns:doDataObject" name="doDataObjectRequestPart"/> - </wsdl:message> - <wsdl:message name="doDataObjectResponseMsg"> - <wsdl:part element="tns:doDataObjectResponse" name="doDataObjectResponsePart"/> - </wsdl:message> - - <wsdl:message name="doCharsRequestMsg"> - <wsdl:part element="tns:doChars" name="doCharsRequestPart"/> - </wsdl:message> - <wsdl:message name="doCharsResponseMsg"> - <wsdl:part element="tns:doCharsResponse" name="doCharsResponsePart"/> - </wsdl:message> - - <wsdl:message name="doStringRequestMsg"> - <wsdl:part element="tns:doString" name="doStringRequestPart"/> - </wsdl:message> - <wsdl:message name="doStringResponseMsg"> - <wsdl:part element="tns:doCharsResponse" name="doStringResponsePart"/> - </wsdl:message> - - <wsdl:message name="doLongRequestMsg"> - <wsdl:part element="tns:doLong" name="doLongRequestPart"/> - </wsdl:message> - <wsdl:message name="doLongResponseMsg"> - <wsdl:part element="tns:doLongResponse" name="doLongResponsePart"/> - </wsdl:message> - - <wsdl:message name="doIntRequestMsg"> - <wsdl:part element="tns:doInt" name="doIntRequestPart"/> - </wsdl:message> - <wsdl:message name="doIntResponseMsg"> - <wsdl:part element="tns:doIntResponse" name="doIntResponsePart"/> - </wsdl:message> - - <wsdl:message name="doFloatRequestMsg"> - <wsdl:part element="tns:doFloat" name="doFloatRequestPart"/> - </wsdl:message> - <wsdl:message name="doFloatResponseMsg"> - <wsdl:part element="tns:doFloatResponse" name="doFloatResponsePart"/> - </wsdl:message> - - <wsdl:message name="doLongDoubleRequestMsg"> - <wsdl:part element="tns:doLongDouble" name="doLongDoubleRequestPart"/> - </wsdl:message> - <wsdl:message name="doLongDoubleResponseMsg"> - <wsdl:part element="tns:doLongDoubleResponse" name="doLongDoubleResponsePart"/> - </wsdl:message> - - <wsdl:message name="doDoubleRequestMsg"> - <wsdl:part element="tns:doDouble" name="doDoubleRequestPart"/> - </wsdl:message> - <wsdl:message name="doDoubleResponseMsg"> - <wsdl:part element="tns:doDoubleResponse" name="doDoubleResponsePart"/> - </wsdl:message> - - <wsdl:message name="doBoolRequestMsg"> - <wsdl:part element="tns:doBool" name="doBoolRequestPart"/> - </wsdl:message> - <wsdl:message name="doBoolResponseMsg"> - <wsdl:part element="tns:doBoolResponse" name="doBoolResponsePart"/> - </wsdl:message> - - <wsdl:message name="doShortRequestMsg"> - <wsdl:part element="tns:doShort" name="doShortRequestPart"/> - </wsdl:message> - <wsdl:message name="doShortResponseMsg"> - <wsdl:part element="tns:doShortResponse" name="doShortResponsePart"/> - </wsdl:message> - - <wsdl:message name="doBytesRequestMsg"> - <wsdl:part element="tns:doBytes" name="doBytesRequestPart"/> - </wsdl:message> - <wsdl:message name="doBytesResponseMsg"> - <wsdl:part element="tns:doBytesResponse" name="doBytesResponsePart"/> - </wsdl:message> - - <wsdl:message name="doByteRequestMsg"> - <wsdl:part element="tns:doByte" name="doByteRequestPart"/> - </wsdl:message> - <wsdl:message name="doByteResponseMsg"> - <wsdl:part element="tns:doByteResponse" name="doByteResponsePart"/> - </wsdl:message> - - <wsdl:message name="doMixedRequestMsg"> - <wsdl:part element="tns:doMixed" name="doMixedRequestPart"/> - </wsdl:message> - <wsdl:message name="doMixedResponseMsg"> - <wsdl:part element="tns:doMixedResponse" name="doMixedResponsePart"/> - </wsdl:message> - - <wsdl:message name="doAnyRequestMsg"> - <wsdl:part element="tns:doAny" name="doAnyRequestPart"/> - </wsdl:message> - <wsdl:message name="doAnyResponseMsg"> - <wsdl:part element="tns:doAnyResponse" name="doAnyResponsePart"/> - </wsdl:message> - - - <wsdl:portType name="WSEntryPointTest"> - <wsdl:operation name="doDataObject"> - <wsdl:input message="tns:doDataObjectRequestMsg"/> - <wsdl:output message="tns:doDataObjectResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doChars"> - <wsdl:input message="tns:doCharsRequestMsg"/> - <wsdl:output message="tns:doCharsResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doString"> - <wsdl:input message="tns:doStringRequestMsg"/> - <wsdl:output message="tns:doStringResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doLong"> - <wsdl:input message="tns:doLongRequestMsg"/> - <wsdl:output message="tns:doLongResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doInt"> - <wsdl:input message="tns:doIntRequestMsg"/> - <wsdl:output message="tns:doIntResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doFloat"> - <wsdl:input message="tns:doFloatRequestMsg"/> - <wsdl:output message="tns:doFloatResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doLongDouble"> - <wsdl:input message="tns:doLongDoubleRequestMsg"/> - <wsdl:output message="tns:doLongDoubleResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doDouble"> - <wsdl:input message="tns:doDoubleRequestMsg"/> - <wsdl:output message="tns:doDoubleResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doBool"> - <wsdl:input message="tns:doBoolRequestMsg"/> - <wsdl:output message="tns:doBoolResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doShort"> - <wsdl:input message="tns:doShortRequestMsg"/> - <wsdl:output message="tns:doShortResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doBytes"> - <wsdl:input message="tns:doBytesRequestMsg"/> - <wsdl:output message="tns:doBytesResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doByte"> - <wsdl:input message="tns:doByteRequestMsg"/> - <wsdl:output message="tns:doByteResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doMixed"> - <wsdl:input message="tns:doMixedRequestMsg"/> - <wsdl:output message="tns:doMixedResponseMsg"/> - </wsdl:operation> - <wsdl:operation name="doAny"> - <wsdl:input message="tns:doAnyRequestMsg"/> - <wsdl:output message="tns:doAnyResponseMsg"/> - </wsdl:operation> - </wsdl:portType> - - - <wsdl:binding name="WSEntryPointTestSOAP" type="tns:WSEntryPointTest"> - <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="doDataObject"> - <soap:operation soapAction="WSEntryPointTest/doDataObject"/> - <wsdl:input> - <soap:body use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body use="literal"/> - </wsdl:output> - </wsdl:operation> - <wsdl:operation name="doChars"> - <soap:operation soapAction="WSEntryPointTest/doChars"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doString"> - <soap:operation soapAction="WSEntryPointTest/doString"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doLong"> - <soap:operation soapAction="WSEntryPointTest/doLong"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doInt"> - <soap:operation soapAction="WSEntryPointTest/doInt"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doFloat"> - <soap:operation soapAction="WSEntryPointTest/doFloat"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doLongDouble"> - <soap:operation soapAction="WSEntryPointTest/doLongDouble"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doDouble"> - <soap:operation soapAction="WSEntryPointTest/doDouble"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doBool"> - <soap:operation soapAction="WSEntryPointTest/doBool"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doShort"> - <soap:operation soapAction="WSEntryPointTest/doShort"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doBytes"> - <soap:operation soapAction="WSEntryPointTest/doBytes"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doByte"> - <soap:operation soapAction="WSEntryPointTest/doByte"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doMixed"> - <soap:operation soapAction="WSEntryPointTest/doMixed"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - <wsdl:operation name="doAny"> - <soap:operation soapAction="WSEntryPointTest/doAny"/> - <wsdl:input><soap:body use="literal"/></wsdl:input> - <wsdl:output><soap:body use="literal"/></wsdl:output> - </wsdl:operation> - </wsdl:binding> - <wsdl:service name="WSEntryPointTest"> - <wsdl:port binding="tns:WSEntryPointTestSOAP" name="WSEntryPointTestSOAP"> - <soap:address location="http://localhost:9090/axis2/services/WSEntryPointTest"/> - </wsdl:port> - </wsdl:service> -</wsdl:definitions> diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.componentType b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.componentType deleted file mode 100644 index cd58a345e6..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.componentType +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<componentType xmlns="http://www.osoa.org/xmlns/sca/0.9" - xmlns:xs="http://www.w3.org/2001/XMLSchema"> - - <service name="WSEntryPointTestService"> - <interface.cpp header="WSEntryPointTest.h"> - </interface.cpp> - </service> - -</componentType> diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.cpp b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.cpp deleted file mode 100644 index 462ee1ac4d..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.cpp +++ /dev/null @@ -1,159 +0,0 @@ -/* -+----------------------------------------------------------------------+ -| (c) Copyright IBM Corporation 2005. | -| All Rights Reserved. | -+----------------------------------------------------------------------+ -| | -| 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 "WSEntryPointTestImpl.h" -#include <stdio.h> -#include <tuscany/sca/util/Utils.h> -using namespace tuscany::sca; -#include <commonj/sdo/SDO.h> -#include <sdo_axiom.h> -using namespace commonj::sdo; -using namespace commonj::sdo_axiom; - -WSEntryPointTestImpl::WSEntryPointTestImpl() -{ -} - -WSEntryPointTestImpl::~WSEntryPointTestImpl() -{ -} - -// WSEntryPointTest interface -char* WSEntryPointTestImpl::doChars(char* arg1) -{ - printf("WSEntryPointTestImpl::doChars %s\n", arg1); - return arg1; -} - - -long WSEntryPointTestImpl::doLong(long arg1) -{ - printf("WSEntryPointTestImpl::doLong %d\n", arg1); - return arg1; -} - -int WSEntryPointTestImpl::doInt(int arg1) -{ - printf("WSEntryPointTestImpl::doInt %d\n", arg1); - return arg1; -} - -float WSEntryPointTestImpl::doFloat(float arg1) -{ - printf("WSEntryPointTestImpl::doFloat %f\n", arg1); - return arg1; -} - -long double WSEntryPointTestImpl::doLongDouble(long double arg1) -{ - printf("WSEntryPointTestImpl::doLongDouble %f\n", arg1); - return arg1; -} - -double WSEntryPointTestImpl::doDouble(double arg1) -{ - printf("WSEntryPointTestImpl::doDouble %f\n", arg1); - return arg1; -} - - -bool WSEntryPointTestImpl::doBool(bool arg1) -{ - printf("WSEntryPointTestImpl::doBool %d\n", arg1); - return arg1; -} - -short WSEntryPointTestImpl::doShort(short arg1) -{ - printf("WSEntryPointTestImpl::doShort %d\n", arg1); - return arg1; -} - -char* WSEntryPointTestImpl::doBytes(char* arg1) -{ - printf("WSEntryPointTestImpl::doBytes %s\n", arg1); - return arg1; -} - -char WSEntryPointTestImpl::doByte(char arg1) -{ - printf("WSEntryPointTestImpl::doByte %c\n", arg1); - return arg1; -} - -DataObjectPtr WSEntryPointTestImpl::doMixed(char* arg1, long arg2, DataObjectPtr arg3, bool arg4, double arg5) -{ - printf("WSEntryPointTestImpl::doMixed %s %d %s %d %d\n", arg1, arg2, arg3->getType().getURI(), arg4, arg5); - Utils::printDO(arg3); - return arg3; -} - -DataObjectPtr WSEntryPointTestImpl::doDataObject(DataObjectPtr arg1) -{ - printf("WSEntryPointTestImpl::doDataObject %s\n", arg1->getType().getURI()); - Utils::printDO(arg1); - return arg1; -} - -DataObjectPtr WSEntryPointTestImpl::doAny(DataObjectPtr arg1) -{ - printf("WSEntryPointTestImpl::doAny %s#%s\n", arg1->getType().getURI(), arg1->getType().getName()); - Utils::printDO(arg1); - //return arg1; - - DataFactoryPtr factory = arg1->getDataFactory(); - DataObjectPtr data = factory->create(Type::SDOTypeNamespaceURI, "OpenDataObject"); - data->setCString("stringData", "Here is some string data"); - data->setBoolean("boolData", true); - DataObjectList& list = data->getList("intDataList"); - list.append((long)123456789); - list.append((long)111111111); - list.append((long)222222222); - Utils::printDO(data); - return data; -} - -//int[] WSEntryPointTestImpl::doIntArray(int[] arg1, int arg2) -//{ -// printf("WSEntryPointTestImpl::doIntArray with length %d\n", arg2); -// for(int i=0; i<arg2; i++) -// { -// printf("%d\n", arg1[i]); -// } -// return arg1; -//} -// -//string WSEntryPointTestImpl::doString(string arg1) -//{ -// printf("WSEntryPointTestImpl::doString %s\n", arg1.c_str()); -// return arg1; -//} -// -//wchar_t WSEntryPointTestImpl::doWChar(wchar_t arg1) -//{ -// printf("WSEntryPointTestImpl::doWChar %s\n", arg1); -// return arg1; -//} -// -//int64_t WSEntryPointTestImpl::doInt64(int64_t arg1) -//{ -// printf("WSEntryPointTestImpl::doInt64 %d\n", arg1); -// return arg1; -//} - diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.h deleted file mode 100644 index 926b6073d4..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl.h +++ /dev/null @@ -1,57 +0,0 @@ -/* -+----------------------------------------------------------------------+ -| (c) Copyright IBM Corporation 2005. | -| All Rights Reserved. | -+----------------------------------------------------------------------+ -| | -| 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 WSEENTRYPOINTTESTIMPL_H -#define WSEENTRYPOINTTESTIMPL_H - -#include "WSEntryPointTest.h" - -class WSEntryPointTestImpl : public WSEntryPointTest -{ -public: - WSEntryPointTestImpl(); - virtual ~WSEntryPointTestImpl(); - - // WSEntryPointTest interface - virtual char* doChars(char* arg1); - virtual long doLong(long arg1); - virtual int doInt(int arg1); - virtual float doFloat(float arg1); - virtual long double doLongDouble(long double arg1); - virtual double doDouble(double arg1); - virtual bool doBool(bool arg1); - virtual short doShort(short arg1); - virtual char* doBytes(char* arg1); - virtual char doByte(char arg1); - virtual DataObjectPtr doMixed(char* arg1, long arg2, DataObjectPtr arg3, bool arg4, double arg5); - virtual DataObjectPtr doDataObject(DataObjectPtr arg1); - virtual DataObjectPtr doAny(DataObjectPtr arg1); - -// These don't work because they are passing pointers around -// virtual int[] doIntArray(int[] arg1, int arg2); -// virtual string doString(string arg1); -// This doesn't work because there is no mapping from XSD types to SDO CharacterType -// virtual wchar_t doWChar(wchar_t arg1); -// This doesn't work because Operation does not support int64_t yet -// virtual int64_t doInt64(int64_t arg1); - -}; - -#endif - diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp deleted file mode 100644 index 8f564ff5bc..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp +++ /dev/null @@ -1,187 +0,0 @@ -/* - * 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 "WSEntryPointTestImpl_WSEntryPointTestService_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 - WSEntryPointTestImpl_WSEntryPointTestService_Proxy* WSEntryPointTestImpl_WSEntryPointTestService_Proxy_Factory(ServiceWrapper* target) - { - return new WSEntryPointTestImpl_WSEntryPointTestService_Proxy(target); - } - - #if defined(WIN32) || defined(_WINDOWS) - __declspec(dllexport) - #endif - void WSEntryPointTestImpl_WSEntryPointTestService_Proxy_Destructor(void* proxy) - { - delete (WSEntryPointTestImpl_WSEntryPointTestService_Proxy*)proxy; - } -} - -WSEntryPointTestImpl_WSEntryPointTestService_Proxy::WSEntryPointTestImpl_WSEntryPointTestService_Proxy(ServiceWrapper* targ) : target(targ) -{ -} - -WSEntryPointTestImpl_WSEntryPointTestService_Proxy::~WSEntryPointTestImpl_WSEntryPointTestService_Proxy() -{ - if (target) - delete target; -} - -char* WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doChars( char* arg0) -{ - Operation operation("doChars"); - operation.addParameter(&arg0); - char* ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -long WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doLong( long arg0) -{ - Operation operation("doLong"); - operation.addParameter(&arg0); - long ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -int WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doInt( int arg0) -{ - Operation operation("doInt"); - operation.addParameter(&arg0); - int ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -float WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doFloat( float arg0) -{ - Operation operation("doFloat"); - operation.addParameter(&arg0); - float ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -long double WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doLongDouble( long double arg0) -{ - Operation operation("doLongDouble"); - operation.addParameter(&arg0); - long double ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -double WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doDouble( double arg0) -{ - Operation operation("doDouble"); - operation.addParameter(&arg0); - double ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -bool WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doBool( bool arg0) -{ - Operation operation("doBool"); - operation.addParameter(&arg0); - bool ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -short WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doShort( short arg0) -{ - Operation operation("doShort"); - operation.addParameter(&arg0); - short ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -char* WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doBytes( char* arg0) -{ - Operation operation("doBytes"); - operation.addParameter(&arg0); - char* ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -char WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doByte( char arg0) -{ - Operation operation("doByte"); - operation.addParameter(&arg0); - char ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -DataObjectPtr WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doMixed( char* arg0, long arg1, DataObjectPtr arg2, bool arg3, double arg4) -{ - Operation operation("doMixed"); - operation.addParameter(&arg0); - operation.addParameter(&arg1); - operation.addParameter(&arg2); - operation.addParameter(&arg3); - operation.addParameter(&arg4); - DataObjectPtr ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -DataObjectPtr WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doDataObject( DataObjectPtr arg0) -{ - Operation operation("doDataObject"); - operation.addParameter(&arg0); - DataObjectPtr ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - -DataObjectPtr WSEntryPointTestImpl_WSEntryPointTestService_Proxy::doAny( DataObjectPtr arg0) -{ - Operation operation("doAny"); - operation.addParameter(&arg0); - DataObjectPtr ret; - operation.setReturnValue(&ret); - target->invoke(operation); - return ret; -} - - diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.h deleted file mode 100644 index 9dca8a61bc..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Proxy.h +++ /dev/null @@ -1,50 +0,0 @@ -/* - * 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 WSEntryPointTestImpl_WSEntryPointTestService_Proxy_h -#define WSEntryPointTestImpl_WSEntryPointTestService_Proxy_h - -#if defined(WIN32) || defined (_WINDOWS) -#pragma warning(disable: 4786) -#endif - -#include "WSEntryPointTest.h" -#include "tuscany/sca/core/ServiceWrapper.h" - -class WSEntryPointTestImpl_WSEntryPointTestService_Proxy : public WSEntryPointTest -{ -public: - WSEntryPointTestImpl_WSEntryPointTestService_Proxy(tuscany::sca::ServiceWrapper*); - virtual ~WSEntryPointTestImpl_WSEntryPointTestService_Proxy(); - virtual char* doChars( char* arg1); - virtual long doLong( long arg1); - virtual int doInt( int arg1); - virtual float doFloat( float arg1); - virtual long double doLongDouble( long double arg1); - virtual double doDouble( double arg1); - virtual bool doBool( bool arg1); - virtual short doShort( short arg1); - virtual char* doBytes( char* arg1); - virtual char doByte( char arg1); - virtual DataObjectPtr doMixed( char* arg1, long arg2, DataObjectPtr arg3, bool arg4, double arg5); - virtual DataObjectPtr doDataObject( DataObjectPtr arg1); - virtual DataObjectPtr doAny( DataObjectPtr arg1); -private: - tuscany::sca::ServiceWrapper* target; -}; - -#endif // WSEntryPointTestImpl_WSEntryPointTestService_Proxy_h - diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.cpp b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.cpp deleted file mode 100644 index 7a879a310b..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.cpp +++ /dev/null @@ -1,145 +0,0 @@ -/* - * 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 "WSEntryPointTestImpl_WSEntryPointTestService_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 - WSEntryPointTestImpl_WSEntryPointTestService_Wrapper* WSEntryPointTestImpl_WSEntryPointTestService_Wrapper_Factory(tuscany::sca::model::Service* target) - { - return new WSEntryPointTestImpl_WSEntryPointTestService_Wrapper(target); - } -} - -WSEntryPointTestImpl_WSEntryPointTestService_Wrapper::WSEntryPointTestImpl_WSEntryPointTestService_Wrapper(Service* target) : ComponentServiceWrapper(target) -{ - impl = (WSEntryPointTestImpl*)getImplementation(); -} - -WSEntryPointTestImpl_WSEntryPointTestService_Wrapper::~WSEntryPointTestImpl_WSEntryPointTestService_Wrapper() -{ - releaseImplementation(); -} - -void* WSEntryPointTestImpl_WSEntryPointTestService_Wrapper::newImplementation() -{ - return new WSEntryPointTestImpl; -} - -void WSEntryPointTestImpl_WSEntryPointTestService_Wrapper::deleteImplementation() -{ - delete impl; -} - -void WSEntryPointTestImpl_WSEntryPointTestService_Wrapper::invokeService(Operation& operation) -{ - const string& operationName = operation.getName(); - - if (operationName == "doChars") - { - char* p0 = *( char**)operation.getParameterValue(0); - *(char**)operation.getReturnValue() = impl->doChars(p0); - return; - } - if (operationName == "doLong") - { - long& p0 = *( long*)operation.getParameterValue(0); - *(long*)operation.getReturnValue() = impl->doLong(p0); - return; - } - if (operationName == "doInt") - { - int& p0 = *( int*)operation.getParameterValue(0); - *(int*)operation.getReturnValue() = impl->doInt(p0); - return; - } - if (operationName == "doFloat") - { - float& p0 = *( float*)operation.getParameterValue(0); - *(float*)operation.getReturnValue() = impl->doFloat(p0); - return; - } - if (operationName == "doLongDouble") - { - long double& p0 = *( long double*)operation.getParameterValue(0); - *(long double*)operation.getReturnValue() = impl->doLongDouble(p0); - return; - } - if (operationName == "doDouble") - { - double& p0 = *( double*)operation.getParameterValue(0); - *(double*)operation.getReturnValue() = impl->doDouble(p0); - return; - } - if (operationName == "doBool") - { - bool& p0 = *( bool*)operation.getParameterValue(0); - *(bool*)operation.getReturnValue() = impl->doBool(p0); - return; - } - if (operationName == "doShort") - { - short& p0 = *( short*)operation.getParameterValue(0); - *(short*)operation.getReturnValue() = impl->doShort(p0); - return; - } - if (operationName == "doBytes") - { - char* p0 = *( char**)operation.getParameterValue(0); - *(char**)operation.getReturnValue() = impl->doBytes(p0); - return; - } - if (operationName == "doByte") - { - char& p0 = *( char*)operation.getParameterValue(0); - *(char*)operation.getReturnValue() = impl->doByte(p0); - return; - } - if (operationName == "doMixed") - { - char* p0 = *( char**)operation.getParameterValue(0); - long& p1 = *( long*)operation.getParameterValue(1); - DataObjectPtr& p2 = *(DataObjectPtr*)operation.getParameterValue(2); bool& p3 = *( bool*)operation.getParameterValue(3); - double& p4 = *( double*)operation.getParameterValue(4); - *(DataObjectPtr*)operation.getReturnValue() = impl->doMixed(p0, p1, p2, p3, p4); - return; - } - if (operationName == "doDataObject") - { - DataObjectPtr& p0 = *(DataObjectPtr*)operation.getParameterValue(0); *(DataObjectPtr*)operation.getReturnValue() = impl->doDataObject(p0); - return; - } - if (operationName == "doAny") - { - DataObjectPtr& p0 = *(DataObjectPtr*)operation.getParameterValue(0); *(DataObjectPtr*)operation.getReturnValue() = impl->doAny(p0); - return; - } - - - throw ServiceRuntimeException("Invalid operation"); - -} - diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.h b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.h deleted file mode 100644 index 7bcd09b7c8..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * 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 WSEntryPointTestImpl_WSEntryPointTestService_Wrapper_h -#define WSEntryPointTestImpl_WSEntryPointTestService_Wrapper_h - -#if defined(WIN32) || defined (_WINDOWS) -#pragma warning(disable: 4786) -#endif - -#include "WSEntryPointTestImpl.h" -#include "tuscany/sca/core/ComponentServiceWrapper.h" - -class WSEntryPointTestImpl_WSEntryPointTestService_Wrapper : public tuscany::sca::ComponentServiceWrapper -{ -public: - WSEntryPointTestImpl_WSEntryPointTestService_Wrapper(tuscany::sca::model::Service* target); - virtual ~WSEntryPointTestImpl_WSEntryPointTestService_Wrapper(); - virtual void invokeService(tuscany::sca::Operation& operation); - virtual void* newImplementation(); - virtual void deleteImplementation(); -private: - WSEntryPointTestImpl* impl; -}; - -#endif // WSEntryPointTestImpl_WSEntryPointTestService_Wrapper_h - diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestModule.vcproj b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestModule.vcproj deleted file mode 100644 index 6ff73c3f1c..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/WSEntryPointTestModule.vcproj +++ /dev/null @@ -1,173 +0,0 @@ -<?xml version="1.0" encoding="Windows-1252"?> -<VisualStudioProject - ProjectType="Visual C++" - Version="7.10" - Name="WSEntryPointTestModule" - ProjectGUID="{19C4CE76-4E08-4C22-8198-010B837C565A}" - Keyword="Win32Proj"> - <Platforms> - <Platform - Name="Win32"/> - </Platforms> - <Configurations> - <Configuration - Name="Debug|Win32" - OutputDirectory="Debug" - IntermediateDirectory="Debug" - ConfigurationType="2" - CharacterSet="2"> - <Tool - Name="VCCLCompilerTool" - Optimization="0" - AdditionalIncludeDirectories="$(TUSCANY_SCACPP)/include,$(TUSCANY_SDOCPP)/include,$(AXIS2C_HOME)/include" - PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;WSENTRYPOINTTESTMODULE_EXPORTS" - MinimalRebuild="TRUE" - BasicRuntimeChecks="3" - RuntimeLibrary="1" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="TRUE" - DebugInformationFormat="4"/> - <Tool - Name="VCCustomBuildTool"/> - <Tool - Name="VCLinkerTool" - AdditionalDependencies="tuscany_sca.lib tuscany_sdo.lib tuscany_sdo_axiom.lib axis2_parser.lib axis2_util.lib axiom.lib" - OutputFile="$(OutDir)/WSEntryPointTestModule.dll" - LinkIncremental="2" - AdditionalLibraryDirectories="$(TUSCANY_SCACPP)/lib,$(TUSCANY_SDOCPP)/lib,$(AXIS2C_HOME)/lib" - GenerateDebugInformation="TRUE" - ProgramDatabaseFile="$(OutDir)/WSEntryPointTestModule.pdb" - SubSystem="2" - ImportLibrary="$(OutDir)/WSEntryPointTestModule.lib" - TargetMachine="1"/> - <Tool - Name="VCMIDLTool"/> - <Tool - Name="VCPostBuildEventTool"/> - <Tool - Name="VCPreBuildEventTool"/> - <Tool - Name="VCPreLinkEventTool"/> - <Tool - Name="VCResourceCompilerTool"/> - <Tool - Name="VCWebServiceProxyGeneratorTool"/> - <Tool - Name="VCXMLDataGeneratorTool"/> - <Tool - Name="VCWebDeploymentTool"/> - <Tool - Name="VCManagedWrapperGeneratorTool"/> - <Tool - Name="VCAuxiliaryManagedWrapperGeneratorTool"/> - </Configuration> - <Configuration - Name="Release|Win32" - OutputDirectory="Release" - IntermediateDirectory="Release" - ConfigurationType="2" - CharacterSet="2"> - <Tool - Name="VCCLCompilerTool" - PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;WSENTRYPOINTTESTMODULE_EXPORTS" - RuntimeLibrary="0" - UsePrecompiledHeader="0" - WarningLevel="3" - Detect64BitPortabilityProblems="TRUE" - DebugInformationFormat="3"/> - <Tool - Name="VCCustomBuildTool"/> - <Tool - Name="VCLinkerTool" - OutputFile="$(OutDir)/WSEntryPointTestModule.dll" - LinkIncremental="1" - GenerateDebugInformation="TRUE" - SubSystem="2" - OptimizeReferences="2" - EnableCOMDATFolding="2" - ImportLibrary="$(OutDir)/WSEntryPointTestModule.lib" - TargetMachine="1"/> - <Tool - Name="VCMIDLTool"/> - <Tool - Name="VCPostBuildEventTool"/> - <Tool - Name="VCPreBuildEventTool"/> - <Tool - Name="VCPreLinkEventTool"/> - <Tool - Name="VCResourceCompilerTool"/> - <Tool - Name="VCWebServiceProxyGeneratorTool"/> - <Tool - Name="VCXMLDataGeneratorTool"/> - <Tool - Name="VCWebDeploymentTool"/> - <Tool - Name="VCManagedWrapperGeneratorTool"/> - <Tool - Name="VCAuxiliaryManagedWrapperGeneratorTool"/> - </Configuration> - </Configurations> - <References> - </References> - <Files> - <Filter - Name="Source Files" - Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" - UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> - <File - RelativePath=".\WSEntryPointTestImpl.cpp"> - </File> - <File - RelativePath=".\WSEntryPointTestImpl_WSEntryPointTestService_Proxy.cpp"> - </File> - <File - RelativePath=".\WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.cpp"> - </File> - </Filter> - <Filter - Name="Header Files" - Filter="h;hpp;hxx;hm;inl;inc;xsd" - UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> - <File - RelativePath=".\WSEntryPointTest.h"> - </File> - <File - RelativePath=".\WSEntryPointTestImpl.h"> - </File> - <File - RelativePath=".\WSEntryPointTestImpl_WSEntryPointTestService_Proxy.h"> - </File> - <File - RelativePath=".\WSEntryPointTestImpl_WSEntryPointTestService_Wrapper.h"> - </File> - </Filter> - <Filter - Name="Resource Files" - Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" - UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> - <File - RelativePath=".\sca.module"> - </File> - <File - RelativePath="..\WSEntryPointTestSubsystem\sca.subsystem"> - </File> - <File - RelativePath=".\services.xml"> - </File> - <File - RelativePath=".\Tuscany-model.config"> - </File> - <File - RelativePath=".\WSEntryPointTest.wsdl"> - </File> - <File - RelativePath=".\WSEntryPointTestImpl.componentType"> - </File> - </Filter> - </Files> - <Globals> - </Globals> -</VisualStudioProject> diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/sca.module b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/sca.module deleted file mode 100644 index f92fae8110..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/sca.module +++ /dev/null @@ -1,19 +0,0 @@ -<?xml version="1.0" encoding="ASCII"?> -<module xmlns="http://www.osoa.org/xmlns/sca/0.9" - xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9" - name="WSEntryPointTestModule"> - - <!-- Expose as a web service --> - <entryPoint name="WSEntryPointTestEntrypoint" multiplicity="1..1"> - <interface.wsdl interface="WSEntryPointTest.wsdl" callbackInterface=""></interface.wsdl> - <binding.ws port="http://www.WSEntryPointTest.org/WSEntryPointTest/#wsdl.endpoint(WSEntryPointTest/WSEntryPointTestSOAP)"></binding.ws> - <reference>WSEntryPointTestServiceComponent</reference> - </entryPoint> - - - <component name="WSEntryPointTestServiceComponent"> - <implementation.cpp dll="WSEntryPointTestModule.dll" header="WSEntryPointTestImpl.h"></implementation.cpp> - <properties> </properties> - <references> </references> - </component> -</module> diff --git a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/services.xml b/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/services.xml deleted file mode 100644 index b863c79409..0000000000 --- a/tags/cpp-0.1.incubating-M1-RC3b/sca/test/WSEntryPointTest/WSEntryPointTestModule/services.xml +++ /dev/null @@ -1,62 +0,0 @@ - -<!-- - Copyright 2006 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. - --> -<service name="WSEntryPointTest"> - <parameter name="ServiceClass" locked="xsd:false">tuscany_sca_ws_service</parameter> - <parameter name="TuscanySystemRoot" locked="xsd:false">D:/tuscany/cpp/sca/test/WSEntryPointTest/runtime</parameter> - <parameter name="TuscanyEntryPoint" locked="xsd:false">WSEntryPointTestSubsystem/WSEntryPointTestService/WSEntryPointTestEntrypoint</parameter> - - <description> - This is a testing service , to test the system is working or not - </description> - - <operation name="doChars"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doLong"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doInt"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doFloat"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doLongDouble"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doDouble"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doBool"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doShort"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doBytes"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doMixed"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doDataObject"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> - <operation name="doAny"> - <!--messageReceiver class="axis2_receivers" /--> - </operation> -</service> |