Generate BPEL - Part 5. Generate BPEL for Apache ODE & Using soapUI

Business Process Model Notation (BPMN) is defacto standard of designing business process. Business Process Execution Language (BPEL) is popular language for workflow engine to execute workflow. This tutorial teaches how to generate BPEL from BPMN's business process diagram and WSDL diagram.

September 16, 2009
User Rating: / 0
Views: 1,343
PDF Link Add comments

< Part 4. Create Shipping Service Business Process Diagram
  1. Download apache tomcat 6.x at the following URL
    http://tomcat.apache.org/download-60.cgi
  2. Unpack the tomcat.
  3. Specify JAVA_HOME in catalina.bat (in case you don't have JAVA_HOME environment variable specified).
    java home
  4. Download the ODE package at the following URL
    http://ode.apache.org/getting-ode.html
  5. Unpack ODE package, and copy the ode.war into %tomcat%/webapps folder.
    deploy ode
  6. Startup tomcat by execute command catalina start in command prompt. You should see the ode folder created under webapps once its being deployed.
  7. Go to CustomerService business process diagram.
  8. Right click on blank are of the diagram, select Utilities > Generate BPEL.
    gen bpel
  9. Specify the output location for the BPEL (i.e. c:\BPEL\CustomerService). A message BPEL Generated Successfully indicate the BPEL for CustomerService has been generated.
    bpel location
  10. Copy the generated BPEL (entire CustomerService folder) to %tomcat%/webapps/ode/WEB-INF/processes folder.
  11. Open the URL http://localhost:8080/ode/processes.html, and you can see the CustomerService process is running.
    running customer service process
  12. Generate BPEL for ShippingService business process diagram.
  13. Once the BPEL for ShippingService has been generated, copy the CustomerService.wsdl from the CustomerService BPEL to ShippingService folder.
    copy wsdl
  14. Copy the ShippingService folder to the %tomcat%/webapps/ode/WEB-INF/process folder.
  15. Refresh the URL in browser, now you will see the ShippingService process is also up and running.
    running shipping service process
  16. Download the soapUI package at following URL:
    http://sourceforge.net/projects/soapui/files/soapui/3.0.1
  17. Unpack the soapUI package and go to the bin folder.
  18. Specify JAVA_HOME in soapui.bat in case you don't have this environment variable in your system (need to use JRE 1.6).
    java home for soapui
  19. Execute soapui.bat, and create a new soapUI project.
    new soapui project
  20. Specify the URL http://localhost:8080/ode/processes/ShippingService?wsdl in the initial WSDL/WADL field. Press OK.
    specify url
  21. Open the Request1 under ShippingServicesSOAP12Binding > ship, then specify the OrderID as 10, and ProductID as 20.
    specify data
  22. Press the Submit button at the top left hand corner of Request1.
    submit
  23. Go back to the browser and switch to Instance tab, now you can see new instance of the ShippingService is running.
    new instance

< Part 4. Create Shipping Service Business Process Diagram

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Writing Effective Use Case
  2. Draw Entity Relationship Diagram (ERD)
    Tagged:
  3. UML Package Diagram
    Tagged:
  4. Produce UML Use Cases from Business Process Diagram (BPD)
  5. Oracle database design with Entity Relationship Diagram
Tags of this article:

Comments (0)

Write comment

Rating

Comment

Enter the calculation result

security code