Debatching before hitting the transform mapping

Home Page Forums BizTalk 2004 – BizTalk 2010 Debatching before hitting the transform mapping

Viewing 1 reply thread
  • Author
    Posts
    • #20850

      I’ve been through most of the walkthroughs and demos on debatching using xpath and envelope schema and they have worked perfectly. However, i’m unable to implement that functionality in our existing project.  Essentially, the project has a pretty simple orchestration that has a map transformation and is working properly in that the message comes into the IN folder and is processed correctly and placed into the OUT folder.  I simply want to make 1 change to an otherwise functional solution – our project must debatch a message into individual messages before they hit the mapping.

      The incoming message has multiple items and each item must become a seperate file.

      <root>

         <Item>

          <element1>

          <element2>

        </item>

         <Item>

          <element1>

          <element2>

        </item>

      </root>

      Any help would be very much appreciated.  Thank you gurus!

    • #20851

       You will need a new schema and a new map.

      The schema will specify the envelope <root> and each <item> as a message ( you can use two schemas for this) 

      <root envelope=true body xpath=root>
            <item maxOccurs=unbounded ref=item>
      <item>
            <element1>
            <element2>

      You will need a new map that maps an <item> message rather than the current <root> message

      • #20859

        Thanks for the quick reply Greg.  I’ll give it a shot and report any success!

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