Posted: Thu Jan 29, 2004 2:14 pm Post subject: Mapping Repeating Parents in WBI 5.0 Map Node
Apprentice
Joined: 04 Apr 2002 Posts: 33
Hi,
I am trying to use the Mapping node supplied in WBI 5.0 to Map a Repeating Structure (XML) to another repeating Structure (CopyBook). My source Structure looks like this:
The source structure as well as the target structure are defined as repeating from 1 to infinity.
In the Mappings editor all I really did was drag and drop the source Order_info[All] onto the target Order_info[All] - which gave me the option to create a Mapping which I did. In the newly created mapping I dragged and dropped Source.Order_Info[All].Order_number/Order_total to Target.Order_Info[All].Order_number/Order_total . When I run this in Debug Mode the message after the mapping node looks exactly the way I want it to look, but when I look at the message actually put onto the queue there is only the first instance of Order_info. I am quite stumped no idea what more to do, tried a whole bunch of things. I know how to do the same in a compute node, but unfortunately for me it is a requirement that I use the Mapping Node. Any help is greatly appreciated.
Joined: 25 May 2002 Posts: 664 Location: South East London
Personally, I'm not going to even attempt to get the mapping node working until CSD03. I played around mapping a fairly simple test message and encountered 2 known bugs in the space of an hour:
1) Namespaces are not mapped
2) Bug when mapping an input message with no repeating groups to output message with repeating groups causes sysntax errors in the generated xml file.
If I had done some serious mapping, I'm sure I would have come across a load of other problems.
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