diff options
author | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
---|---|---|
committer | dims <dims@13f79535-47bb-0310-9956-ffa450edef68> | 2008-06-17 00:23:01 +0000 |
commit | bdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch) | |
tree | 38a92061c0793434c4be189f1d70c3458b6bc41d /tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime |
Move Tuscany from Incubator to top level.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime')
6 files changed, 180 insertions, 0 deletions
diff --git a/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/configuration/WSEntryPointTestRPCSubsystem/sca.subsystem b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/configuration/WSEntryPointTestRPCSubsystem/sca.subsystem new file mode 100644 index 0000000000..91d3105f5b --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/configuration/WSEntryPointTestRPCSubsystem/sca.subsystem @@ -0,0 +1,23 @@ +<?xml version="1.0" encoding="ASCII"?> +<!-- + Copyright 2005 The Apache Software Foundation or its licensors, as applicable. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + --> + +<subsystem xmlns="http://www.osoa.org/xmlns/sca/0.9" name="WSEntryPointTestRPCSubsystem"> + + <compositeComponent name="WSEntryPointTestRPCService" composite="WSEntryPointTestRPCComposite" /> + +</subsystem> + diff --git a/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h new file mode 100644 index 0000000000..c804494b46 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.h @@ -0,0 +1,30 @@ +/* ++----------------------------------------------------------------------+ +| (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 WSEENTRYPOINTTESTRPC_H +#define WSEENTRYPOINTTESTRPC_H +class WSCompositeServiceTestRPC +{ +public: + virtual char* doString(char* arg1) = 0; +}; + +#endif + + diff --git a/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl new file mode 100644 index 0000000000..1706534042 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPC.wsdl @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8"?> +<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="WSEntryPointTestRPC" targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/"> + + <wsdl:types> + <xs:schema targetNamespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" + elementFormDefault="qualified"> + + <xs:element name="doStringRequest"> + <xs:simpleType> + <xs:restriction base="xs:string"/> + </xs:simpleType> + </xs:element> + <xs:element name="doStringResponse"> + <xs:simpleType> + <xs:restriction base="xs:string"/> + </xs:simpleType> + </xs:element> + + </xs:schema> + </wsdl:types> + + <wsdl:message name="doStringResponseMsg"> + <wsdl:part name="doStringResponse" element="tns:doStringResponse"/> + </wsdl:message> + <wsdl:message name="doStringRequestMsg"> + <wsdl:part name="doStringRequest" element="tns:doStringRequest"/> + </wsdl:message> + +<!-- + <wsdl:message name="doStringResponseMsg"> + <wsdl:part name="doStringResponse" type="xsd:string"/> + </wsdl:message> + <wsdl:message name="doStringRequestMsg"> + <wsdl:part name="doStringRequest" type="xsd:string"/> + </wsdl:message> +--> + <wsdl:portType name="WSEntryPointTestRPC"> + <wsdl:operation name="doString"> + <wsdl:input message="tns:doStringRequestMsg"/> + <wsdl:output message="tns:doStringResponseMsg"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="WSEntryPointTestRPCSOAP" type="tns:WSEntryPointTestRPC"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="doString"> + <soap:operation soapAction="WSEntryPointTestRPC/doString"/> + <wsdl:input> + <soap:body namespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" use="literal"/> + </wsdl:input> + <wsdl:output> + <soap:body namespace="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/" use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="WSEntryPointTestRPC"> + <wsdl:port binding="tns:WSEntryPointTestRPCSOAP" name="WSEntryPointTestRPCSOAP"> + <soap:address location="http://localhost:9090/axis2/services/WSEntryPointTestRPC"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> diff --git a/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType new file mode 100644 index 0000000000..15287150e0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.componentType @@ -0,0 +1,10 @@ +<?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="WSEntryPointTestRPCService"> + <interface.cpp header="WSEntryPointTestRPC.h"> + </interface.cpp> + </service> + +</componentType> diff --git a/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h new file mode 100644 index 0000000000..7d3b355b8a --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/WSEntryPointTestRPCImpl.h @@ -0,0 +1,36 @@ +/* ++----------------------------------------------------------------------+ +| (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 WSEENTRYPOINTTESTRPCIMPL_H +#define WSEENTRYPOINTTESTRPCIMPL_H + +#include "WSCompositeServiceTestRPC.h" + +class WSCompositeServiceTestRPCImpl : public WSCompositeServiceTestRPC +{ +public: + WSCompositeServiceTestRPCImpl(); + virtual ~WSCompositeServiceTestRPCImpl(); + + // WSCompositeServiceTestRPC interface + virtual char* doString(char* arg1); +}; + +#endif + diff --git a/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/sca.composite b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/sca.composite new file mode 100644 index 0000000000..f454a5bde0 --- /dev/null +++ b/tags/native-sca-1.0.incubating-M3-RC1/test/WSEntryPointTestRPC/runtime/packages/WSEntryPointTestRPCComposite/sca.composite @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="ASCII"?> +<composite xmlns="http://www.osoa.org/xmlns/sca/0.9" + xmlns:v="http://www.osoa.org/xmlns/sca/values/0.9" + name="WSEntryPointTestRPCComposite"> + + <!-- Expose as a web service --> + <entryPoint name="WSEntryPointTestRPCEntrypoint" multiplicity="1..1"> + <interface.wsdl interface="WSEntryPointTestRPC.wsdl" callbackInterface=""></interface.wsdl> + <binding.ws port="http://www.WSEntryPointTest.org/WSEntryPointTestRPC/#wsdl.endpoint(WSEntryPointTestRPC/WSEntryPointTestRPCSOAP)"></binding.ws> + <reference>WSEntryPointTestRPCServiceComponent</reference> + </entryPoint> + + + <component name="WSEntryPointTestRPCServiceComponent"> + <implementation.cpp dll="WSEntryPointTestRPCComposite.dll" header="WSEntryPointTestRPCImpl.h"></implementation.cpp> + <properties> </properties> + <references> </references> + </component> +</composite> |