I stumbled upon this question asking about how split works, and maybe this answer comes a little (one year) late, but here I go ...
The problem is that βsplitβ is not one of the steps, but you called (and referenced) it as it is:
<batch:job id="webServiceJob2">
<batch:step id="step1" next="step2"></batch:step>
<batch:split id="step2" next="step3"></batch:split>
<batch:step id="step3"></batch:step>
</batch:job>
The correct syntax is:
<batch:job id="webServiceJob2">
<batch:step id="step1" next="step2"></batch:step>
<batch:split id="split_step2" next="step3">
<flow>
<step id="step2_A_1" ... next="step2_A_2"/>
<step id="step2_A_2" ... />
</flow>
<flow>
<step id="step2_B_1" ... />
</flow>
</batch:split>
<batch:step id="step3"></batch:step>
</batch:job>
But this is not what you want to achieve, because in the declarations split
you must set the exact number of parallel steps that will be performed during compilation, and the purpose of the separation is to use different steps in each thread, invoking the same thing several times.
, .