O'Reilly logo

WS-BPEL 2.0 Beginner's Guide by Denis Weerasiri, Matjaz B. Juric

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – adding the <while> loop

Let us start with the <while> loop:

  1. Before adding the <while> loop, construct the BPEL flow. We will add two variables: NoOrders and i, both of the type xsd:int. We can add variables using the big green plus sign in the lower left window:
    Time for action – adding the <while> loop

    Alternatively, we can write source code directly:

    Time for action – adding the <while> loop
  2. Then we will need to know how many items we have in our list of book orders. We will use the XPath count() function to achieve this. Alternatively, we could use an Oracle extension function ora:countNodes(), but this would make ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required