A Synchronous Process is a process, which would wait until a response is received from an external party before proceeding to the next step. Following are the Synchronous Processes of this loan approval scenario.
- Getting client history data
- Calculating the credit rating
...
- Open WSO2 Integration Studio.
- In the Project Explorer of WSO2 Integration Studio, double click on the
BankLoanProcessArtifacts.wsdl
file to get the Design view. - Click BankLoanProcessRequest in the BankLoanProcess box .
In the General section of the Properties tab, click the Element drop down field and click Browse .
Select Enclosing Project to display the schema types including those that are listed in the
loan.xsd
file, select LoanRequest under Elements as the input of the BPEL process, and click OK.Click BankLoanProcessResponse in the BankLoanProcess box .
In the General section of the Properties tab, click the Element drop down field and click Browse .
Select Enclosing Project to display the schema types including those that are listed in the
loan.xsd
file, select LoanOffer under Elements as the output of the BPEL process, and click OK.You view the defined output as shown below.
Right click on the small connecting box of the diagram, click Generate Binding Content .
Select SOAP in the Protocol field and click Finish.
Press Ctrl+S to save your artifacts.
...