Split message after performing a mapping
- From: isabelledc <isabelledc@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 9 Jun 2009 07:39:01 -0700
I receive one message that at some point holds elements for which I want to
create one message per element that occurs (no fixed number of occurrences!!)
I also need info from the other nodes
fe XML in
<root>
<aaa>aaa</aaa>
<bbb>bbb</bbb>
<ccc>
<ddd>ddd</ddd>
<eee>eee</eee>
<fff>fff</fff>
</ccc>
<ggg>ggg</ggg>
<hhh>
<iii>iii</iii>
</hhh>
</root>
I need 3 messages like this one , one with d ,one with e , one with f
<root2>
<aaa>aaa</aaa>
<bbb>bbb</bbb>
<ccc>
<ddd>ddd</ddd>
</ccc>
<ggg>ggg</ggg>
<hhh>
<iii>iii</iii>
</hhh>
</root2>
(of course it's not that simple , i have other mappingstuff to do as well)
I can create a map that has a repeating node root2 and map everything from
root to root2 the way I want. But how can I then send 3 xml's with root2 out?
I thought about dropping that file with repeating nodes on a folder and
picking it up again so I can use the standard splitting functionality of the
xml-receive.
But that would mean I have to use the same schema as a normal document and
once as an envelope? Is that even possible?
How would you handle something like this?
Isabelle
.
- Follow-Ups:
- RE: Split message after performing a mapping
- From: isabelledc
- RE: Split message after performing a mapping
- Prev by Date: RE: Which Oracle adapter to use?
- Next by Date: Urgently Required Oracle Financial Functional Consultant
- Previous by thread: Which Oracle adapter to use?
- Next by thread: RE: Split message after performing a mapping
- Index(es):
Relevant Pages
|