Mapping into and de-batching from envelope schema

Home Page Forums BizTalk 2004 – BizTalk 2010 Mapping into and de-batching from envelope schema

Viewing 1 reply thread
  • Author
    Posts
    • #24378

      I have an envelope schema that contains an imported record as its body. I’ve found that to successfully map into the schema I must set the envelope root as well as each of the imported record nodes in the bod xpath. I deploy and all works well. I want to use the same schema as input in a receive location and use the XML receive pipeline to be-batch the records in the envelope.Problem is that to get the pipeline to de-batch the records I can only have the body xpath set to the envelope node.

      Anyone know of a way to resolve this conflict?

    • #24379

      you can debatch by writing a dot net component using xml document .

       

      http://www.biztalkserverguide.com

      • #24389

        Thanks, and I thought another possibility was to create a decoder componet that changed the namespace to point at an identical schema but for the body xpath that only held the envelope node and then let the xml receive pipeline do the de-batching.

        Do you know if the body xpath for a schema can be set in an inline xslt mapping script without setting it in the schema definition? This too I thought might be a way to make the map work with the same schema work for debatching in the xml receive pipeline.

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