<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx</link><description>I had loads of fun a few weeks back with coming up with some options inside BizTalk on how to separate multiple elements inside a Message for individual processing. e.g: Retrieving all of the items individually in this Order message &amp;lt;Order&amp;gt; &amp;lt;Items&amp;gt;</description><dc:language>en-GB</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>actually, how do you do promoted properties?</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#224849</link><pubDate>Fri, 03 Sep 2004 02:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:224849</guid><dc:creator>xai</dc:creator><description>I've had problems with this, and ended up just mapping the documents to another schema with the promoted properties to work around the issue. So how do you do it??</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#225373</link><pubDate>Sat, 04 Sep 2004 03:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:225373</guid><dc:creator>Darren Jefford</dc:creator><description>Can you drop me a mail please? (via the Contact hyperlink on the top left)</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#229781</link><pubDate>Wed, 15 Sep 2004 13:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:229781</guid><dc:creator>Gregor Hohpe</dc:creator><description>This is a very elegant implementation of my Splitter pattern: &lt;a target="_new" href="http://www.eaipatterns.com/Sequencer.html"&gt;http://www.eaipatterns.com/Sequencer.html&lt;/a&gt;</description></item><item><title>message splitting (again)</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#240654</link><pubDate>Mon, 11 Oct 2004 10:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:240654</guid><dc:creator>Dixie's blog</dc:creator><description>&amp;lt;a href=&amp;quot;http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx&amp;quot;&amp;gt;Looping around Message Elements&amp;lt;/a&amp;gt; - this is another fine approach to split messages in BTS. Also, Darren Jefford explains how to loop in message in BTS orchestration. Take a look at </description></item><item><title>XPath Inside Orchestrations in BizTalk 2004  </title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#247713</link><pubDate>Tue, 26 Oct 2004 06:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:247713</guid><dc:creator>Stephen W. Thomas</dc:creator><description /></item><item><title>XPath Inside Orchestrations in BizTalk 2004  </title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#247715</link><pubDate>Tue, 26 Oct 2004 06:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:247715</guid><dc:creator>Stephen W. Thomas</dc:creator><description /></item><item><title>BizTalk Server 2004 - Logical Message Splitting Part 1</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#386184</link><pubDate>Sun, 06 Mar 2005 20:40:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:386184</guid><dc:creator>A BizTalk Enthusiast</dc:creator><description /></item><item><title>BizTalk 2004 -</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#407543</link><pubDate>Tue, 12 Apr 2005 15:02:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:407543</guid><dc:creator>Matt Meleski's .Net Blog - The ABC's of .NET</dc:creator><description /></item><item><title>XPath Inside Orchestrations in BizTalk 2004  </title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#435655</link><pubDate>Tue, 05 Jul 2005 16:55:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:435655</guid><dc:creator>Stephen W. Thomas</dc:creator><description /></item><item><title>Logical Message Splitting in BizTalk Server 2004</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#440397</link><pubDate>Tue, 19 Jul 2005 16:36:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:440397</guid><dc:creator>A BizTalk Enthusiast</dc:creator><description>I recently needed a means to split these inbound XML documents into multiple outbound documents where the number of outbound documents and the content of each document is determined by one of the fields in the inbound document. For lack of a better term I’m going to call this a “Logical Splitter” pattern.</description></item><item><title>Debatching and Batching in Biztalk 2004</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#453799</link><pubDate>Fri, 19 Aug 2005 23:02:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:453799</guid><dc:creator>Abhilash M S</dc:creator><description>One of the fairly common issue that most Biztalk designers face is the issue of Debatching and then Batching...</description></item><item><title>Debatching and Batching in Biztalk 2004</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#453814</link><pubDate>Fri, 19 Aug 2005 23:33:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:453814</guid><dc:creator>Abhilash M S</dc:creator><description>&lt;br&gt;&lt;br&gt;    &lt;br&gt;        &lt;br&gt;            &lt;br&gt;            One of the fairly common issue that most Biztalk designers...</description></item><item><title>Debatching and Batching in Biztalk 2004</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#453831</link><pubDate>Sat, 20 Aug 2005 00:05:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:453831</guid><dc:creator>Abhilash M S</dc:creator><description>&amp;amp;amp;nbsp;&lt;br&gt;One of the fairly common issue that most Biztalk designers face is the issue of Debatching and...</description></item><item><title>Debatching and Batching in Biztalk 2004</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#453833</link><pubDate>Sat, 20 Aug 2005 00:06:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:453833</guid><dc:creator>Abhilash M S</dc:creator><description>One of the fairly common issue that most Biztalk designers face is the issue of Debatching and then Batching...</description></item><item><title>Using XPath Inside BizTalk Orchestrations</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#713761</link><pubDate>Wed, 23 Aug 2006 10:25:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:713761</guid><dc:creator>Stephen W. Thomas BizTalk MVP</dc:creator><description>Working with XPath inside Orchestrations is a powerful and simple feature of BizTalk 2004. The help guide</description></item><item><title>Debatching and Batching in Biztalk 2004 &amp;laquo; Chronicle of Tech and Life</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#2466881</link><pubDate>Mon, 07 May 2007 22:05:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2466881</guid><dc:creator>Debatching and Batching in Biztalk 2004 « Chronicle of Tech and Life</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://techlifeme.wordpress.com/2005/03/10/debatching-and-batching-in-biztalk-2004/"&gt;http://techlifeme.wordpress.com/2005/03/10/debatching-and-batching-in-biztalk-2004/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#4389457</link><pubDate>Tue, 14 Aug 2007 23:54:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4389457</guid><dc:creator>crazyhat</dc:creator><description>&lt;p&gt;I followed the steps you have listed but get the error message: &amp;nbsp;&lt;/p&gt;
&lt;p&gt;There was a failure executing the receive pipeline: &lt;/p&gt;
&lt;p&gt;Reason: No Disassemble stage components can recognize the data. &lt;/p&gt;
&lt;p&gt;The envelope schema property is mapped to the schema with the root Order. &lt;/p&gt;
&lt;p&gt;the document schema property is mapped to the schema with the root Item. &lt;/p&gt;
&lt;p&gt;And i do not have the Items node in my xml file. &lt;/p&gt;
&lt;p&gt;&amp;lt;Order&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Item Code=”ITEM001” Price=”23.00” Qty=1/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Item Code=”ITEM002” Price=”23.00” Qty=1/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;Item Code=”ITEM003” Price=”23.00” Qty=1/&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;/Order&amp;gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#4401735</link><pubDate>Wed, 15 Aug 2007 18:22:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4401735</guid><dc:creator>crazyhat</dc:creator><description>&lt;p&gt;Please ignore my previous post. I had a namespace issue. &lt;/p&gt;
</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#8849419</link><pubDate>Tue, 12 Aug 2008 02:09:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8849419</guid><dc:creator>yuri.khenokh</dc:creator><description>&lt;p&gt;Darren,&lt;/p&gt;
&lt;p&gt;I have read you book (Professional BizTalk 2006). Thank you for the tons of usefull BizTalk material you have published!&lt;/p&gt;
&lt;p&gt;I'm trying to split (or as some people say debatch) an incoming message using an envelope and a document schema in BizTalk 2006 R2. The problem is that I need to retain some data contained in the envelope by copying it down to every debatched message.&lt;/p&gt;
&lt;p&gt;In the post you mention, quote:&lt;/p&gt;
&lt;p&gt;&amp;quot;... You do however “loose” the original message in this context which may or may not be a problem – sometimes there is some data in the “Envelope” section of each message, it could be that the split messages need to have that data to aid with the processing. &amp;nbsp; In this case I think you might be able to use an Inbound Map on your Receive Port to transform the message to add the elements – need to try this though as I’m not sure if the Map is run first or not. ...&amp;quot; &lt;/p&gt;
&lt;p&gt;As far as I know, the inbound map runs after the receive pipeline and therefore cannot be used. However a custom orchestration solution described in the post seems to be an overkill for a problem as simple as copying some data from the envelope. &lt;/p&gt;
&lt;p&gt;Richard Seroter in his post &amp;quot;BizTalk Aggregation Pattern for Large Batches&amp;quot; (&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/richardbpi/archive/2006/05/08/592476.aspx"&gt;http://blogs.msdn.com/richardbpi/archive/2006/05/08/592476.aspx&lt;/a&gt;) seems to imply that simply promoting corresponding properties in the envelope and in the document schema will do the trick, however this approach also does not seem to work. (I tested it with xmldasm tool and output messages did not contain envelope values). &amp;nbsp;&lt;/p&gt;
&lt;p&gt;This looks like a very common business problem that I would think many people should encounter. Still I could not find any answers in the book or on the net.&lt;/p&gt;
&lt;p&gt;Is custom pipeline disassembler component the only way to do it or is there a simpler approach?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Yuri&lt;/p&gt;
</description></item><item><title>Using XPath Inside BizTalk Orchestrations</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#8960903</link><pubDate>Mon, 22 Sep 2008 09:18:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8960903</guid><dc:creator>Stephen W. Thomas BizTalk MVP</dc:creator><description>&lt;p&gt;Working with XPath inside Orchestrations is a powerful and simple feature of BizTalk 2004. The help guide&lt;/p&gt;
</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#9417236</link><pubDate>Fri, 13 Feb 2009 08:20:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9417236</guid><dc:creator>Jaeger6669</dc:creator><description>&lt;p&gt;So I've been working on this and I've run into a snag.&lt;/p&gt;
&lt;p&gt;If the &amp;quot;Order&amp;quot; message has a namesapce defined (as good biztalk messages do, ie uri:MyOrders) then the Item message doesn't contain the namespace when you assign it using Xpath.&lt;/p&gt;
&lt;p&gt;If you then try to send the Item message, you end up getting an error about not being able to determin message type by &amp;quot;Item&amp;quot;&lt;/p&gt;
&lt;p&gt;Has anyone found a way around this?&lt;/p&gt;
</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#9417541</link><pubDate>Fri, 13 Feb 2009 10:04:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9417541</guid><dc:creator>Jaeger6669</dc:creator><description>&lt;p&gt;I found this blog, &lt;a rel="nofollow" target="_new" href="http://blogs.digitaldeposit.net/saravana/post/2006/12/18/Message-Debatching-inside-Biztalk-Orchestration-with-TargetNamespace.aspx"&gt;http://blogs.digitaldeposit.net/saravana/post/2006/12/18/Message-Debatching-inside-Biztalk-Orchestration-with-TargetNamespace.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I'm going to check it out and see if it works for me.&lt;/p&gt;
</description></item><item><title>re: Looping around Message Elements</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#9502525</link><pubDate>Mon, 23 Mar 2009 23:49:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9502525</guid><dc:creator>RachanaD</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Has anyone found out a way to use data that is in the “Envelope” section of each message, it could be that the split messages need to have that data to aid with the processing?&lt;/p&gt;
&lt;p&gt;If not then Please suggest to me any article with the explanation of the custom pipeline disassembler component .&lt;/p&gt;
&lt;p&gt;Also , I am planning to use the XPATH approach.Is it a good way to use for Large messages? I am not concerned with how long the message will take to process.&lt;/p&gt;
</description></item><item><title> Darren Jefford Looping around Message Elements | Cast Iron Cookware</title><link>http://blogs.msdn.com/darrenj/archive/2004/08/30/222614.aspx#9642485</link><pubDate>Wed, 27 May 2009 01:29:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9642485</guid><dc:creator> Darren Jefford Looping around Message Elements | Cast Iron Cookware</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://castironbakeware.info/story.php?title=darren-jefford-looping-around-message-elements"&gt;http://castironbakeware.info/story.php?title=darren-jefford-looping-around-message-elements&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>