Hi All,
I am having to do the following in an orchestration. I dont like the
logic but I am not able to come up with a better way. So let me know
if you can think of one.
I have this message
<Node>
<NodeX></NodeX>
<NodeY></NodeY>
<NodeZ></NodeZ>
<NodeA>
<NodeB>
<NodeC></NodeC>
</NodeB>
<NodeB>
<NodeC></NodeC>
</NodeB>
<NodeB>
<NodeC></NodeC>
</NodeB>
<NodeB>
<NodeC></NodeC>
</NodeB>
</NodeA>
</Node>
I want to have multiple messages as follows from the above
<Node>
<NodeX></NodeX>
<NodeY></NodeY>
<NodeZ></NodeZ>
<NodeA>
<NodeB>
<NodeC></NodeC>
</NodeB>
</NodeA>
</Node>
What I do is
1) Create a method in .Net component (pass NodeX, NodeY NodeZ values
with Complete NodeB) which returns the required message.
2) In orchestration, I loop through the original message get the
NodeB
using XSLT
3) Call .Net method
I was wondering if there is any better way of doing this. I can write
a custom pipeline code to debatch these files. I want to know if I
can
do something in an orchestration.
All Help is Great Help
Thanks
Sree