ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to map mutilple sources to one target via mapping node?

Post new topic  Reply to topic
 How to map mutilple sources to one target via mapping node? « View previous topic :: View next topic » 
Author Message
pikalsso
PostPosted: Tue Jun 23, 2009 1:13 am    Post subject: How to map mutilple sources to one target via mapping node? Reply with quote

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
View user's profile Send private message
Gaya3
PostPosted: Tue Jun 23, 2009 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message
pikalsso
PostPosted: Tue Jun 23, 2009 1:53 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Jun 23, 2009 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to map mutilple sources to one target via mapping node?
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.