|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
How to map mutilple sources to one target via mapping node? |
« View previous topic :: View next topic » |
Author |
Message
|
pikalsso |
Posted: Tue Jun 23, 2009 1:13 am Post subject: How to map mutilple sources to one target via mapping node? |
|
|
Newbie
Joined: 23 Jun 2009 Posts: 2
|
Hi, guys. I have a quesition about mapping a XML schema to another one via Mapping node in WMB. If you have any ideas, post it please, thx.
The question is: I want to map two different nodes(both of the nodes will occur once in the source) of the source to the same node of the target, and the this node of target is a complex type node and the maxoccur will be unbounded. For examples:
source is like this:
<Message>
<Desk>abc</Desk>
<Chair>123</Chair>
</Message>
and the target will be:
<Root>
<Furniture>
<Name>abc</Name>
<Price>100</Price>
</Furniture>
<Furniture>
<Name>123</Name>
<Price>200</Price>
</Furniture>
</Root>
Desk.Name map to Funitrue.Name, and the Funitrue.Price is a constance, at the same time, Chair.Name map to Funitrue.Name and the Funitrue.Price is a constance. But in the mapping node(WMB), one target cannot be set to mutilple mapping.
Last edited by pikalsso on Tue Jun 23, 2009 2:02 am; edited 1 time in total |
|
Back to top |
|
 |
Gaya3 |
Posted: Tue Jun 23, 2009 1:32 am Post subject: |
|
|
 Jedi
Joined: 12 Sep 2006 Posts: 2493 Location: Boston, US
|
did you try to use Collector node. _________________ Regards
Gayathri
-----------------------------------------------
Do Something Before you Die |
|
Back to top |
|
 |
pikalsso |
Posted: Tue Jun 23, 2009 1:53 am Post subject: |
|
|
Newbie
Joined: 23 Jun 2009 Posts: 2
|
NO, I use mapping node of Message Broker. I just gave a simple example. Actually, the schema needed to be transformed is so complicated, so the mapping node might be more effective. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 23, 2009 4:39 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There are specific steps in the documentation for how to map repeating elements.
Did you review and follow those? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|