Time for action – the <forEach> loop

Let us now implement the same scenario using the <forEach> loop:

  1. We don't want to overwrite the <while> loop example; therefore, we will add another BPEL process component to the composite diagram. We will call it BookOrderForEachBPEL:
    Time for action – the <forEach> loop
  2. We will also wire it with BookWarehousingBPEL:
    Time for action – the <forEach> loop
  3. We will use exactly the same schema as in the previous example. To implement the BPEL process, we will first add the <forEach> activity to the process flow by dragging-and-dropping For Each from the Components palette (you will find it ...

Get WS-BPEL 2.0 Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.