How Does the BPEL Process Work
The following actions take place:
-
The Assign_CreditCardCheckInput assign activity packages the data from the client. The assign activity provides a method for copying the contents of one variable to another. In this case, it takes the credit card type, credit card number, and purchase amount and assigns them to the input variable for the CreditCardAuthorizationService service.
-
The InvokeCheckCreditCard invoke activity calls the CreditCardAuthorizationService service. Figure 7-2 shows the CreditCardAuthorizationService web service, which is defined as a partner link.
Figure 7-2 CreditCardAuthorizationService Partner Link
Description of "Figure 7-2 CreditCardAuthorizationService Partner Link"Figure 7-3 shows the InvokeCheckCreditCard invoke activity.
Figure 7-3 InvokeCheckCreditCard Invoke Activity
Description of "Figure 7-3 InvokeCheckCreditCard Invoke Activity" -
An if activity (for BPEL 2.0) or a switch activity (for BPEL 1.1) checks the results of the credit card validation. For information about if and switch activities, see Defining Conditional Branching with the If or Switch Activity.
Note:
The BPEL 2.0 if activity replaces the BPEL 1.1 switch activity.