<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.microsoft.co.il/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>Ariel ITzhaky</title><link>http://blogs.microsoft.co.il/blogs/rel/</link><description>It&amp;#39;s all working
till you fix it ...</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>The 'PLUS' in DocumentSpecName</title><link>http://blogs.microsoft.co.il/blogs/rel/archive/2011/04/04/the-plus-in-documentspecname.aspx</link><pubDate>Mon, 04 Apr 2011 09:17:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:816254</guid><dc:creator>Ariel ITzhaky</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/rel/rsscomments.aspx?PostID=816254</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/rel/archive/2011/04/04/the-plus-in-documentspecname.aspx#comments</comments><description>&lt;p style="TEXT-ALIGN:left;MARGIN:0cm 0cm 10pt;unicode-bidi:embed;DIRECTION:ltr;" dir="ltr" class="MsoNormal"&gt;In some real-life scenarios, deploy&lt;a href="http://blogs.microsoft.co.il/blogs/rel/docspecname.gif"&gt;&lt;/a&gt;ing several BizTalk schemas on the same box, as a schema versioning solution or not, can cause multiple identical message types with the same namespace and root element name. Due to same exact message schema deployed twice (or more) or different schemas for different messages, but with the same root element and namespace.&lt;/p&gt;
&lt;p dir="ltr"&gt;The known error that pops out when naively executing the scenario described is as followed:&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event Type:&lt;/i&gt;&lt;i&gt;&amp;nbsp; &lt;/i&gt;&lt;i&gt;Error&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event Source: BizTalk Server 2006&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event Category:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;i&gt;BizTalk Server 2006&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event ID:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5804&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Date:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/02/2010&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Time:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13:31:30&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;User:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;i&gt;N/A&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Computer:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;i&gt;MyComputer&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Description&lt;/i&gt;&lt;i&gt;:&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;An error occurred while processing the message, refer to the details section for more information&lt;/i&gt;&lt;i&gt; &lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Message ID: {0B9ACC4F-229E-4DED-B954-84D3A226A0F6&lt;/i&gt;&lt;i&gt;}&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Instance ID: {11AD3CA1-0822-4B0A-BFF5-14CDA801A094&lt;/i&gt;&lt;i&gt;}&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Error Description: There was a failure executing the response(receive) pipeline: &amp;quot;Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; Source: &amp;quot;XML disassembler&amp;quot; Send Port: &amp;quot;MySendPort&amp;quot; URI: &amp;quot;http://localhost/MyService.asmx&amp;quot; Reason: &lt;b&gt;Cannot locate document specification because multiple schemas matched the message type &amp;quot;&amp;lt;namespace&amp;gt;#&amp;lt;root name&lt;/b&gt;&lt;/i&gt;&lt;i&gt;&amp;quot;.&lt;/i&gt;&lt;i&gt;&amp;nbsp; &lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;The use of &amp;quot;&lt;i&gt;DocumentSpecName&lt;/i&gt;&amp;quot; attribute in the configuration section of the pipelines (e.g. XmlReceivePipeline) is there to direct the pipeline to validate the message against a specific schema in the given assembly.This should solve the above error.&lt;/p&gt;
&lt;p dir="ltr"&gt;&amp;nbsp;&lt;a href="http://blogs.microsoft.co.il/blogs/rel/docspecname.gif"&gt;&lt;img border="0" src="http://blogs.microsoft.co.il/blogs/rel/docspecname.gif" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;The issue is a bit complex when multi-part schemas are involved. After doing the &lt;i&gt;DocumentSpecName&lt;/i&gt; magic, when dealing with multi part schema the validation section still can&amp;#39;t resolve the unique schema to act with. The error in such case is:&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event Type:&lt;/i&gt;&lt;i&gt;&amp;nbsp; &lt;/i&gt;&lt;i&gt;Error&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event Source:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;i&gt;BizTalk Server 2006&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event Category:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;i&gt;BizTalk Server 2006&lt;/i&gt;&lt;i&gt; &lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Event ID:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1001&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Date:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 31/02/2010&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Time:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 13:41:56&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;User:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;i&gt;N/A&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Computer:&lt;/i&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/i&gt;&lt;i&gt;MyComputer&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;Description&lt;/i&gt;&lt;i&gt;:&lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;&lt;i&gt;There was a failure executing the response(receive) pipeline: &amp;quot;Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; Source: &amp;quot;XML disassembler&amp;quot; Send Port: &amp;quot; MySendPort &amp;quot; URI: &amp;quot; http://localhost/MyService.asmx&amp;quot; Reason: &lt;b&gt;No Disassemble stage components can recognize the data&lt;/b&gt;&lt;/i&gt;&lt;i&gt; &amp;quot;. &lt;/i&gt;&lt;i&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p dir="ltr"&gt;What BizTalk want to tell us is that at this stage, given the specific configuration of &lt;i&gt;DocumentSpecName&lt;/i&gt; Attribute, in the well known syntax of &amp;quot;&amp;lt;schema type&amp;gt; ,&amp;lt;schema assembly full name&amp;gt;&amp;quot; is not enough for multipart schemas.&lt;/p&gt;
&lt;p dir="ltr"&gt;So after some research, I found that a little mending is needed to my &lt;i&gt;DocumentSpecName &lt;/i&gt;configuration.&lt;i&gt; &lt;/i&gt;The above value syntax is not enough, because it will direct the pipeline to the desired schema in the assembly, but still which root in the multipart schema to validate against.&lt;/p&gt;
&lt;p dir="ltr"&gt;So the fixed syntax is as followe:&lt;/p&gt;
&lt;p dir="ltr"&gt;&amp;quot;&amp;lt;schema type&amp;gt;&lt;b&gt;+&amp;lt;root name&amp;gt;&lt;/b&gt; ,&amp;lt;schema assembly full name&amp;gt;&amp;quot;&lt;/p&gt;
&lt;p dir="ltr"&gt;After providing the above configuration all works great.&lt;/p&gt;
&lt;p dir="ltr"&gt;Hope this will help someone in the globe.&lt;/p&gt;
&lt;p dir="ltr"&gt;Ariel&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=816254" width="1" height="1"&gt;</description><enclosure url="http://blogs.microsoft.co.il/blogs/rel/attachment/816254.ashx" length="27794" type="image/gif" /><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/Multi+part/default.aspx">Multi part</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/DocumentSpecName/default.aspx">DocumentSpecName</category></item><item><title>Bitwise-And (&amp;) predicate on BizTalk Orchestration activation filter expression</title><link>http://blogs.microsoft.co.il/blogs/rel/archive/2009/01/21/bitwise-and-amp-predicate-on-biztalk-orchestration-activation-filter-expression.aspx</link><pubDate>Wed, 21 Jan 2009 13:38:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:215031</guid><dc:creator>Ariel ITzhaky</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/rel/rsscomments.aspx?PostID=215031</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/rel/archive/2009/01/21/bitwise-and-amp-predicate-on-biztalk-orchestration-activation-filter-expression.aspx#comments</comments><description>&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hi all. One of the latest issues on BizTalk advanced usage I encountered was to activate several BizTalk orchestrations with the same published message, where one promoted field is distinguishing which orchestrations are activated.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;Instantly, I suggested solving the issue by designating a special numeric (e.g. integer) field in the published message, which represents a binary value of orchestration activation state. E.g. value of &amp;quot;3&amp;quot; (101) in the field, means that orchestration 1 &amp;amp; 3 need to be activated, and orchestration 2 will not. After that stage I planned on using a filter expression in the orchestration activating receive shape, that will use the bitwise-and (&amp;amp;) predicate, between the numeric field and the orchestration &amp;quot;numeric value&amp;quot;.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;I was so sure the above scenario will work as planned! This is of a great experience in dealing with bitwise-and predicate with filtering in send ports that works really fine.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;So after checking it in all direction I sadly found out it is not working. Visual Studio let us creating the above filter expression, but the compilation stage is failing with the following error: &amp;quot;illegal &amp;#39;activate&amp;#39; predicate&amp;quot;. Checking dipper we found that the &lt;/font&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;Microsoft.XLANGs.Core.&lt;span style="COLOR:teal;"&gt;PredicateBase&lt;/span&gt;.&lt;span style="COLOR:teal;"&gt;Operators&lt;/span&gt;&lt;/span&gt;&lt;font face="Times New Roman" size="3"&gt; enumeration definition, responsible of the runtime aspects of the orchestration predicates, is no including the bitwise-and predicate.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;We found that Microsoft explicitly documents that this predicate is not supported (by not including it in the supported predicates table in &lt;/font&gt;&lt;span style="FONT-SIZE:10pt;COLOR:navy;FONT-FAMILY:Arial;mso-ansi-language:EN-GB;"&gt;&lt;a title="http://technet.microsoft.com/en-us/library/aa560178.aspx" href="http://technet.microsoft.com/en-us/library/aa560178.aspx"&gt;&lt;span style="mso-bidi-font-size:12.0pt;"&gt;http://technet.microsoft.com/en-us/library/aa560178.aspx&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;).&lt;span style="FONT-SIZE:10pt;COLOR:navy;FONT-FAMILY:Arial;"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;Alternatively, we resolved the issue in runtime. We implemented all the above steps with another predicate (e.g. NotEqual predicate), compiled and deployed the orchestrations. Now, after enlisting the orchestration (only after that), a new records are inserted for us in the &lt;/font&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[BizTalkMsgBoxDb]&lt;span style="COLOR:gray;"&gt;.&lt;/span&gt;[dbo]&lt;span style="COLOR:gray;"&gt;.&lt;/span&gt;[NotEqualsPredicates]&lt;/span&gt;&lt;font face="Times New Roman" size="3"&gt; table, for each orchestration filter expression definition. At this stage, we moved the records to &lt;/font&gt;&lt;span style="FONT-SIZE:10pt;FONT-FAMILY:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt;[BizTalkMsgBoxDb]&lt;span style="COLOR:gray;"&gt;.&lt;/span&gt;[dbo]&lt;span style="COLOR:gray;"&gt;.&lt;/span&gt;[BitwiseANDPredicates]&lt;/span&gt;&lt;font face="Times New Roman" size="3"&gt; table. We started all the application components and …. All worked as designed!!!!!&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;This resolved the issue but is not supported by Microsoft.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=215031" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/filter+expression/default.aspx">filter expression</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/bitwiseand/default.aspx">bitwiseand</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/predicate/default.aspx">predicate</category></item><item><title>Consuming Web-Service method with string as input parameter</title><link>http://blogs.microsoft.co.il/blogs/rel/archive/2008/08/20/consuming-web-service-method-with-string-as-input-parameter.aspx</link><pubDate>Wed, 20 Aug 2008 01:10:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:131590</guid><dc:creator>Ariel ITzhaky</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/rel/rsscomments.aspx?PostID=131590</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/rel/archive/2008/08/20/consuming-web-service-method-with-string-as-input-parameter.aspx#comments</comments><description>&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Most &amp;quot;hello world&amp;quot; sample of generating &amp;amp; consuming Web-Services starts with simple method that passes string parameters between the service provider &amp;amp; consumer.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Somehow, the approach for the very same sample get complex in BizTalk world.&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Our aim is to consume the &amp;quot;hello world&amp;quot; web service method that as I mentioned before has a string input parameter.&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;The real question is what message formation we should send to the SOAP send port so that the SOAP adapter comprehend that we want to send our data in the string parameter.&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt; 
&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;It&amp;#39;s really not a problem. I think that BizTalk guys are so schema oriented that when they encounter a simple issue they got staled and confused, like in our scenario. &lt;span style="FONT-SIZE:12pt;FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:HE;"&gt;Usually this issue is follows with serialization errors.&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;So here is the simple solution, the message sent through the SOAP adapter should be formed like this:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;strong&gt;&amp;lt;string&amp;gt;&lt;/strong&gt; &lt;i&gt;the string to pass&lt;/i&gt; &lt;strong&gt;&amp;lt;/string&amp;gt;&lt;span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;span&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;When the above message is passed through the SOAP adapter, the adapter generates the proper SOAP message (considering the WSDL) with the proper parameter xml node.&lt;span&gt;&lt;/span&gt;&lt;/font&gt;&lt;span&gt;&lt;font face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt; 
&lt;p class="MsoNormal" dir="ltr" style="MARGIN:0cm 0cm 0pt;DIRECTION:ltr;unicode-bidi:embed;TEXT-ALIGN:left;"&gt;&lt;font face="Times New Roman" size="3"&gt;Hope this post saved time for you ...&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=131590" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/Send+Port/default.aspx">Send Port</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/string+parameter/default.aspx">string parameter</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/SOAP/default.aspx">SOAP</category></item><item><title>FTP adapter UN-throttling</title><link>http://blogs.microsoft.co.il/blogs/rel/archive/2008/06/23/ftp-adapter-un-throttling.aspx</link><pubDate>Mon, 23 Jun 2008 09:21:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:107679</guid><dc:creator>Ariel ITzhaky</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/rel/rsscomments.aspx?PostID=107679</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/rel/archive/2008/06/23/ftp-adapter-un-throttling.aspx#comments</comments><description>&lt;p&gt;Latly I encantered an issue with the FTP adapter in BizTalk Server 2006 R2 on 64 bit platform (the issue in not the platform).&lt;br /&gt;I configured a send port using the adapter to transmit a file to a remote ftp server.&lt;br /&gt;As described at &lt;a href="http://support.microsoft.com/kb/898106"&gt;http://support.microsoft.com/kb/898106&lt;/a&gt;, the FTP adapter throttling is keeping the connection to the server open,&lt;br /&gt;gaining the connection reusability.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s greate! BUT! what about some ftp servers that do not support persistant connections (or the organization security policies don&amp;#39;t permit it).&lt;/p&gt;
&lt;p&gt;Well, we didn&amp;#39;t find any working solution for that, although there are some sagestions about registry entries.&lt;br /&gt;&amp;nbsp;&lt;br /&gt;We are currently running with a walkaround of setting the the &amp;quot;after put&amp;quot; value to &amp;quot;QUIT&amp;quot;. This terminates the connection, from the server point of view,&lt;br /&gt;but couses abnormal behavior from the adapter side, generating transmission error.&lt;/p&gt;
&lt;p&gt;As I counting on the ACK message of the delivery, the walkaround is note answering all my needs. :(&lt;/p&gt;
&lt;p&gt;I hope to post an happy ending for this one.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;== Update 09/07/2008&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I had some sessions about the issue&amp;nbsp;with internal Microsoft stuff and they told me the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;This issue is&amp;nbsp;well known and recorded as&amp;nbsp;a&amp;nbsp;bug.&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;There is no hotfix for that issue at the moment and maybe avalible in future release.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Using dynamic ports could be a walkaround.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Hope this helped anyone.&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=107679" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/ACK/default.aspx">ACK</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/Close+connection/default.aspx">Close connection</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/QUIT/default.aspx">QUIT</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/ftp+adapter/default.aspx">ftp adapter</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/BizTalk+Server+2006+R2/default.aspx">BizTalk Server 2006 R2</category></item><item><title>Delivery Notification with Direct Send Port</title><link>http://blogs.microsoft.co.il/blogs/rel/archive/2007/10/20/delivery-notification-with-direct-send-port.aspx</link><pubDate>Sat, 20 Oct 2007 21:55:00 GMT</pubDate><guid isPermaLink="false">b5c4f5bc-c09b-4439-a595-91a98c1847df:28560</guid><dc:creator>Ariel ITzhaky</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.microsoft.co.il/blogs/rel/rsscomments.aspx?PostID=28560</wfw:commentRss><comments>http://blogs.microsoft.co.il/blogs/rel/archive/2007/10/20/delivery-notification-with-direct-send-port.aspx#comments</comments><description>&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;It&amp;#39;s&amp;nbsp;been a&amp;nbsp;while I&amp;#39;m trying to understand how to&amp;nbsp;perform a &lt;strong&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;Delivery Notification&lt;/span&gt;&lt;/strong&gt; on&amp;nbsp;a BizTalk &lt;strong&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;Direct&lt;/span&gt;&lt;/strong&gt; Logical Send Port. All the samples and the posts around the issue never mentioned sending the message directly into the MsgBox. They all talked about the guidance of performing the ACK/NACK on a Specify Later, Specify Now or Dynamic port configuration - not Direct.&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Well here&amp;nbsp;is how I did it on a Direct style:&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Assuming the message I&amp;#39;m trying to send (and check for delivery) is called &lt;u&gt;msgDeliver&lt;/u&gt;, On a&amp;nbsp;Message Assignment&amp;nbsp;Shape before the Direct Send Shape, write the following:&lt;br /&gt;&lt;br /&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#00b050;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;"&gt;//Restore the original message using XmlDocument&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;mso-themecolor:text2;"&gt;msgDeliver = xDoc; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#00b050;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;"&gt;&lt;br /&gt;//Set the Acknowlegment Flag to true&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;mso-themecolor:text2;"&gt;msgDeliver(BTS.AckRequired) = true; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#00b050;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;"&gt;&lt;br /&gt;//Generate a correlation token&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;mso-themecolor:text2;"&gt;msgDeliver(BTS.CorrelationToken) = System.Convert.ToString(System.Guid.NewGuid());&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#00b050;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;"&gt;&lt;br /&gt;//Set a routing value like the SPTransport&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;mso-themecolor:text2;"&gt;&lt;br /&gt;msgDeliver(BTS.SPTransportID)=&amp;quot;{4504D95B-5E81-42CF-912D-17A7362E2024}&amp;quot;; &lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;mso-themecolor:text2;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#1f497d;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;mso-themecolor:text2;"&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:10pt;COLOR:#00b050;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-bidi-font-size:12.0pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;&lt;br /&gt;2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Add a Send Shape to send the msgDeliver message and link it to a logical Direct Send Port.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;3.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Create three separate Correlation Sets for BTS.AckRequired, BTS.CorrelationToken and BTS.SPTransportID.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;4.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Configure the Send Shape to Init the three above correlation sets.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;5.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Create&amp;nbsp;a new message&amp;nbsp;and call it msgAckNack of type -&amp;nbsp;&lt;b&gt;System.Xml.XmlDocument&lt;/b&gt;.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;6.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Under the&amp;nbsp;send shape add two Direct Receive Shapes, config them to follow the correlation for BTS.CorrelationToken (the first is a dummy subscription for the message sent and the second is for the SOAP NACK message, or the kind of empty ACK message).&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;7.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Configure the&amp;nbsp;two receive shapes to get the&amp;nbsp;msgAckNack message, and link the two receive shapes to a logical direct receive port.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;&lt;br /&gt;8.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;Now you can analyze the msgAckNack and see if the message was deivered safely (no need of a Scope shape to get the DeliveryNotification exception because there the NACK is not interprated here as an exception).&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;mso-fareast-font-family:Arial;mso-fareast-theme-font:minor-bidi;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font size="3"&gt;9.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-ascii-theme-font:minor-bidi;mso-hansi-theme-font:minor-bidi;mso-bidi-theme-font:minor-bidi;"&gt;&lt;font size="3"&gt;On a succesful delivery the msgAckNack will contain something like:&lt;br /&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;span style="COLOR:#00b050;"&gt;&amp;lt;String/&amp;gt;&lt;br /&gt;&lt;/span&gt;and on a failing delivery it will contain a SOAP message like that:&lt;br /&gt;&lt;span style="COLOR:#00b050;"&gt;&amp;lt;SOAP:Envelope xmlns:SOAP=&amp;quot;http://schemas.xmlsoap.org/soap/envelope/&amp;quot; SOAP:encodingStyle=&amp;quot;http://schemas.xmlsoap.org/soap/encoding/&amp;quot;&amp;gt;&amp;lt;SOAP:Body&amp;gt;&amp;lt;SOAP:Fault&amp;gt;&amp;lt;faultcode&amp;gt;Microsoft BizTalk Server Negative Acknowledgment &amp;lt;/faultcode&amp;gt;&amp;lt;faultstring&amp;gt;An error occurred while processing the message, refer to the details section for more information &amp;lt;/faultstring&amp;gt;&amp;lt;faultactor&amp;gt;C:\TestSendListen\Send1\%MessageID%.xml&amp;lt;/faultactor&amp;gt;&amp;lt;detail&amp;gt;&amp;lt;ns0:NACK Type=&amp;quot;NACK&amp;quot; xmlns:ns0=&amp;quot;http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd&amp;quot;&amp;gt;&amp;lt;NAckID&amp;gt;{0BC59C8E-45A2-4292-B1FA-05D1ABA00D27}&amp;lt;/NAckID&amp;gt;&amp;lt;ErrorCode&amp;gt;0xc0c01c10&amp;lt;/ErrorCode&amp;gt;&amp;lt;ErrorCategory&amp;gt;0&amp;lt;/ErrorCategory&amp;gt;&amp;lt;ErrorDescription&amp;gt;The FILE send adapter cannot open file C:\TestSendListen\Send1\{846067E1-5C29-4EAE-9308-401B7F913B4F}.xml for writing.&lt;br /&gt;&amp;nbsp;Details: The system cannot find the path specified.&lt;br /&gt;&amp;nbsp;&amp;lt;/ErrorDescription&amp;gt;&amp;lt;/ns0:NACK&amp;gt;&amp;lt;/detail&amp;gt;&amp;lt;/SOAP:Fault&amp;gt;&amp;lt;/SOAP:Body&amp;gt;&amp;lt;/SOAP:Envelope&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.microsoft.co.il/aggbug.aspx?PostID=28560" width="1" height="1"&gt;</description><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/Send+Port/default.aspx">Send Port</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/NACK/default.aspx">NACK</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/Delivery+Notification/default.aspx">Delivery Notification</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/Direct/default.aspx">Direct</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/ACK/default.aspx">ACK</category><category domain="http://blogs.microsoft.co.il/blogs/rel/archive/tags/BizTalk/default.aspx">BizTalk</category></item></channel></rss>
