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-service-remote-contribution/src/main/resources | |
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 '')
2 files changed, 20 insertions, 2 deletions
diff --git a/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/META-INF/sca-contribution.xml b/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/META-INF/sca-contribution.xml index 26a786065e..716264650c 100644 --- a/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/META-INF/sca-contribution.xml +++ b/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/META-INF/sca-contribution.xml @@ -21,5 +21,6 @@ xmlns:client="http://client.scatours/"> <import.java package="scatours.common"/> <import.java package="scatours.hotel"/> + <import.java package="scatours.flight"/> <deployable composite="client:Client" /> </contribution> diff --git a/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/client.composite b/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/client.composite index 36ce4392a9..4c693864bb 100644 --- a/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/client.composite +++ b/sandbox/travelsample/contributions/interaction-service-remote-contribution/src/main/resources/client.composite @@ -21,11 +21,28 @@ targetNamespace="http://service.scatours/" name="Service"> - <component name="HotelComponent"> + <component name="Hotel"> <implementation.java class="scatours.hotel.HotelImpl"/> <service name="Search"> - <binding.ws uri="http://localhost:8081/HotelComponent/Search"/> + <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> </service> </component> + + <component name="Flight"> + <implementation.java class="scatours.flight.FlightImpl"/> + <service name="Search"> + <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> + </service> + </component> </composite> |