summaryrefslogtreecommitdiffstats
path: root/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse
diff options
context:
space:
mode:
authordims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
committerdims <dims@13f79535-47bb-0310-9956-ffa450edef68>2008-06-17 00:23:01 +0000
commitbdd0a41aed7edf21ec2a65cfa17a86af2ef8c48a (patch)
tree38a92061c0793434c4be189f1d70c3458b6bc41d /tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse
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/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse')
-rw-r--r--tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl38
-rw-r--r--tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType34
-rw-r--r--tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType39
-rw-r--r--tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite62
4 files changed, 173 insertions, 0 deletions
diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl
new file mode 100644
index 0000000000..a007f9957b
--- /dev/null
+++ b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/Warehouse.wsdl
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<wsdl:definitions name="Warehouse"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ targetNamespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
+ xmlns:tns="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+
+ <wsdl:import
+ namespace="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl"
+ location="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl" />
+
+ <wsdl:service name="WarehouseService">
+ <wsdl:port name="WarehousePort"
+ binding="tns:WarehouseSoapBinding">
+ <soap:address
+ location="http://localhost:9090/axis2/services/Warehouse" />
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions> \ No newline at end of file
diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType
new file mode 100644
index 0000000000..fbc1edb462
--- /dev/null
+++ b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseCallbackImpl.componentType
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <service name="WarehouseCallbackService">
+ <interface.cpp header="WarehouseCallback.h"/>
+ </service>
+
+ <reference name="logging">
+ <interface.cpp header="Logging.h"/>
+ </reference>
+
+ <property name="warehouseID" type="xs:string"/>
+
+</componentType> \ No newline at end of file
diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType
new file mode 100644
index 0000000000..7f63d3b571
--- /dev/null
+++ b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/WarehouseImpl.componentType
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+
+<componentType xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <service name="WarehouseService">
+ <interface.cpp header="Warehouse.h"/>
+ </service>
+
+ <reference name="manufacturer">
+ <interface.cpp header="Manufacturer.h"/>
+ </reference>
+
+ <reference name="logging">
+ <interface.cpp header="Logging.h"/>
+ </reference>
+
+ <property name="warehouseID" type="xs:string"/>
+
+</componentType> \ No newline at end of file
diff --git a/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite
new file mode 100644
index 0000000000..e44b964eb4
--- /dev/null
+++ b/tags/cpp-1.0-incubating-M2-RC1/sca/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
+ name="supplychain.warehouse">
+
+ <service name="WarehouseService">
+ <interface.wsdl interface="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl#wsdl.interface(WarehouseShipmentsPortType)"/>
+ <binding.ws endpoint="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/Warehouse.wsdl#wsdl.endpoint(WarehouseService/WarehousePort)"/>
+ <reference>WarehouseProcess/WarehouseService</reference>
+ </service>
+
+ <service name="WarehouseCallbackService">
+ <interface.wsdl interface="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl#wsdl.interface(WarehouseCallbackPortType)"/>
+ <binding.ws endpoint="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl#wsdl.endpoint(WarehouseCallbackService/WarehouseCallbackPort)"/>
+ <reference>WarehouseCallbackProcess/WarehouseCallbackService</reference>
+ </service>
+
+ <property name="warehouseID" type="xs:string"/>
+
+ <component name="WarehouseProcess">
+ <implementation.cpp library="warehouse" header="WarehouseImpl.h"/>
+ <reference name="manufacturer">manufacturer</reference>
+ <reference name="logging">logging</reference>
+ <property name="warehouseID" source="$warehouseID"/>
+ </component>
+
+ <component name="WarehouseCallbackProcess">
+ <implementation.cpp library="warehouse" header="WarehouseCallbackImpl.h"/>
+ <reference name="logging">logging</reference>
+ <property name="warehouseID" source="$warehouseID"/>
+ </component>
+
+ <reference name="manufacturer">
+ <interface.wsdl interface="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl#wsdl.interface(ManufacturerPortType)"/>
+ <binding.ws endpoint="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-10/Manufacturer.wsdl#wsdl.endpoint(ManufacturerService/ManufacturerPort)"/>
+ </reference>
+
+ <reference name="logging">
+ <interface.wsdl interface="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl#wsdl.interface(LoggingFacilityLogPortType)"/>
+ <binding.ws endpoint="http://www.ws-i.org/SampleApplications/SupplyChainManagement/2002-08/LoggingFacility.wsdl#wsdl.endpoint(LoggingFacilityService/LoggingFacilityPort)"/>
+ </reference>
+
+</composite>