summaryrefslogtreecommitdiffstats
path: root/collaboration/GSoC-2011-Nirmal/CompositeDiagramGeneratorUsingBatik/input/MyValueComposite2.xml
blob: 722bdeb0a50624fa9f249f741c8d90db684a8f0f (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="ASCII"?>

<!-- MyValueComposite Wires examples -->

<composite     xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903"

               targetNamespace="http://foo.com"

               name="MyValueComposite2" >

 	<include name="store"/>
 	<include name="Calculator"/>
 	<include name="supplychain"/>

   <service name="MyValueService" promote="MyValueServiceComponent">

         <interface.java interface="services.myvalue.MyValueService"/>

         <binding.ws port="http://www.myvalue.org/MyValueService#

               wsdl.endpoint(MyValueService/MyValueServiceSOAP)"/>

   </service>

 

   <component name="MyValueServiceComponent">

         <implementation.java

               class="services.myvalue.MyValueServiceImpl"/>

         <property name="currency">EURO</property>

         <service name="myValueService"/>

         <reference name="customerService"/>

         <reference name="stockQuoteService"/>

   </component>

 

   <wire source="MyValueServiceComponent/stockQuoteService"

         target="StockQuoteMediatorComponent"/>

 

   <component name="StockQuoteMediatorComponent">

         <implementation.java class="services.myvalue.SQMediatorImpl"/>

         <property name="currency">EURO</property>

         <reference name="stockQuoteService"/>

   </component>

 

   <reference name="CustomerService"

         promote="MyValueServiceComponent/customerService">

         <interface.java interface="services.customer.CustomerService"/>

         <binding.sca/>

   </reference>

 

   <reference name="StockQuoteService" 

         promote="StockQuoteMediatorComponent">

         <interface.java

               interface="services.stockquote.StockQuoteService"/>

         <binding.ws port="http://www.stockquote.org/StockQuoteService#

               wsdl.endpoint(StockQuoteService/StockQuoteServiceSOAP)"/>

   </reference>

 

</composite>