<feed xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US">
    <title>Eric's BizTalk &amp; HL7 blog</title>
    <link rel="self" type="application/xml" href="http://blog.hl7-info.com/Atom.aspx" />
    <subtitle type="html">Experiences with BizTalk and HL7</subtitle>
    <id>http://blog.hl7-info.com/Default.aspx</id>
    <author>
        <name>Eric Stott</name>
        <uri>http://blog.hl7-info.com/Default.aspx</uri>
    </author>
    <generator uri="http://subtextproject.com" version="Subtext Version 1.9.3.51">Subtext</generator>
    <updated>2008-08-28T13:06:56Z</updated>
    <entry>
        <title>Preserve Order while mapping</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/08/28/Preserve_Order_while_mapping.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/08/28/Preserve_Order_while_mapping.aspx</id>
        <published>2008-08-28T12:36:16-07:00:00</published>
        <updated>2008-08-28T13:06:56Z</updated>
        <content type="html">&lt;p&gt;There is the issue of the behavior of the mapping process creates invalid XML.&lt;/p&gt;  &lt;p&gt;The input instance looks like this:&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:eff36e78-ffba-41e9-8152-8a4fe165276b" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;However, when using the mapper, you create your output and it ends up looking like this:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:0e6158d3-1687-492c-bf41-0bc8e9692592" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopA &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;loopB &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;xml&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;How to get this to work (&lt;strong&gt;only in R2&lt;/strong&gt;) is to open up the btm file and change the following attribute from its default value of No to Yes in the &lt;strong&gt;mapsource&lt;/strong&gt; element&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;PreserveSequenceOrder&lt;/strong&gt;="No"&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; width: 1125px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:807aa1d4-3d93-4074-a205-10afcf80b4e9" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;mapsource &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="BizTalk Map"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; BizTalkServerMapperTool_Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; XRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="100"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; YRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="420"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OmitXmlDeclaration&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; TreatElementsAsRecords&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OptimizeValueMapping&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; GenerateDefaultFixedNodes&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; PreserveSequenceOrder&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; CopyPIs&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; method&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="xml"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; xmlVersion&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="1.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; IgnoreNamespacesForLinks&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;

&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;Here is the new code:&lt;/p&gt;

&lt;div style="padding-right: 0px; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px; display: inline" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:3cfbcf82-021b-4431-a2fc-73dcee0c2cab" class="wlWriterSmartContent"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;mapsource &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="BizTalk Map"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; BizTalkServerMapperTool_Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; Version&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="2"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; XRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="100"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; YRange&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="420"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OmitXmlDeclaration&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; TreatElementsAsRecords&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; OptimizeValueMapping&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; GenerateDefaultFixedNodes&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; PreserveSequenceOrder&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; CopyPIs&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="No"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; method&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="xml"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; xmlVersion&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="1.0"&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; IgnoreNamespacesForLinks&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;="Yes"&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;

