From eb86a871567d9a370eb63ae1f4689e389ee99584 Mon Sep 17 00:00:00 2001 From: slaws Date: Mon, 8 Dec 2008 14:22:21 +0000 Subject: The BPEL payment process now successfully calls the payment service git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@724355 13f79535-47bb-0310-9956-ffa450edef68 --- .../scatours/paymentprocess/CreditCardPayment.wsdl | 11 +++-- .../src/scatours/paymentprocess/EmailGateway.wsdl | 4 +- .../scatours/paymentprocess/paymentprocess.bpel | 54 +++++++++++----------- .../paymentprocess/paymentprocess.componentType | 4 +- 4 files changed, 37 insertions(+), 36 deletions(-) (limited to 'sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess') diff --git a/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/CreditCardPayment.wsdl b/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/CreditCardPayment.wsdl index 272d6aaf44..4854e7819d 100644 --- a/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/CreditCardPayment.wsdl +++ b/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/CreditCardPayment.wsdl @@ -28,9 +28,10 @@ + xmlns:tns="http://www.example.org/CreditCardPayment/" + elementFormDefault="unqualified"> - + @@ -38,7 +39,7 @@ - + @@ -81,10 +82,10 @@ - + - + diff --git a/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/EmailGateway.wsdl b/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/EmailGateway.wsdl index d9a5e36bc0..98956e32fd 100644 --- a/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/EmailGateway.wsdl +++ b/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/EmailGateway.wsdl @@ -83,7 +83,7 @@ - + \ No newline at end of file diff --git a/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/paymentprocess.bpel b/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/paymentprocess.bpel index f1faf982aa..c23780b052 100644 --- a/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/paymentprocess.bpel +++ b/sandbox/travelsample/paymentprocess-contribution/src/scatours/paymentprocess/paymentprocess.bpel @@ -22,6 +22,7 @@ xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" xmlns:tns="http://tuscany.apache.org/PaymentProcess" xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:pp="http://www.example.org/PaymentProcess/" xmlns:ccp="http://www.example.org/CreditCardPayment/" xmlns:eg="http://www.example.org/EmailGateway/" @@ -36,14 +37,14 @@ importType="http://schemas.xmlsoap.org/wsdl/" namespace="http://www.example.org/CreditCardPayment/"/> - + namespace="http://www.example.org/EmailGateway/"/--> - + @@ -53,8 +54,8 @@ - - + @@ -70,40 +71,39 @@ - - - Visa - 12345678 - 2 - 2010 - - Empty - - 1 The Road - Winchester - Hampshire - AB1 2CD - 12345678 - - - - 0.0 - + + + Visa + 12345678 + 2 + 2010 + + Empty +
+ 1 The Road + Winchester + Hampshire + AB1 2CD + 12345678 +
+
+
+ 0.0 +
$authorizeRequestMessage.parameters
$makePaymentRequestMessage.parameters/CustomerId/text() - $authorizeRequestMessage.parameters/ccp:CreditCard/ccp:CardOwner/ccp:Name + $authorizeRequestMessage.parameters/CreditCard/CardOwner/Name $makePaymentRequestMessage.parameters/Amount/text() - $authorizeRequestMessage.parameters/ccp:Amount + $authorizeRequestMessage.parameters/Amount - - + \ No newline at end of file -- cgit v1.2.3