Mapping Question

Home Page Forums BizTalk 2004 – BizTalk 2010 Mapping Question

Viewing 1 reply thread
  • Author
    Posts
    • #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

    • #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.

       

      • #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

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.