diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-05 11:49:06 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-01-05 11:49:06 +0000 |
commit | 6ecc521d85871c1bc0d37927717434edcaccf234 (patch) | |
tree | 71cb219791ac9c910ef8adcb7d2b7ace7d56890d /sandbox/travelsample/ui-contribution/scatours.composite | |
parent | 09145b638ddca5e5aab648290314163666e3dcc3 (diff) |
Add in shopping cart and extend scenario to talk to payment process. Now needs a revamp to simplify and to allow preconfigured trips to be added to the cart.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@731534 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample/ui-contribution/scatours.composite')
-rw-r--r-- | sandbox/travelsample/ui-contribution/scatours.composite | 45 |
1 files changed, 32 insertions, 13 deletions
diff --git a/sandbox/travelsample/ui-contribution/scatours.composite b/sandbox/travelsample/ui-contribution/scatours.composite index 84864d4ba6..5dc1cb8453 100644 --- a/sandbox/travelsample/ui-contribution/scatours.composite +++ b/sandbox/travelsample/ui-contribution/scatours.composite @@ -21,6 +21,7 @@ targetNamespace="http://scatours" xmlns:scatours="http://scatours" xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.0" + xmlns:pp="http://www.example.org/PaymentProcess" name="scatours"> <component name="UserInterfaceComponent"> @@ -46,7 +47,10 @@ </service> <reference name="travelCatalogSearch" target="TravelCatalogComponent/TravelCatalogSearch"/> <reference name="tripBooking" target="TripBookingComponent/TripBooking"/> - <!--reference name="shoppingCart" target="ShoppingCartComponent/shoppingCart"/--> + <reference name="shoppingCart" target="ShoppingCartComponent/ShoppingCart"/> + <reference name="paymentProcess"> + <binding.ws uri="http://localhost:8083/PaymentProcess" /> + </reference> </component> <component name="TravelCatalogComponent"> @@ -111,23 +115,38 @@ </service> </component> - <!-- component name="ShoppingCartComponent"> + <component name="ShoppingCartComponent"> <implementation.java class="scatours.shoppingcart.ShoppingCartImpl"/> - <service name="CurrencyConverter"> + <service name="ShoppingCart"> </service> - </component> + </component> - <component name="PaymentComponent"> - <implementation.java class="scatours.payment.PaymentImpl"/> - <service name="CurrencyConverter"> + <!--component name="PaymentProcessComponent"> + <implementation.bpel process="pp:PaymentProcess"/> + <service name="paymentProcessPartnerLink"> + <interface.wsdl interface="http://www.example.org/PaymentProcess/#wsdl.interface(PaymentProcess)" /> + <binding.ws uri="http://localhost:8080/PaymentProcess" wsdlElement="http://www.example.org/PaymentProcess/#wsdl.service(PaymentProcessService)"/> </service> - </component--> + <reference name="creditCardPaymentPartnerLink"> + <binding.ws uri="http://localhost:8081/CreditCardPayment"/> + </reference> + <reference name="emailGatewayPartnerLink"> + <binding.ws uri="http://localhost:8082/EmailGateway"/> + </reference> + </component> + + <component name="CreditCardPaymentWS"> + <implementation.java class="payment.creditcard.ws.impl.CreditCardPaymentWSImpl" /> + <service name="CreditCardPayment"> + <binding.ws uri="http://localhost:8081/CreditCardPayment" /> + </service> + </component> - <component name="CreditCardGateway"> - <implementation.java class="creditcard.CreditCardGatewayImpl" /> - <service name="CreditCardGateway"> - <binding.ws uri="http://localhost:8080/CreditCardGateway" /> + <component name="EmailGateway"> + <implementation.java class="scatours.emailgateway.EmailGatewayImpl" /> + <service name="EmailGateway"> + <binding.ws uri="http://localhost:8082/EmailGateway" /> </service> - </component> + </component--> </composite> |