summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/contrib/samples/SupplyChain/supplychain.warehouse/supplychain.warehouse.composite
blob: e44b964eb4bd54bdeed2e5470446dbd5a82ca214 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
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>