diff options
author | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-08 15:02:03 +0000 |
---|---|---|
committer | slaws <slaws@13f79535-47bb-0310-9956-ffa450edef68> | 2009-02-08 15:02:03 +0000 |
commit | 0e4846e9b7eed9d2acf12a5924105ede04fe839b (patch) | |
tree | 65cbd750bb77a74f9952e08a28dd9f69b1182942 /sandbox/travelsample/chapter-06/payment-bpel-contribution/src/payment.bpel | |
parent | a1475c1fb472b2a953f776a6419b5725311832d7 (diff) |
Sort out payment component using implementation.bpel
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@742117 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | sandbox/travelsample/chapter-06/payment-bpel-contribution/src/payment.bpel (renamed from sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/paymentprocess.bpel) | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/paymentprocess.bpel b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/payment.bpel index 08c6b8f636..25c10d43a7 100644 --- a/sandbox/travelsample/chapter-06/paymentprocess-contribution/resources/paymentprocess.bpel +++ b/sandbox/travelsample/chapter-06/payment-bpel-contribution/src/payment.bpel @@ -16,22 +16,22 @@ ~ specific language governing permissions and limitations ~ under the License. --> -<process name="PaymentProcess" - targetNamespace="http://www.example.org/PaymentProcess" +<process name="Payment" + targetNamespace="http://www.example.org/Payment" xmlns="http://schemas.xmlsoap.org/ws/2004/03/business-process/"
xmlns:bpws="http://schemas.xmlsoap.org/ws/2004/03/business-process/" - xmlns:tns="http://tuscany.apache.org/PaymentProcess" + xmlns:tns="http://tuscany.apache.org/Payment" 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:pp="http://www.example.org/Payment/" xmlns:ccp="http://www.example.org/CreditCardPayment/" xmlns:eg="http://www.example.org/EmailGateway/" queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"> - <import location="PaymentProcess.wsdl" + <import location="Payment.wsdl" importType="http://schemas.xmlsoap.org/wsdl/" - namespace="http://www.example.org/PaymentProcess/"/> + namespace="http://www.example.org/Payment/"/> <import location="CreditCardPayment.wsdl" importType="http://schemas.xmlsoap.org/wsdl/" @@ -42,7 +42,7 @@ namespace="http://www.example.org/EmailGateway/"/> <partnerLinks> - <partnerLink name="paymentProcessPartnerLink" partnerLinkType="pp:PaymentProcessLinkType" myRole="forward" /> + <partnerLink name="paymentPartnerLink" partnerLinkType="pp:PaymentLinkType" myRole="forward" /> <partnerLink name="creditCardPaymentPartnerLink" partnerLinkType="ccp:CreditCardPaymentLinkType" partnerRole="forward" initializePartnerRole="yes" /> <partnerLink name="emailGatewayPartnerLink" partnerLinkType="eg:EmailGatewayLinkType" partnerRole="forward" initializePartnerRole="yes" /> </partnerLinks> @@ -58,8 +58,8 @@ <sequence> <receive name="start" - partnerLink="paymentProcessPartnerLink" - portType="pp:PaymentProcess" + partnerLink="paymentPartnerLink" + portType="pp:Payment" operation="makePayment" variable="makePaymentRequestMessage" createInstance="yes"/> @@ -144,7 +144,7 @@ <copy> <from> <literal> - <makePaymentResponse xmlns="http://www.example.org/PaymentProcess/"> + <makePaymentResponse xmlns="http://www.example.org/Payment"> <Status xmlns="">OK</Status> </makePaymentResponse> </literal> @@ -155,8 +155,8 @@ <reply name="end" - partnerLink="paymentProcessPartnerLink" - portType="pp:PaymentProcess" + partnerLink="paymentPartnerLink" + portType="pp:Payment" operation="makePayment" variable="makePaymentResponseMessage"> </reply> |