OnEventブランチ作成時の処理内容
次の例に、設計完了後の.bpel
ファイル内のonEventブランチの概要を示します。onEventブランチは、クレジット要求のステータスの問合せ、要求内容の変更または処理中の要求の完全な取消しを行います。
<process name="creditRequestProcess" . . .> . . . <eventHandlers> <onEvent partnerLink="requestCreditScore" operation="queryCreditRequestStatus" ...> <scope name="scopeStatus">...</scope> </onEvent> <onEvent partnerLink="requestCreditScore" operation="modifyCreditRequest" ...> <scope name="scopeRequest">...</scope> </onEvent> <onEvent partnerLink="requestCreditScore" operation="cancelCreditRequest" ...> <scope name="scopeCancel">...</scope> </onEvent> </eventHandlers> . . . </process>