A BPEL invoking a HT with SCA binding. It means it is called asynchronously. A while loop is iterated by the user array inside the BPEL. Inside the loop HT is invoked. Potential user for the HT is dynamically assign through the loop.
Let’s say the loop is iterated 3 times, so the notification goes to three people. The problem with the sample is, the HT is called synchronously but it should call asynchronously. It should create three tasks simultaneously, but the tasks create after complete the previous one.
Pinned topic Could not invoke HT asynchronously from BPEL
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2009-01-04T03:00:38Z at 2009-01-04T03:00:38Z by zhangyu
zhangyu 120000F1X36 Posts
Re: Could not invoke HT asynchronously from BPEL2009-01-04T03:00:38ZThis is the accepted answer. This is the accepted answer.in your scenario, you DO invoke HTM asynchronously, but the HTM operation is 2-way,the async request message is sent to HTM and then bpel will waiting for the asyn
response message before executing next activity.. so you always get a sequence execution...
there are three approaches to make those HTM creation in parallel.
1. change the HTM operation to be an one-way style.
2. use flow activity to make three invocations in parallel.
3. use for-each activity.