Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Mapping Question
- This topic has 2 replies, 1 voice, and was last updated 9 years, 1 month ago by
community-content.
-
AuthorPosts
-
-
August 5, 2010 at 7:10 AM #25529
Hi.
I have a big and complex source schema like this:
<Envelope>
<Record>
<Element1>
…
<Elementn>
<Element with attributes …>
<Element with attributes n>
Now I built a destination schema with with the same structure but it starts only at <Element1> as its root node.
Now I want to map everything from the source starting at <Element1> to the destination schema with the root node <Element1>.
I was trying it with a loop functoid but it doesn’t worked.
How can I handle this – just to move all datas in an easy way to the destination schema?
I don’t want the envelope and all Elements above <Element1> anymore.
Thanks for tips and helps in advance.
Wolfgang
-
August 5, 2010 at 8:26 AM #25530
Hi Wolfgang,
In your source schema, is the Max Occurs property set to unbounded at the Record node level or the Element node level? Also, I don’t think you can make Element1 as your root node in your destination schema, you can have it as a Field Element below a Record node or something like that.
If you set up your data structures properly in both schemas, using a Looping functoid and linking field elements between both schemas in a map should be sufficient to achieve your goal.
Daniel.
-
August 5, 2010 at 9:00 AM #25531
Hi Daniel.
Thanks for your help and reply. You’re right, the node Element1 is not unbounded, it just works a level deeper – so next node is the node which is unbounded.
I found a functoid named “Mass copy” who did the job very well. I connected it between the unbounded nodes and that was it. I have some nodes above the unbounded node, but these I have to link seperately. That’s all … [:D]
So it works fine.
Thanks again.
Wolfgang
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.