From afa7a3e9b1c9e5beb17d5ed585f31b79a84bcef0 Mon Sep 17 00:00:00 2001 From: nash Date: Thu, 25 Feb 2010 10:07:57 +0000 Subject: Refactor payment-bpel contribution by moving some files into a new contribution payment-bpel-process (TUSCANY-3461) git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916213 13f79535-47bb-0310-9956-ffa450edef68 --- .../contributions/payment-bpel-process/build.xml | 23 +++ .../contributions/payment-bpel-process/pom.xml | 35 +++++ .../src/main/resources/CreditCardPayment.wsdl | 117 +++++++++++++++ .../src/main/resources/EmailGateway.wsdl | 89 +++++++++++ .../main/resources/META-INF/sca-contribution.xml | 22 +++ .../src/main/resources/Payment.wsdl | 83 +++++++++++ .../src/main/resources/payment.bpel | 164 +++++++++++++++++++++ 7 files changed, 533 insertions(+) create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/build.xml create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/CreditCardPayment.wsdl create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/EmailGateway.wsdl create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/META-INF/sca-contribution.xml create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/Payment.wsdl create mode 100644 sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/payment.bpel (limited to 'sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process') diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/build.xml b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/build.xml new file mode 100644 index 0000000000..5e2921995c --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/build.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml new file mode 100644 index 0000000000..20e2520568 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/pom.xml @@ -0,0 +1,35 @@ + + + + 4.0.0 + + org.apache.tuscany.sca + scatours + 1.0-SNAPSHOT + ../../pom.xml + + 1.0-SNAPSHOT + scatours-contribution-payment-bpel-process + Apache Tuscany SCA Tours Payment BPEL Process Contribution + + + ${artifactId} + + diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/CreditCardPayment.wsdl b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/CreditCardPayment.wsdl new file mode 100644 index 0000000000..22ef6de317 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/CreditCardPayment.wsdl @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/EmailGateway.wsdl b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/EmailGateway.wsdl new file mode 100644 index 0000000000..a097d9b7e4 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/EmailGateway.wsdl @@ -0,0 +1,89 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/META-INF/sca-contribution.xml b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/META-INF/sca-contribution.xml new file mode 100644 index 0000000000..f32584eee1 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/META-INF/sca-contribution.xml @@ -0,0 +1,22 @@ + + + + + diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/Payment.wsdl b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/Payment.wsdl new file mode 100644 index 0000000000..e2c4062f2e --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/Payment.wsdl @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/payment.bpel b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/payment.bpel new file mode 100644 index 0000000000..8f11d76888 --- /dev/null +++ b/sca-java-1.x/trunk/tutorials/travelsample/contributions/payment-bpel-process/src/main/resources/payment.bpel @@ -0,0 +1,164 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Visa + 12345678 + 2 + 2010 + + Empty +
+ 1 The Road + Winchester + Hampshire + AB1 2CD + 12345678 +
+
+
+ 0.0 +
+
+
+ $authorizeRequestMessage.parameters +
+ + $makePaymentMemberRequestMessage.parameters/CustomerId/text() + $authorizeRequestMessage.parameters/CreditCard/CardOwner/Name + + + $makePaymentMemberRequestMessage.parameters/Amount/text() + $authorizeRequestMessage.parameters/Amount + +
+ + + + + + + + + + + Default + Payment Confirmation + Your payment has been confirmed + + + + + $sendEmailRequestMessage.parameters + + + $makePaymentMemberRequestMessage.parameters/CustomerId/text() + $sendEmailRequestMessage.parameters/Email/To + + + + + + + + + + + + + OK + + + + $makePaymentMemberResponseMessage.parameters + + + + + + +
+
-- cgit v1.2.3