diff options
Diffstat (limited to '')
2 files changed, 25 insertions, 8 deletions
diff --git a/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/META-INF/sca-contribution.xml b/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/META-INF/sca-contribution.xml index 9eed690aaf..848e0bea5b 100644 --- a/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/META-INF/sca-contribution.xml +++ b/sandbox/travelsample/contributions/interaction-client-contribution/src/main/resources/META-INF/sca-contribution.xml @@ -19,7 +19,8 @@ --> <contribution xmlns="http://www.osoa.org/xmlns/sca/1.0" xmlns:client="http://client.scatours/"> - <import.java package="scatours.common"/> <import.java package="calendar"/> + <import.java package="scatours.common"/> + <import.java package="scatours.currencyconverter"/> <deployable composite="client:Client" /> </contribution> 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 1b76fbaefb..c2ff2c9a89 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,17 +21,33 @@ targetNamespace="http://client.scatours/" name="Client"> - <component name="TestClient"> - <implementation.java class="scatours.client.TestClient" /> - <reference name="hotelSearchRemoteRequestResponse"> - <binding.ws uri="http://localhost:8081/HotelComponent/Search"/> - </reference> - <reference name="calendarLocalRequestResponse" + <!-- Local interaction --> + <component name="InteractionLocalClient"> + <implementation.java class="scatours.client.InteractionLocalClient" /> + <reference name="calendarLocal" target="CalendarComponent"/> </component> <component name="CalendarComponent"> <implementation.java class="calendar.CalendarImpl"/> - </component> + </component> + + <!-- Remote interaction --> + <component name="InteractionRemoteClient"> + <implementation.java class="scatours.client.InteractionRemoteClient" /> + <reference name="hotelSearchRemote"> + <binding.ws uri="http://localhost:8081/HotelComponent/Search"/> + </reference> + </component> + + <!-- Request response interaction --> + <component name="InteractionRequestResponseClient"> + <implementation.java class="scatours.client.InteractionRequestResponseClient" /> + <reference name="currencyConverterRequestResponse" target="CurrencyConverterComponent"/> + </component> + + <component name="CurrencyConverterComponent"> + <implementation.java class="scatours.currencyconverter.CurrencyConverterImpl"/> + </component> </composite> |