summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite')
-rw-r--r--sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite57
1 files changed, 47 insertions, 10 deletions
diff --git a/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite b/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite
index c2ff2c9a89..f6483bb55f 100644
--- a/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite
+++ b/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite
@@ -21,7 +21,7 @@
targetNamespace="http://client.scatours/"
name="Client">
- <!-- Local interaction -->
+ <!-- Local interaction -->
<component name="InteractionLocalClient">
<implementation.java class="scatours.client.InteractionLocalClient" />
<reference name="calendarLocal"
@@ -32,22 +32,59 @@
<implementation.java class="calendar.CalendarImpl"/>
</component>
- <!-- Remote interaction -->
+ <!-- Remote interaction -->
<component name="InteractionRemoteClient">
<implementation.java class="scatours.client.InteractionRemoteClient" />
<reference name="hotelSearchRemote">
- <binding.ws uri="http://localhost:8081/HotelComponent/Search"/>
+ <binding.ws uri="http://localhost:8081/Hotel/Search"/>
</reference>
- </component>
+ </component>
- <!-- Request response interaction -->
- <component name="InteractionRequestResponseClient">
+ <!-- Request response interaction -->
+ <component name="InteractionRequestResponseClient">
<implementation.java class="scatours.client.InteractionRequestResponseClient" />
- <reference name="currencyConverterRequestResponse" target="CurrencyConverterComponent"/>
- </component>
+ <reference name="currencyConverterRequestResponse" target="CurrencyConverter"/>
+ </component>
- <component name="CurrencyConverterComponent">
+ <component name="CurrencyConverter">
<implementation.java class="scatours.currencyconverter.CurrencyConverterImpl"/>
- </component>
+ </component>
+
+ <!-- One way and callback interaction -->
+ <component name="InteractionOneWayCallbackClient">
+ <implementation.java class="scatours.client.InteractionOneWayCallbackClient" />
+ <reference name="hotelSearchOneWayCallback">
+ <interface.java interface="scatours.common.Search"
+ callbackInterface="scatours.common.SearchCallback"/>
+ <binding.ws uri="http://localhost:8081/Hotel/Search"/>
+ <callback>
+ <binding.ws uri="http://localhost:8080/Client/SearchCallback"/>
+ </callback>
+ </reference>
+ </component>
+
+ <!-- Conversational interaction -->
+ <component name="InteractionConversationClient">
+ <implementation.java class="scatours.client.InteractionConversationClient" />
+ <reference name="cartStoreConversation" target="CartStore"/>
+ </component>
+
+ <component name="CartStore">
+ <implementation.java class="scatours.shoppingcart.CartStoreImpl"/>
+ <service name="CartStore"/>
+ </component>
+
+ <!-- Stateful callback interaction -->
+ <component name="InteractionStatefulCallbackClient">
+ <implementation.java class="scatours.client.InteractionStatefulCallbackClient" />
+ <reference name="flightSearchStatefulCallback">
+ <interface.java interface="scatours.common.Search"
+ callbackInterface="scatours.common.SearchCallback"/>
+ <binding.ws uri="http://localhost:8081/Hotel/SearchConversational"/>
+ <callback>
+ <binding.ws uri="http://localhost:8080/Client/SearchCallbackConversational"/>
+ </callback>
+ </reference>
+ </component>
</composite>