私は Jdev 11g、BPEL 2.0 を使用しています。サービスは 1 人の顧客のすべての ID を取得します。出力 XML は次のとおりです。すべての ID を特定の数値セット、つまり 10、15、20、30 といずれかの顧客 ID にこれらの番号が含まれている場合に例外をスローするという条件。何か案は?Transform アクティビティで文字列関数を使用しようとしましたが、無駄でした。If アクティビティ条件は、最初の値 (10A) と数値リストのみを比較します。どんな入力でも素晴らしいでしょう。
<env:Header>
</env:Header>
<env:Body>
<processResponse
<ns4:Result>
<ns5:CustId
<ns3:CustRecrdList
<ns3:CustRecrd>
<ns3:CustRecrdID>10A</ns3:CustRecrdID>
</ns3:CustRecrd>
<ns3:CustRecrd>
<ns3:CustRecrdID>32D</ns3:CustRecrdID>
</ns3:CustRecrd>
<ns3:CustRecrd>
<ns3:CustRecrdID>55M</ns3:CustRecrdID>
</ns3:CustRecrd>
<ns3:CustRecrd>
<ns3:CustRecrdID>15C</ns3:CustRecrdID>
</ns3:CustRecrd>
<ns3:CustRecrd>
<ns3:CustRecrdID>10B</ns3:CustRecrdID>
</ns3:CustRecrd>
<ns3:CustRecrd>
<ns3:CustRecrdID>23F</ns3:CustRecrdID>
</ns3:CustRecrd>
<ns3:CustRecrd>
<ns3:CustRecrdID>20D</ns3:CustRecrdID>
</ns3:CustRecrd>
</ns3:CustRecrdList>
</ns5:CustId>
</ns4:Result>
</processResponse>
</env:Body>
</env:Envelope>