diff options
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment.composite (renamed from sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment.composite) | 9 | ||||
-rw-r--r-- | sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment/PaymentImpl.groovy (renamed from sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment/PaymentImpl.groovy) | 2 |
2 files changed, 5 insertions, 6 deletions
diff --git a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment.composite b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment.composite index c9b6ac6ca6..3f8e741430 100644 --- a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment.composite +++ b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment.composite @@ -18,22 +18,21 @@ * under the License. --> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0" - targetNamespace="http://scatours" + targetNamespace="http://tuscanyscatours.com/" xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0" - xmlns:c="http://scatours" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="payment"> <component name="PaymentComponent"> <t:implementation.script script="payment/PaymentImpl.groovy"/> <service name="Payment"> - <interface.java interface="payment.Payment" /> + <interface.java interface="com.tuscanyscatours.payment.Payment" /> <binding.ws uri="http://localhost:8081/Payment"/> </service> <reference name="emailGateway"> - <interface.java interface="scatours.emailgateway.EmailGateway" /> + <interface.java interface="com.tuscanyscatours.emailgateway.EmailGateway" /> <binding.ws uri="http://localhost:8088/EmailGateway"/> </reference> <property name="transactionFee" type="xsd:float">0.02</property> </component> -</composite>
\ No newline at end of file +</composite> diff --git a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment/PaymentImpl.groovy b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment/PaymentImpl.groovy index f061e5145d..854fbd2f4a 100644 --- a/sandbox/travelsample/contributions/payment-groovy-contribution/src/main/resources/payment/PaymentImpl.groovy +++ b/sandbox/travelsample/contributions/payment-groovy/src/main/resources/payment/PaymentImpl.groovy @@ -21,7 +21,7 @@ def makePaymentMember(customerId, amount) { def finalAmount = amount + transactionFee;
- scatours.emailgateway.EmailType email = new scatours.emailgateway.EmailType();
+ com.tuscanyscatours.emailgateway.EmailType email = new com.tuscanyscatours.emailgateway.EmailType();
email.setTo(customerId);
email.setTitle("Payment " + finalAmount + " Received");
|