Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying WS-BPEL 2.0 Beginner's Guide
  • Table Of Contents Toc
WS-BPEL 2.0 Beginner's Guide

WS-BPEL 2.0 Beginner's Guide

By : Matjaz B Juric
4.8 (5)
close
close
WS-BPEL 2.0 Beginner's Guide

WS-BPEL 2.0 Beginner's Guide

4.8 (5)
By: Matjaz B Juric

Overview of this book

If you are a software architect, a designer, a software developer, an SOA and BPM architect, a project manager, or a business process analyst who is responsible for the design and development of business processes, composite applications, and BPM/SOA solutions, then this book is for you. You should have a clear grasp of general SOA concepts including business processes and web services, but no prior knowledge of the BPEL language is required.
Table of Contents (14 chapters)
close
close
13
Index

Time for action – testing the BPEL process

To test our BPEL process, let's perform the following steps:

  1. Switch to the Web browser and navigate to http://localhost:7101/em/.
  2. Log in with the weblogic username and welcome1 password (or a different password, which you have specified by the creation of the domain).
  3. At the bottom of the screen, you will see the Bookstore application. If you cannot see it, use the scroll bar to find it.
  4. After clicking on it, a new screen will be displayed.
  5. To test the BPEL process, click on the Test button.
  6. We will see a quite complex screen. In the lower part of the screen, we will see the payload with the four parameters, which we defined as input parameters for the BPEL process: BookISSN, Title, Edition, and PublishingYear.
  7. Fill the book ISSN, title, edition, and publishing year. Please note that the publishing year is a date type; therefore, it requires 2014-09-01 syntax, as shown in the following screenshot:
    Time for action – testing the BPEL process
  8. Alternatively, we can switch from Tree View to XML View to get a better understanding that we will send the XML that we defined previously in the XML Schema section. The complete SOAP message is shown in the following screenshot:
    Time for action – testing the BPEL process
  9. Click on the Test Web Service button in the upper-right corner of the screen to invoke our BPEL process.

What just happened?

We invoked our BPEL process. Once the process executes, the view switches to the Response tab where the response of the BPEL process is displayed. If the invocation has been successful, we will see the quantity of 5. Indeed, we can see that the process will return the quantity 5 for a selected book. Again, we can switch between Tree View and XML View:

What just happened?

To see the XML representation, the SOAP response message directly, we can switch to XML View and we will see the following screenshot:

What just happened?

With this, we have successfully tested our first BPEL process. It was an oversimplified BPEL process, which took four parameters as an input (book ISSN, title, edition, and publishing year) and returned the quantity of the book together with the ISSN. Moreover, we hardcoded the quantity to 5 units for simplicity purposes.

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
WS-BPEL 2.0 Beginner's Guide
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon