hi all,
Im doinga ccBPM. this BPM receive data from a WS>JDBC>JDBC-->WS
that means i send a request from WS, open a S/A bridge> map the ws request to a SP-> the SP send me a response like this
<resp>
.....<route>
..........<xxxx>
..........<xxxx>
..........<xxxx>
..........<xxxx>
.....</route>
.....<route>
..........<xxxx>
..........<xxxx>
..........<xxxx>
..........<xxxx>
.....</route>
</resp>
now i have a fix structure like this
<MT_xxxx>
...<OneSegmente>
........<OneField>
........<OneField>
...</OneSegmente>
...<SecSegment>
......<child>
.........<subchild>
...............<OneField>
...............<OneField>
.........</subchild>
.........<subchild>
...............<OneField>
...............<OneField>
.........</subchild>
......</child>
</MT_xxxx>
now my problem is next. i have to read RESP and for each ROUTE i must map it with each SUBCHILD and send it to second JDBC.
FOR EXAMPLE:
-
<repeat for each ROUTE>
<Repeat for each SUBCHILD>
....................map ROUTE with SUBCHILD
....................execute SP.
....................if (RESULT = 1 OR EOF SUBCHILD )--->finish <Repeat for each SUBCHILD>
if (GATE <1 or EOF ROUTE) -
finish <repeat for each ROUTE>
-
GATE - RESULT come in the response structure of SP
that its clear??
THANKS a lot
RP