<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/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>Vincent Scheel - All Comments</title><link>http://bloggingabout.net/blogs/vincent/default.aspx</link><description>Blogging about my adventures with BizTalk Server.</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#578338</link><pubDate>Wed, 20 Feb 2013 13:12:29 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578338</guid><dc:creator>Carsten</dc:creator><description>&lt;p&gt;Hi Vincent,&lt;/p&gt;
&lt;p&gt;Thanks - this helped me.&lt;/p&gt;
&lt;p&gt;Just thought i&amp;#39;d mention - I recently had this problem and your solution initialy did not work for me. I got an error with - &amp;quot;There was a failure executing the response(receive) pipeline ... No Disassemble stage components can recognize the data&amp;quot;&lt;/p&gt;
&lt;p&gt;As it turned out the problem was that I had two root elements in my schema - and I hadn&amp;#39;t specified which one I wanted in &amp;quot;DocumentSpecNames&amp;quot;. I had a xxxRequest and xxxResponse element. So I had to add +xxxResponse to get the type name from the Schema name. That may be elementary for others, but it frustrated me for an hour or so...&lt;/p&gt;
&lt;p&gt;Regards &lt;/p&gt;
&lt;p&gt;Carsten&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578338" width="1" height="1"&gt;</description></item><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#578333</link><pubDate>Mon, 18 Feb 2013 11:49:46 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578333</guid><dc:creator>Vincent Scheel</dc:creator><description>&lt;p&gt;Hi Darren,&lt;/p&gt;
&lt;p&gt;My apologies for the late reaction. To solve your problem you would use the solution in the blogpost on the OLD receive pipelines. By doing so, the new ports will cast to the new schema&amp;#39;s and the old ports will be forced to use the old version.&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Vincent Scheel&lt;/p&gt;
&lt;p&gt;IT-grator&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578333" width="1" height="1"&gt;</description></item><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#578178</link><pubDate>Fri, 09 Nov 2012 11:44:14 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578178</guid><dc:creator>Darren</dc:creator><description>&lt;p&gt;Hi Vincent i have the following issue and im wondering about the best way to resolve this. Basically i have a biztalk application installed and this application has two receive locations, two receive ports and two send ports.&lt;/p&gt;
&lt;p&gt;One set of ports are for live and one set of ports are for pre-production&lt;/p&gt;
&lt;p&gt;The problem is they both run off the same underlying schemas and maps.&lt;/p&gt;
&lt;p&gt;I have had to update the schemas and maps to add additional elements and my issue is they want to test this in pre-prodcution but obviously if i import the new dll&amp;#39;s the live application will also pick these up.&lt;/p&gt;
&lt;p&gt;What is the best solution to keep the live application still up and running pointing to the old dll&amp;#39;s(schemas and maps) and allow the users to test the new pre-production version on the new version of dll&amp;#39;s (maps and schemas).&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578178" width="1" height="1"&gt;</description></item><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#576421</link><pubDate>Fri, 28 Oct 2011 08:38:26 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:576421</guid><dc:creator>Vincent Scheel</dc:creator><description>&lt;p&gt;Dear Siraj,&lt;/p&gt;
&lt;p&gt;The situation you suggested was one I had not tested yet. This morning I have tried this in the following way:&lt;/p&gt;
&lt;p&gt;Created a project with:&lt;/p&gt;
&lt;p&gt;Two schema&amp;#39;s in a schema project: input and output - assembly version 1.0.0.0. Both schema&amp;#39;s had two child elements: NodeA and NodeB.&lt;/p&gt;
&lt;p&gt;One mapping in a map project (version 1.0.0.0): map from schema input to schema output.&lt;/p&gt;
&lt;p&gt;I deployed the above artifacts and created a standard File receive to File send test setup, with the map on the ReceivePort.&lt;/p&gt;
&lt;p&gt;Then I edited the schema&amp;#39;s, adding NodeC and changed the assembly version to 1.0.1.0. I deployed this new schema assembly (note: I did not deploy a new version of the Map project!).&lt;/p&gt;
&lt;p&gt;When I removed the map from the receive port and stopped the send port, I could see the message was casted to the new assembly version: 1.0.1.0 by the XmlDisasembler on the ReceivePort.&lt;/p&gt;
&lt;p&gt;Then I readded the map to the receive port and tried it again. The outgoing message on the send port was of the OLD assembly version: 1.0.0.0. The map did execute as before.&lt;/p&gt;
&lt;p&gt;So it seems that the map does not check the assembly version of an input message (which makes sense, because there is no reference to a assembly version in the entire .btm map file). However, because the assembly of the map references the old version of the schema dll, it does create an output message of the old version.&lt;/p&gt;
&lt;p&gt;Hopefully that answered your question! Thank you for visiting my blog!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vincent Scheel&lt;/p&gt;
&lt;p&gt;IT-grator&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=576421" width="1" height="1"&gt;</description></item><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#576417</link><pubDate>Fri, 28 Oct 2011 01:52:34 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:576417</guid><dc:creator> ice maker machine </dc:creator><description>&lt;p&gt;Wow! This blog looks exactly like my old one! It&amp;#39;s on a completely different topic but it has pretty much the same page layout and design. Superb choice of colors!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=576417" width="1" height="1"&gt;</description></item><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#576415</link><pubDate>Thu, 27 Oct 2011 18:21:28 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:576415</guid><dc:creator>Siraj</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it possible to use a single biz talk map to handel XML&amp;#39;s of different versions?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=576415" width="1" height="1"&gt;</description></item><item><title>re: Exposing BizTalk Schemas as a SOAP-RPC/Encoded webservice</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/12/exposing-biztalk-schemas-as-a-soap-rpc-encoded-webservice.aspx#484074</link><pubDate>Tue, 21 Sep 2010 07:54:18 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484074</guid><dc:creator>air max</dc:creator><description>&lt;p&gt;I Really enjoyed your blog. I just bookmarked it. I am a regular visitor of your website I will share It with my friends .Thanks.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484074" width="1" height="1"&gt;</description></item><item><title>re: BizTalk BAM event not written from PipelineComponent when port fails</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/04/07/bam-event-not-written-from-pipelinecomponent-when-port-fails.aspx#484073</link><pubDate>Tue, 21 Sep 2010 07:53:51 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484073</guid><dc:creator>air max</dc:creator><description>&lt;p&gt;It is my pleasure to read your article, your article is very wonderful. Thank you for sharing!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484073" width="1" height="1"&gt;</description></item><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#483591</link><pubDate>Fri, 18 Jun 2010 07:27:26 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483591</guid><dc:creator>Vincent Scheel</dc:creator><description>&lt;p&gt;Hi Amit,&lt;/p&gt;
&lt;p&gt;What you describe is explained by the fact that the receive pipeline automaticly casts the received message to the latest version of the schema. In your case the solution mentioned in my article is not going to work, since you also receive messages of the new type on the same port. Setting the old schema as the DocumentSpecNames property would cause to cast all received messages to the old version (including messages of the new type).&lt;/p&gt;
&lt;p&gt;I would suggest creating two sollicit-response ports. One with the DocumentSpecNames property on the receive pipeline set to your old schema version and one with the new version of the schema. You should bind the old version of the orchestration to the send port with the old schema set and the new version of the orchestration to the send port with the new schema set in de receive pipeline.&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Vincent Scheel&lt;/p&gt;
&lt;p&gt;IT-grator&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483591" width="1" height="1"&gt;</description></item><item><title>re: BizTalk: Two versions of a schema side by side and using them in orchestrations</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/26/biztalk-two-versions-of-a-schema-side-by-side-and-using-them-in-orchestrations-UnexpectedMessageTypeException.aspx#483578</link><pubDate>Wed, 16 Jun 2010 20:36:55 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483578</guid><dc:creator>Amit </dc:creator><description>&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;i have one application withy version 1, i have modified application and created version 2. both version are calling same web service but different methods in it. i deployed both versions. version 2 is working fine but when version 1 orchestration pick up the message and send to the web service and getting response message it throws error message saying that /* Style Definitions */ table.MsoNormalTable {mso-style-name:&amp;quot;Table Normal&amp;quot;; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:&amp;quot;&amp;quot;; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:&amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:&amp;quot;Times New Roman&amp;quot;; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} Microsoft.XLANGs.Core.UnexpectedMessageTypeException: Received unexpected message type.&lt;/p&gt;
&lt;p&gt;the total error message is &lt;/p&gt;
&lt;p&gt;Microsoft.XLANGs.Core.UnexpectedMessageTypeException: Received unexpected message type &amp;#39;LSC.FundingData.Import.DLF.Orchestrations.SSoADataImportService.Reference+AdultSSoAData, LSC.FundingData.Import.DLF.Orchestrations, Version=2.0.0.0, Culture=neutral, PublicKeyToken=82632b94b069a919&amp;#39; does not match expected type &amp;#39;LSC.FundingData.Import.DLF.Orchestrations.SSoADataImportService.Reference+AdultSSoAData, LSC.FundingData.Import.DLF.Orchestrations, Version=1.0.1.0, Culture=neutral, PublicKeyToken=82632b94b069a919&amp;#39;.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.XLANGs.Core.XMessage._verifyPublisherSchema() &amp;nbsp; at Microsoft.XLANGs.Core.XMessage.FetchProperties() &amp;nbsp; at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.ReceiveMessage(Int32 iOperation, Envelope env, XLANGMessage msg, Correlation[] initCorrelations, Context cxt, Segment s) &amp;nbsp; at LSC.FundingData.Import.DLF.Orchestrations.DLFAdultFundingDataImport.segment6(StopConditions stopOn)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception&amp;amp; exp)&lt;/p&gt;
&lt;p&gt;Microsoft.XLANGs.Core.UnexpectedMessageTypeExceptionScoped@&lt;/p&gt;
&lt;p&gt;DLFAdultFundingDataImport.??__scope34&lt;/p&gt;
&lt;p&gt;DLFAdultFundingDataImport.??__scope33&lt;/p&gt;
&lt;p&gt;DLFAdultFundingDataImport.DLFAdultFundingDataImport&lt;/p&gt;
&lt;p&gt;20d2d333-4794-4976-a37d-21544dfe0587&lt;/p&gt;
&lt;p&gt;as per my understanding when orchestration sends message to webservice and getting reply back from web service there are two subscriber for response one is version 1 orch adn second is version 2 orch and by default it is picking up by the second version orch. &lt;/p&gt;
&lt;p&gt;if that is right can you help me to solve this?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483578" width="1" height="1"&gt;</description></item><item><title>re: BizTalk BAM event not written from PipelineComponent when port fails</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/04/07/bam-event-not-written-from-pipelinecomponent-when-port-fails.aspx#483073</link><pubDate>Thu, 08 Apr 2010 08:25:41 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483073</guid><dc:creator>Patrick Wellink</dc:creator><description>&lt;p&gt;Hee Vince,&lt;/p&gt;
&lt;p&gt;Nice to see you figured it out by yourself. (could have given me a call though...) &lt;/p&gt;
&lt;p&gt;The same behaviour you get with inspecting the message. Say you have three pipecomponents and each alters the message. You would expect that if the pipeline fails on pipecomp 3 you would get a message altered by pipecomp 1 and 2. However the original incoming message (so before it enters the pipeline) is stored. Funny enough though... Any context props that you modify and add are stored. So context is not rolled back ( I use exactly this functionalitu in BBP for resubmits on failed messages). &lt;/p&gt;
&lt;p&gt;Anyway back to your issue : &lt;/p&gt;
&lt;p&gt;I believe that that last issue ( write to bam if send failes is solved with SP1)&lt;/p&gt;
&lt;p&gt;see : 942024 &amp;nbsp;(&lt;a rel="nofollow" target="_new" href="http://support.microsoft.com/kb/942024/"&gt;support.microsoft.com/.../942024&lt;/a&gt; ) FIX: A Business Activity Monitoring (BAM) activity is not rolled back when the send port fails in delivering the output message in BizTalk Server 2006 &lt;/p&gt;
&lt;p&gt;However DO NOT INSTALL SP1 !!!!!!!!&lt;/p&gt;
&lt;p&gt;it&amp;#39;s utter crap..... As far as my experience goes it breaks the following :&lt;/p&gt;
&lt;p&gt;1. Disassembly in receive pipelines&lt;/p&gt;
&lt;p&gt;2. The complete WCF database stuff....&lt;/p&gt;
&lt;p&gt;3. And there is more&lt;/p&gt;
&lt;p&gt;Nice to know you&amp;#39;r still BizTalking........ !!!!!!!!!!!1&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483073" width="1" height="1"&gt;</description></item><item><title>re: BizTalk BAM event not written from PipelineComponent when port fails</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/04/07/bam-event-not-written-from-pipelinecomponent-when-port-fails.aspx#483072</link><pubDate>Thu, 08 Apr 2010 06:52:20 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483072</guid><dc:creator>Vincent Scheel</dc:creator><description>&lt;p&gt;Thanks for your comment Thiago. I just tried and I do not get the same behaviour with a send port. The send port writes to BAM even if the port fails.&lt;/p&gt;
&lt;p&gt;So I have the same finding as you!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vincent Scheel &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483072" width="1" height="1"&gt;</description></item><item><title>re: BizTalk BAM event not written from PipelineComponent when port fails</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/04/07/bam-event-not-written-from-pipelinecomponent-when-port-fails.aspx#483070</link><pubDate>Wed, 07 Apr 2010 21:20:39 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:483070</guid><dc:creator>Thiago Almeida</dc:creator><description>&lt;p&gt;Nice to know Vincent, and it makes sense. It uses the same transaction as the endpoint manager does to write the message to the message box, and if it fails it gets rolled back.&lt;/p&gt;
&lt;p&gt;I wrote a post talking about using the underlying connection on a receive port:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://connectedthoughts.wordpress.com/2010/03/24/hooking-into-biztalks-underlying-transaction-in-your-custom-receive-pipeline-component/"&gt;connectedthoughts.wordpress.com/.../hooking-into-biztalks-underlying-transaction-in-your-custom-receive-pipeline-component&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have you tried this on a send port as well &amp;nbsp;to see if it also rolls back? From my experience while writing that blog post I was only able to hook into the transaction on the receive pipeline.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Thiago Almeida&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=483070" width="1" height="1"&gt;</description></item><item><title>re: Exposing BizTalk Schemas as a SOAP-RPC/Encoded webservice</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/12/exposing-biztalk-schemas-as-a-soap-rpc-encoded-webservice.aspx#482703</link><pubDate>Mon, 18 Jan 2010 20:20:40 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482703</guid><dc:creator>Rob van Duijn</dc:creator><description>&lt;p&gt;Nice post!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482703" width="1" height="1"&gt;</description></item><item><title>re: Exposing BizTalk Schemas as a SOAP-RPC/Encoded webservice</title><link>http://bloggingabout.net/blogs/vincent/archive/2010/01/12/exposing-biztalk-schemas-as-a-soap-rpc-encoded-webservice.aspx#482680</link><pubDate>Wed, 13 Jan 2010 07:01:02 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482680</guid><dc:creator>Patrick Wellink</dc:creator><description>&lt;p&gt;Hee, welcome to bloglines.&lt;/p&gt;
&lt;p&gt;Nice article, hope i will need this in the future.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482680" width="1" height="1"&gt;</description></item></channel></rss>