&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;&lt;img src="http://blog.hl7-info.com/aggbug/283.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/283.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/283.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/283.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Online Support</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/08/11/Online_SupportAgain.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/08/11/Online_SupportAgain.aspx</id>
        <published>2008-08-11T05:19:17-07:00:00</published>
        <updated>2008-08-11T05:19:17Z</updated>
        <content type="html">&lt;p&gt;I have just installed an online support link on the right of the blog. Seeing how it works. Try it out!&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/264.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/264.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/264.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/264.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Online Support</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/08/11/Online_Support.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/08/11/Online_Support.aspx</id>
        <published>2008-08-11T05:08:47-07:00:00</published>
        <updated>2008-08-11T05:08:47Z</updated>
        <content type="html">&lt;p&gt;I have just installed an online support link on the left of the blog. Seeing how it works. Try it out!&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/262.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/262.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/262.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/262.aspx</trackback:ping>
    </entry>
    <entry>
        <title>HL7 Message Encoding</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/08/06/HL7_Message_Encoding.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/08/06/HL7_Message_Encoding.aspx</id>
        <published>2008-08-06T14:51:13-07:00:00</published>
        <updated>2008-08-06T15:09:30Z</updated>
        <content type="html">&lt;p&gt;To extend what I wrote about for the &lt;a href="http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx" target="_blank"&gt;Encoding for HL7 messages post&lt;/a&gt;. There are two values that are used for the Message Encoding context properties. It isn't obvious but follow the logic:&lt;/p&gt;  &lt;p&gt;According to &lt;a href="http://msdn.microsoft.com/en-us/library/bb945593.aspx" target="_blank"&gt;Extended Encoding Support&lt;/a&gt; page in the Note section of step 5 you can only choose Western European or UTF8, so if I look at the &lt;a href="http://msdn.microsoft.com/en-us/library/system.text.encoding.aspx" target="_blank"&gt;Encoding Class documentation&lt;/a&gt;, the table below are the values you can use:&lt;/p&gt;  &lt;table cellspacing="1" cellpadding="2" width="366" border="1"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="104"&gt;&lt;strong&gt;Value To Set&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="72"&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="184"&gt;&lt;strong&gt;Display&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="105"&gt;65001&lt;/td&gt;        &lt;td valign="top" width="76"&gt;utf-8&lt;/td&gt;        &lt;td valign="top" width="184"&gt;Unicode (UTF-8)&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="105"&gt;850&lt;/td&gt;        &lt;td valign="top" width="79"&gt;ibm850&lt;/td&gt;        &lt;td valign="top" width="184"&gt;         &lt;p&gt;Western European (DOS) &lt;/p&gt;       &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;&lt;img src="http://blog.hl7-info.com/aggbug/259.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/259.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/259.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/259.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Event ID 5720, BTAHL7Schemas.MessageEncoding</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/08/05/Event_ID_5720_BTAHL7Schemas.MessageEncoding.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/08/05/Event_ID_5720_BTAHL7Schemas.MessageEncoding.aspx</id>
        <published>2008-08-05T00:07:51-07:00:00</published>
        <updated>2008-08-05T00:12:27Z</updated>
        <content type="html">&lt;p&gt;In a follow up to my initial &lt;a href="http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx" target="_blank"&gt;discovery of the new context property&lt;/a&gt; (&lt;a href="http://msdn.microsoft.com/en-us/library/btahl7schemas.messageencoding.aspx" target="_blank"&gt;largely undocumented&lt;/a&gt; as far as I can tell) called &lt;strong&gt;BTAHL7Schemas.MessageEncoding&lt;/strong&gt; we were converting a working process from 2004 to 2006 R2 and we started getting this error:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Event Type: Error      &lt;br /&gt;Event Source: BizTalk Server 2006       &lt;br /&gt;Event Category: BizTalk Server 2006       &lt;br /&gt;Event ID: 5720       &lt;br /&gt;Date: &lt;var&gt;Date&lt;/var&gt;       &lt;br /&gt;Time: &lt;var&gt;Time&lt;/var&gt;       &lt;br /&gt;User: N/A       &lt;br /&gt;Computer: &lt;var&gt;ComputerName&lt;/var&gt;       &lt;br /&gt;Description:       &lt;br /&gt;There was a failure executing the send pipeline: "BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Assembler" Send Port: "MLLPSendPort" URI: "localhost:11000" Reason: Object reference not set to an instance of an object.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So we put the MessageEncoding in and then started getting the following error:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;Event Type: Error      &lt;br /&gt;Event Source: BizTalk Server 2006       &lt;br /&gt;Event Category: BizTalk Server 2006       &lt;br /&gt;Event ID: 5720       &lt;br /&gt;Date: &lt;var&gt;Date&lt;/var&gt;       &lt;br /&gt;Time: &lt;var&gt;Time&lt;/var&gt;       &lt;br /&gt;User: N/A       &lt;br /&gt;Computer: &lt;var&gt;ComputerName&lt;/var&gt;       &lt;br /&gt;Description:       &lt;br /&gt;There was a failure executing the send pipeline: "BTAHL72XPipelines.BTAHL72XSendPipeline, BTAHL72XPipelines, Version=1.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "BTAHL7 2.X Assembler" Send Port: "HL7_SP" URI: "C:\Labs\HL7_Outbound\%MessageID%.txt" Reason: Specified cast is not valid. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Low and behold, &lt;a href="http://support.microsoft.com/kb/941261" target="_blank"&gt;hot fix 947261&lt;/a&gt; that deals with these two error message. If you check version the following file Microsoft.solutions.btahl7.hl72fasm.dll, ours was at 2.0.302.0&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/256.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/256.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/256.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/256.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Acknowledgment Event ID: 5778 - The published message message could not be routed because no subscribers were found</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/08/04/Acknowledgment_Event_ID_5778__The_published_message_message_could.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/08/04/Acknowledgment_Event_ID_5778__The_published_message_message_could.aspx</id>
        <published>2008-08-04T23:52:44-07:00:00</published>
        <updated>2008-08-04T23:52:44Z</updated>
        <content type="html">&lt;p&gt;&lt;strong&gt;Another&lt;/strong&gt; one of the gotchas (yes, my blog seems to be full of them) is the 'association' of the acknowledgment with the original message that  is generated from the BTAHL7 receive pipeline. In the BTAHL7 Configuration explorer, by default the Acknowledgment settings are as follows:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/partnerdefaultsetup.png"&gt;&lt;img height="480" alt="partnerdefaultsetup" src="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/partnerdefaultsetup_thumb.png" width="527" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Notice that the MSH15 and MSH16 overrides are set to AL- Always generate the System and Application Acknowledgment, and that below the Route ACK to send pipeline on request-response receive port is checked. This means that the default behavior of the pipeline is to generate two acknowledgments, and route one of them back along the receive location's send pipeline. What is it supposed to do with the second acknowledgment that it created?&lt;/p&gt;  &lt;p&gt;That is where the error message is generated: &lt;em&gt;Event ID 5778: The Messaging engine failed to process a message submitted by adapter: MLLP Source &lt;/em&gt;&lt;a href="{whaver"&gt;&lt;em&gt;URL:{whaver&lt;/em&gt;&lt;/a&gt;&lt;em&gt; server:port} Details: The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/ackeventerror.png"&gt;&lt;img height="446" alt="ackeventerror" src="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/ackeventerror_thumb.png" width="399" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The resolution: a simple solution is to create a send port for this data and drop it off as a file.&lt;/p&gt;  &lt;p&gt;Not quite the elegant solution that I want to deal with, as now there is a maintenance aspect of making sure that this folder is purged.&lt;/p&gt;  &lt;p&gt;Let's just not create the application acknowledgment. You do this by changing the parties definition from Original to Enhanced mode and turning the application acknowledgment to NE (never).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/newpartnersetup.png"&gt;&lt;img height="480" alt="newpartnersetup" src="http://blog.hl7-info.com/images/AcknowledgmentEventID5778Thepublishedmes_14FCB/newpartnersetup_thumb.png" width="527" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/255.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/255.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/255.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/255.aspx</trackback:ping>
    </entry>
    <entry>
        <title>MS-HUG August 26-27</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/07/28/MSHUG_August_2627.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/07/28/MSHUG_August_2627.aspx</id>
        <published>2008-07-28T10:51:12-07:00:00</published>
        <updated>2008-07-28T10:51:12Z</updated>
        <content type="html">&lt;p&gt;&lt;a href="http://www.mshug.org/events/techforum_redmond2008.aspx" target="_blank"&gt;&lt;img height="210" alt="MicrosoftHUG_GoldenTicket_only" src="http://blog.hl7-info.com/images/MSHUGAugust2627_97E2/MicrosoftHUG_GoldenTicket_only_3.gif" width="350" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Is anyone going there this year?&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/contact.aspx" target="_blank"&gt;Let me know.&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/251.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/251.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/251.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/251.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Encoding for HL7 messages</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/04/30/Encoding_for_HL7_messages.aspx</id>
        <published>2008-04-30T12:00:00-07:00:00</published>
        <updated>2008-04-30T12:00:00Z</updated>
        <content type="html">&lt;p&gt;I was helping a friend with a HL7 question about how to change the MSH1, and I decided to make sure that my syntax was correct so I looked at the help and&lt;/p&gt;  &lt;p&gt;BAM&lt;/p&gt;  &lt;p&gt;I noticed that there is a new context property&lt;/p&gt;  &lt;div class="wlWriterSmartContent" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:84274bd6-e22b-4117-ac9f-868de839b950" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;&lt;pre style="background-color:White;;overflow: auto;"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;DoorbellFinalMessage(BTAHL7Schemas.MessageEncoding) &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;65001&lt;/span&gt;&lt;span style="color: #000000;"&gt;;
&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;&lt;img src="http://blog.hl7-info.com/aggbug/217.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/217.aspx</wfw:comment>
        <slash:comments>4</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/217.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/217.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Using BTAHL7 pipelines in multiple applications</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/04/07/Using_BTAHL7_pipelines_in_multiple_applications.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/04/07/Using_BTAHL7_pipelines_in_multiple_applications.aspx</id>
        <published>2008-04-07T12:00:00-07:00:00</published>
        <updated>2008-04-07T12:00:00Z</updated>
        <content type="html">&lt;p&gt;A question was recently posted on the forums on how you can use the default pipelines in multiple applications.&lt;/p&gt;  &lt;p&gt;I actually was stumped when I started testing the beta of BizTalk 2006 also.&lt;/p&gt;  &lt;p&gt;The steps are pretty easy:&lt;/p&gt;  &lt;p&gt;In your new application, right click the application and in the context menu click properties&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/contextmenu.png"&gt;&lt;img height="186" alt="context menu" src="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/contextmenu_thumb.png" width="103" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;In the properties click on references and Add BizTalk Application 1 (which is where the pipeline is installed to)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/references.png"&gt;&lt;img height="514" alt="references" src="http://blog.hl7-info.com/images/UsingBTAHL7pipelinesinmultipleapplicatio_12C50/references_thumb.png" width="644" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Now you can access the pipeline within your own application.&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/210.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/210.aspx</wfw:comment>
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/210.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/210.aspx</trackback:ping>
    </entry>
    <entry>
        <title>BizTalk Guru Newsletter - BAM Uninstall</title>
        <link rel="self" type="text/html" href="http://blog.hl7-info.com/archive/2008/03/04/BizTalk_Guru_Newsletter__BAM_Uninstall.aspx" />
        <id>http://blog.hl7-info.com/archive/2008/03/04/BizTalk_Guru_Newsletter__BAM_Uninstall.aspx</id>
        <published>2008-03-04T12:00:00-07:00:00</published>
        <updated>2008-03-04T12:00:00Z</updated>
        <content type="html">&lt;p&gt;Stephen Thomas hit me up to write an article for his newsletter (if you aren't automatically getting it, you should sign up for it &lt;a href="http://www.biztalkgurus.com/newsletter/index.aspx" target="_blank"&gt;here&lt;/a&gt;).&lt;/p&gt; &lt;p&gt;I wrote about how to automatically uninstall a BAM definition as part of the MSI uninstall. You can read about it here: &lt;a title="http://www.biztalkgurus.com/newsletter/TheBizTalker-Volume-11.html" href="http://www.biztalkgurus.com/newsletter/TheBizTalker-Volume-11.html"&gt;http://www.biztalkgurus.com/newsletter/TheBizTalker-Volume-11.html&lt;/a&gt;&lt;/p&gt; &lt;p&gt;The one dilemma I have is that I cannot seem to figure out how to get a batch script to resolve the installation path by using this code in a batch script:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;strong&gt;for /f "skip=2 tokens=2,*" %%a in ('reg query "HKLM\SOFTWARE\Microsoft\BizTalk Server\3.0" /v "InstallPath"') do SET BTSbm="%%~bTracking\bm.exe remove-all -DefinitionFile:"&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;I am looking into it and will update this blog entry when I finally do figure it out.&lt;/p&gt;&lt;img src="http://blog.hl7-info.com/aggbug/197.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://blog.hl7-info.com/comments/197.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://blog.hl7-info.com/comments/commentRss/197.aspx</wfw:commentRss>
        <trackback:ping>http://blog.hl7-info.com/services/trackbacks/197.aspx</trackback:ping>
    </entry>
</feed>