diff options
Diffstat (limited to 'sandbox/travelsample/contributions/fullapp-frontend-contribution/src/main/resources/scatours.composite')
-rw-r--r-- | sandbox/travelsample/contributions/fullapp-frontend-contribution/src/main/resources/scatours.composite | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/sandbox/travelsample/contributions/fullapp-frontend-contribution/src/main/resources/scatours.composite b/sandbox/travelsample/contributions/fullapp-frontend-contribution/src/main/resources/scatours.composite index 3225f1ddf1..f3e445312a 100644 --- a/sandbox/travelsample/contributions/fullapp-frontend-contribution/src/main/resources/scatours.composite +++ b/sandbox/travelsample/contributions/fullapp-frontend-contribution/src/main/resources/scatours.composite @@ -23,41 +23,34 @@ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" name="frontend"> - <component name="SCAToursComponent"> - <implementation.java class="scatours.SCAToursImpl"/> - <service name="SCAToursSearch"> - <tuscany:binding.jsonrpc/> - </service> - <service name="SCAToursBooking"> - <tuscany:binding.jsonrpc/> - </service> - <service name="SCAToursCart"> - <tuscany:binding.jsonrpc/> - </service> - <reference name="travelCatalogSearch" target="TravelCatalogComponent/TravelCatalogSearch"/> - <reference name="tripBooking" target="TripBookingComponent/TripBooking"/> - <reference name="shoppingCart" target="ShoppingCartComponent/ShoppingCart"/> - </component> - <component name="TravelCatalogComponent"> <implementation.java class="scatours.travelcatalog.TravelCatalogImpl"/> <service name="TravelCatalogSearch"/> - <reference name="hotelSearch" target="HotelComponent/Search"> - <binding.sca/> + <reference name="hotelSearch"> + <binding.ws uri="http://localhost:8086/Hotel/Search"/> + <callback> + <binding.ws uri="http://localhost:8084/Hotel/SearchCallback"/> + </callback> </reference> <reference name="flightSearch"> <interface.java interface="scatours.common.Search" callbackInterface="scatours.common.SearchCallback"/> - <binding.ws uri="http://localhost:8080/Flight/Search"/> + <binding.ws uri="http://localhost:8086/Flight/Search"/> <callback> - <binding.ws uri="http://localhost:8080/Flight/SearchCallback"/> + <binding.ws uri="http://localhost:8084/Flight/SearchCallback"/> </callback> </reference> - <reference name="carSearch" target="CarComponent/Search"> - <binding.sca/> + <reference name="carSearch"> + <binding.ws uri="http://localhost:8086/Car/Search"/> + <callback> + <binding.ws uri="http://localhost:8084/Car/SearchCallback"/> + </callback> </reference> - <reference name="tripSearch" target="TripComponent/Search"> - <binding.sca/> + <reference name="tripSearch"> + <binding.ws uri="http://localhost:8085/Trip/Search"/> + <callback> + <binding.ws uri="http://localhost:8084/Trip/SearchCallback"/> + </callback> </reference> <reference name="currencyConverter" target="CurrencyConverterComponent"> </reference> |