summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample/contributions/payment-java-contribution/src/main/resources/payment.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/travelsample/contributions/payment-java-contribution/src/main/resources/payment.composite')
-rw-r--r--sandbox/travelsample/contributions/payment-java-contribution/src/main/resources/payment.composite15
1 files changed, 8 insertions, 7 deletions
diff --git a/sandbox/travelsample/contributions/payment-java-contribution/src/main/resources/payment.composite b/sandbox/travelsample/contributions/payment-java-contribution/src/main/resources/payment.composite
index a3eb5c79cd..53fcefc241 100644
--- a/sandbox/travelsample/contributions/payment-java-contribution/src/main/resources/payment.composite
+++ b/sandbox/travelsample/contributions/payment-java-contribution/src/main/resources/payment.composite
@@ -25,22 +25,23 @@
<component name="PaymentComponent">
<implementation.java class="payment.PaymentImpl" />
+ <service name="Payment">
+ <binding.ws uri="http://localhost:8081/Payment"/>
+ </service>
<reference name="customerRegistry" target="CustomerRegistryComponent"/>
- <reference name="creditCardPayment" target="CreditCardPaymentComponent"/>
+ <reference name="creditCardPayment">
+ <binding.ws uri="http://localhost:8082/CreditCardPayment"/>
+ </reference>
<reference name="emailGateway" target="EmailGatewayComponent"/>
<property name="transactionFeeRate">0.02</property>
</component>
-
+
<component name="CustomerRegistryComponent">
<implementation.java class="scatours.customer.CustomerRegistryImpl" />
</component>
-
+
<component name="EmailGatewayComponent">
<implementation.java class="scatours.emailgateway.EmailGatewayImpl" />
</component>
- <component name="CreditCardPaymentComponent">
- <implementation.java class="payment.creditcard.CreditCardPaymentImpl" />
- </component>
-
</composite> \ No newline at end of file