Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

...

  1. Open WSO2 Integration Studio.
  2. In the Project Explorer of WSO2 Integration Studio, double click on the BankLoanProcessArtifacts.wsdl file to get the Design view. 
  3. Click  BankLoanProcessRequest in the BankLoanProcess box 
     
  4. In the General section of the  Properties  tab, click the  Element  drop down field and click  Browse .

     

  5. 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.

     

  6. Click  BankLoanProcessResponse in the BankLoanProcess box

  7. In the General section of the  Properties  tab, click the  Element  drop down field and click  Browse .

  8. 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.

  9. Right click on the small connecting box of the diagram, click  Generate Binding Content

    Image Modified 

  10. Select SOAP in the  Protocol  field and click Finish. 

    Image Modified 

  11. Press Ctrl+S to save your artifacts.

...