Time for action – initializing the input variable within a <forEach> activity
Carry out the following steps:
Create an
<assign>
activity within the<forEach>
activity:Map the string values to initialize the input variable of the
<invoke>
activity:
What just happened?
In the preceding section, we focused on preparing the input variable of the <invoke>
activity. We first initialized the input variable named Invoke_search_web_service_search_InputVariable
and assigned the keyword value from the client of the BPEL process. In the next section, we explain how to invoke different service endpoints using the same <invoke>
activity.