Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

developerWorks Community:

  • Close [x]

Build and deploy a business process model using WebSphere Business Process Modeler Advanced and Lotus Forms, Part 2: Implement and test the BPEL process using WebSphere Integration Developer

Attila Kiss (attila_kiss_bme@yahoo.com), Student, Budapest University of Technology and Economics
Attila Kiss
Attila Kiss attends Budapest University of Technology and Economics and will graduate as a Computer Science Engineer in 2008. He specializes in IT infrastructure management. He has been working with WebSphere products with special focus on business modeling.
Viktor Muller (viktormuller@gmail.com), Student, Budapest University of Technology and Economics
Viktor Muller Photo
Viktor Müller attends Budapest University of Technology and Economics and graduates as a Computer Science Engineer in 2009. He specializes in information system development. He has worked with WebSphere products with a special focus on BPEL development.

Summary:  Learn how to use IBM® WebSphere® Integration Developer to implement and customize a Business Process Execution Language (BPEL) process and then test it in WebSphere Process Server. Part 2 of this tutorial series shows you the steps for generating the Web interface, assembling the components, and testing the solution.

View more content in this series

Date:  15 Apr 2009
Level:  Intermediate PDF:  A4 and Letter (3098 KB | 55 pages)Get Adobe® Reader®

Activity:  13364 views
Comments:  

Deploy and try the solution

In this section you deploy the solution to the WebSphere Process Server and use the generated client to start the process of hiring a new employee.

Deploy

First you will deploy all three enterprise applications to the server. HRProjectApp is the container for the process and the invocation human task. HRProject_implApp is  the container for the implementation of the services used by the process. Finally the HRProjectWebClientEAR is the enterprise application that implements the generated user interface.

  1. Right-click WebSphere Process Server in the Servers view.
  2. Select Add and Remove Projects...
  3. Click Add All >>.

    Figure 80. Adding the project to the server
    Adding                                 the project to the server

  4. Click Finish.

Try the solution

In this section you test a sample scenario in which a new employee application arrives offline. A clerk records the data and starts a new hiring process. The applicant completes three rounds successfully and finally he gets hired.

  1. Start your favorite browser.
  2. Open http://localhost:9080/HRProjectWebClient.
  3. Click Business Case > New.

    Figure 81. Accessing the Web client
    Accessing the Web client

  4. Click RecordingApplicantData to create a new invocation human task instance.

    Figure 82. Creating a new business case
    Creating a new business case

  5. Complete the form. The yellow fields are required.

    Figure 83. Completing the form for applicant data
    Completing the form for applicant data

  6. Click Create.

    At this point the invocation human task completed and a new process instance is started with the appropriate data. Next you execute the MakeAnInterviewAppointment human task.

  7. Click My ToDo’s > Open.
  8. Click the name of the task.

    Figure 84. Executing the MakeAnInterviewAppointment task
    Executing the MakeAnInterviewAppointment task

    The fields you removed in part 1 (date of birth, place of birth, mother’s name) are not present.

  9. Click Claim.
  10. Fill in the Output Data form. The Time field must conform to the following pattern: MM-dd-yyyy HH:mm:ss aa

    Figure 85. Filling in the Output Data form
    Filling                                 in the Output Data form

    The form generator in Business Modeler was unable to generate an appropriate form component because Time is of type DateTime.

  11. Click Complete.
  12. Refresh the My ToDo’s > Open view by clicking Refresh.
  13. Click the name of the task.

    Figure 86. Claiming the task
    Claiming the task

  14. Click Claim.
  15. Click the checkbox next to Passed to allow the applicant to enter the next round.
  16. Try out the comment field and enter some text in the field.

    Figure 87. Adding a comment
    Adding                                 a commen

  17. Click Complete.
  18. Repeat steps 7-17 twice to complete the two remaining interview rounds.
  19. Look at the log and verify that the RegisteringTheNewEmployeeToBackEnd service prints the application details.

    Figure 88. Excerpt from the process log
    Excerpt                                 from the process log

10 of 14 | Previous | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Business process management, WebSphere
ArticleID=432422
TutorialTitle=Build and deploy a business process model using WebSphere Business Process Modeler Advanced and Lotus Forms, Part 2: Implement and test the BPEL process using WebSphere Integration Developer
publish-date=04152009
author1-email=attila_kiss_bme@yahoo.com
author1-email-cc=crothemi@us.ibm.com
author2-email=viktormuller@gmail.com
author2-email-cc=crothemi@us.ibm.com