diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-14 15:45:33 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-14 15:45:33 +0000 |
commit | 6222ba67f2fd06e34dde842a82e553d3280acaaa (patch) | |
tree | 5ebf9d891df80d8b5fb46ab62655543048a38b9b /sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite | |
parent | f7cdb52f0e6c981a78eb4c9c4787688023685b8f (diff) |
Extend the launcher for the interaction examples based on components from the travel sample
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@784575 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/client.composite | 57 |
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> |