16 Temmuz 2009 Perşembe

OpenESB, bpel foreach

Mapper interface is a bit complicated to use until getting used to it, at least it is for me..
While using a foreach construct, just stopped and couldn't know what to do.. This post helped to some extent: http://markmail.org/message/4s3avjssz5rojddj#query:openesb%20foreach+page:1+mid:cd6derznuhs5d7xp+state:results
Still assignment from array to counter a bit problematic.. i will write down the exact solution when solved..

Edit on 17.07.2009, 02.10: Assignment from array via counter was problematic. The problem was, as the counter increments, not only the current value was copied but also previous values remained. (the to part of the assign becomes an array instead of a single value). The bug was due to


< assign name="Assign">
<copy>
<from>$GetParameterTypeListOut.parameters/return[$paramTypeCounter]</from>
<to>$GetParameterListIn.parameters/parameterType[$paramTypeCounter]</to>
</copy>
</assign>


The error is fixed when [$paramTypeCounter] part is removed from to part of the assign.

Hiç yorum yok:

Yorum Gönder