<?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>Jeffrey Chilberto</title><link>http://bloggingabout.net/blogs/chilberto/default.aspx</link><description>.Net Developer</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>AzureGames</title><link>http://bloggingabout.net/blogs/chilberto/archive/2013/02/17/azuregames.aspx</link><pubDate>Sat, 16 Feb 2013 20:06:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:578330</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=578330</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=578330</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2013/02/17/azuregames.aspx#comments</comments><description>&lt;p&gt;With a couple of colleagues, I have started a new project: &lt;a target="_blank" href="http://azuregamessandpit.cloudapp.net/"&gt;AzureGames&lt;/a&gt;.&amp;nbsp; I was inspired by the Microsoft &lt;a target="_blank" href="https://github.com/WindowsAzure-Toolkits/wa-toolkit-games"&gt;Windows Azure Toolkit for Social Games&lt;/a&gt;, and was started as a &lt;a target="_blank" href="http://azuregames.codeplex.com/"&gt;CodePlex&lt;/a&gt; site.&lt;/p&gt;
&lt;p&gt;We are currently flushing out the bugs for the basic platform.&amp;nbsp; As we don&amp;rsquo;t have time to also write the games to host, we are looking for submissions so if you have a html5 game you don&amp;rsquo;t mind us hosting, let me know!&lt;/p&gt;
&lt;p&gt;There is a WordPress &lt;a target="_blank" href="http://azuregames.azurewebsites.net/"&gt;AzureGames website&lt;/a&gt; that has the latest status of the site including some game related articles and information about the project. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=578330" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Azure/default.aspx">Azure</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Game/default.aspx">Game</category></item><item><title>Running Weltmeister in IIS 7</title><link>http://bloggingabout.net/blogs/chilberto/archive/2011/12/14/running-weltmeister-in-iis-7.aspx</link><pubDate>Wed, 14 Dec 2011 09:51:05 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:577007</guid><dc:creator>chilberto</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=577007</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=577007</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2011/12/14/running-weltmeister-in-iis-7.aspx#comments</comments><description>&lt;p&gt;The &lt;a href="http://impactjs.com/" target="_blank"&gt;Impact Javascript Game Engine&lt;/a&gt; comes with level editor: &lt;a href="http://impactjs.com/documentation/weltmeister" target="_blank"&gt;Weltmeister&lt;/a&gt;.&amp;#160; This is primarily built with javascript but does include some php scripting.&amp;#160; &lt;/p&gt;  &lt;p&gt;This post will hopefully save some windows developers some time getting started.&lt;/p&gt;  &lt;p&gt;&lt;em&gt;There is also an open-source &lt;/em&gt;&lt;a href="http://code.google.com/p/impactjs-iis-backend/" target="_blank"&gt;&lt;em&gt;project&lt;/em&gt;&lt;/a&gt;&lt;em&gt; available that accomplishes this without installing PHP.&amp;#160; This accomplishes this by introducing ASPX pages which mimic the PHP scripts.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt; I am running a basic install of IIS 7.0 on Windows 7.&amp;#160; In summary, the steps I took to get the level editor to function were to install &lt;a href="http://php.iis.net/" target="_blank"&gt;PHP in IIS&lt;/a&gt; and to run the site with windows authentication.&lt;/p&gt;  &lt;h1&gt;&lt;/h1&gt;  &lt;h3&gt;Installing PHP&lt;/h3&gt;  &lt;p&gt;Setting up PHP in IIS is as a simple as using the web installer via the &lt;a href="http://php.iis.net/" target="_blank"&gt;PHP in IIS&lt;/a&gt; site and then performing some configuration of PHP in IIS.&amp;#160; There is a &lt;a href="http://learn.iis.net/page.aspx/375/set-up-fastcgi-for-php/" target="_blank"&gt;video&lt;/a&gt; regarding the steps required after the installation.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6180.image_5F00_1967635C.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1513.image_5F00_thumb_5F00_4A39F4FA.png" width="634" height="261" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;Security&lt;/h3&gt;  &lt;p&gt;Because the Weltmeister must interact with the file system, sufficient access rights must be given.&amp;#160; The easiest way is to enable Windows Authentication on the site.&amp;#160; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8311.image_5F00_5C7295EF.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1856.image_5F00_thumb_5F00_3A3A8A69.png" width="516" height="219" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=577007" width="1" height="1"&gt;</description></item><item><title>HRESULT: 0x80131942 Microsoft.XLANGs.Core.XlangSoapException: An error occurred while processing the message</title><link>http://bloggingabout.net/blogs/chilberto/archive/2011/02/11/hresult-0x80131942-microsoft-xlangs-core-xlangsoapexception-an-error-occurred-while-processing-the-message.aspx</link><pubDate>Thu, 10 Feb 2011 22:54:16 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484782</guid><dc:creator>chilberto</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=484782</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=484782</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2011/02/11/hresult-0x80131942-microsoft-xlangs-core-xlangsoapexception-an-error-occurred-while-processing-the-message.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;In case this helps someone track down a silly little defect…&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;I have an orchestration that uses an outbound map on a send port.&amp;#160; The map had a script shape that had incorrect xslt.&amp;#160; Simply running the Test Map would have caught this one and saved me some time.&amp;#160; &lt;/p&gt;  &lt;p&gt;The full detail of the Exception Message (tracked via the Orchestation Debugger –&amp;gt; Show Tracked Exceptions):&lt;/p&gt;  &lt;p&gt;&lt;font color="#ff0000" size="1"&gt;Microsoft.XLANGs.Core.XlangSoapException: An error occurred while processing the message, refer to the details section for more information      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;Message ID: {4C5A6C53-46B7-46FA-9501-86F6462374B0}      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;Instance ID: {46EF83ED-3DDD-4B33-972E-93C80FE4D06A}      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;Error Description: Exception from HRESULT: 0x80131942      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;&amp;#160;&amp;#160; at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.VerifyTransport(Envelope env, Int32 operationId, Context ctx)      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;&amp;#160;&amp;#160; at Microsoft.XLANGs.Core.Subscription.Receive(Segment s, Context ctx, Envelope&amp;amp; env, Boolean topOnly)      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;&amp;#160;&amp;#160; at Microsoft.XLANGs.Core.PortBase.GetMessageIdForSubscription(Subscription subscription, Segment currentSegment, Context cxt, Envelope&amp;amp; env, CachedObject location)      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;&amp;#160;&amp;#160; at MyOrchestration.WithAMap.segment1(StopConditions stopOn)      &lt;br /&gt;&lt;/font&gt;&lt;font color="#ff0000" size="1"&gt;&amp;#160;&amp;#160; at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception&amp;amp; exp)      &lt;br /&gt;Microsoft.XLANGs.Core.XlangSoapException       &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484782" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>Windows Workflow 4.0 Correlation Example Continued…</title><link>http://bloggingabout.net/blogs/chilberto/archive/2011/01/14/windows-workflow-4-0-correlation-example-continued.aspx</link><pubDate>Thu, 13 Jan 2011 20:24:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484595</guid><dc:creator>chilberto</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=484595</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=484595</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2011/01/14/windows-workflow-4-0-correlation-example-continued.aspx#comments</comments><description>&lt;p&gt;Using the sequential workflow built in the previous &lt;a href="http://bloggingabout.net/blogs/chilberto/archive/2011/01/13/windows-workflow-4-0-correlation-example.aspx"&gt;post&lt;/a&gt;, we will continue the correlation example using Windows Workflow 4.0.&lt;/p&gt;
&lt;p&gt;The following illustrates the current workflow so far:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1261.image_5F00_41C37128.png"&gt;&lt;img height="391" width="442" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7282.image_5F00_thumb_5F00_3B9C248D.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The concept is the workflow instance will now wait until either an OrderApproval for the same order is received or a specified amount of time elapses.&amp;nbsp; This is done by using a Pick shape with two branches.&amp;nbsp; In the screenshot below, note the altered display name properties:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5732.image_5F00_2AD479DF.png"&gt;&lt;img height="63" width="444" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0652.image_5F00_thumb_5F00_421F7E50.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To capture the OrderApproval message, drop a ReceiveAndSendReply shape into the Trigger section of the ApprovalReceived shape.&amp;nbsp; Set the receive shape&amp;rsquo;s DisplayName and OperationName to ReceiveApproval and SubmitApproval.&amp;nbsp; Set the DisplayName of the SendReply shape to AcknowledgeApproval:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/2318.image_5F00_2053A5BF.png"&gt;&lt;img height="356" width="273" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/2626.image_5F00_thumb_5F00_130D1CAC.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Next specify the approval message to be received.&amp;nbsp; This will contain two parameters: the orderNumber to be used to correlate and an OrderApproval object.&amp;nbsp; Note: specify the Assign To value for the approval parameter.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6685.image_5F00_427B8B78.png"&gt;&lt;img height="299" width="416" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5282.image_5F00_thumb_5F00_4E30D2AA.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The reply will contain a string to acknowledge the approval was received.&amp;nbsp; This is specified in the SendReply shape&amp;rsquo;s Content property:&lt;/p&gt;
&lt;pre class="csharpcode"&gt;System.String.Format(&lt;span class="str"&gt;&amp;quot;Order {0} approval was set to {1} on {2}.&amp;quot;&lt;/span&gt;, order.OrderNumber, order.Approval.WasApproved, order.Approval.DateApproved)&lt;/pre&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3806.image_5F00_2BF8C724.png"&gt;&lt;img height="136" width="493" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4774.image_5F00_thumb_5F00_5C3F9BDA.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the ApprovalNotReceived branch, drop a Delay shape in the Trigger section and a TerminateWorkflow shape in the Action section:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1856.image_5F00_3A079054.png"&gt;&lt;img height="407" width="300" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5758.image_5F00_thumb_5F00_515294C5.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Change the Delay shape&amp;rsquo;s properties as follows (for this example, 30 seconds will be the duration to wait until an approval is received):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4846.image_5F00_7CB6B5BF.png"&gt;&lt;img height="131" width="466" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7433.image_5F00_thumb_5F00_66146778.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The TerminateWorkflow shape will need an Exception specified and a Reason entered:&lt;/p&gt;
&lt;pre class="csharpcode"&gt;System.String.Format(&lt;span class="str"&gt;&amp;quot;Order {0} was not approved within the Timeout period.&amp;quot;&lt;/span&gt;, order.OrderNumber)&lt;/pre&gt;
&lt;p&gt;

&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7318.image_5F00_31939530.png"&gt;&lt;img height="139" width="430" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8130.image_5F00_thumb_5F00_76CBEC59.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h5&gt;Now to correlate the two messages so the OrderApproval is associated with the initial Order.&lt;/h5&gt;
&lt;p&gt;First define a new CorrelationHandle variable with the scope of the entire Sequential Service:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5381.image_5F00_7B61F713.png"&gt;&lt;img height="91" width="503" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0878.image_5F00_thumb_5F00_64BFA8CC.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the ReceiveNewOrder shape, set the CorrelatesWith property to the corr variable:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3426.image_5F00_0970C044.png"&gt;&lt;img height="195" width="370" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4214.image_5F00_thumb_5F00_35AD4728.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Initialize the CorrelationHandle by adding the variable in the CorrelationInitializers property:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4186.image_5F00_2C710BE7.png"&gt;&lt;img height="224" width="404" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4034.image_5F00_thumb_5F00_18777951.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the XPath Queries section specify to use the value of the Order.OrderNumber received in the message:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0511.image_5F00_75D33AD5.png"&gt;&lt;img height="87" width="394" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4762.image_5F00_thumb_5F00_0D8A723C.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To associate the OrderApproval message, set the ReceiveApproval&amp;rsquo;s CorrelatesWith property to use the corr variable:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0066.image_5F00_64332A3D.png"&gt;&lt;img height="195" width="370" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4405.image_5F00_thumb_5F00_34950BB1.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Instead of initializing a new CorrelationHandle, we are going to use the existing handle so set the CorrelatesOn property (note the Query specifies the orderNumber parameter):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4578.image_5F00_125D002B.png"&gt;&lt;img height="249" width="452" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0511.image_5F00_thumb_5F00_7E636D94.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That&amp;rsquo;s it.&amp;nbsp; So run the project to verify the correlation works.&lt;/p&gt;
&lt;p&gt;Notice the project now has two endpoints: one for submitting the initial order and one for submitting the approval:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0317.image_5F00_09AC81D2.png"&gt;&lt;img height="154" width="449" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6758.image_5F00_thumb_5F00_20F78643.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Invoke a 101 order and verify the result:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1348.image_5F00_453C6AC5.png"&gt;&lt;img height="240" width="454" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0160.image_5F00_thumb_5F00_6E640303.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Within 30 seconds submit an approval for order 101 (in my example, I did not approve the order):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6036.image_5F00_12A8E786.png"&gt;&lt;img height="224" width="460" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0844.image_5F00_thumb_5F00_2987B902.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To test the timeout, submit another order and wait 30 seconds.&amp;nbsp; Now check the Tracked Events in the AppFabric dashboard (it might take a little while before the event is added to monitoring):&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3312.image_5F00_2DB190C7.png"&gt;&lt;img height="118" width="444" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4186.image_5F00_thumb_5F00_32479B81.png" alt="image" border="0" title="image" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the screenshot above, note the Reason is specified in the Errors tab.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484595" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/IIS/default.aspx">IIS</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Workflow/default.aspx">Workflow</category></item><item><title>Windows Workflow 4.0 Correlation Example</title><link>http://bloggingabout.net/blogs/chilberto/archive/2011/01/13/windows-workflow-4-0-correlation-example.aspx</link><pubDate>Thu, 13 Jan 2011 02:12:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484591</guid><dc:creator>chilberto</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=484591</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=484591</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2011/01/13/windows-workflow-4-0-correlation-example.aspx#comments</comments><description>&lt;p&gt;The following is an example of performing correlation using Windows Workflow 4.0.&lt;/p&gt;
&lt;p&gt;First create a new project based on the WCF Workflow Service Application template:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/2045.image3_5F00_17C0324E.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3730.image3_5F00_thumb_5F00_29BC500E.png" width="510" height="288" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Because I am interested in tracking the events in AppFabric during development, I will change the projects Web properties to host the service IIS instead of the Visual Studio Development Server:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6036.image12_5F00_0AB62C70.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4213.image12_5F00_thumb_5F00_639B6D2D.png" width="452" height="430" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When the settings are saved, create the virtual directory:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8712.image15_5F00_6AF72CDA.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/2742.image15_5F00_thumb_5F00_302F8404.png" width="330" height="133" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I renamed the file to be ApprovalService&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5518.image_5F00_02CDEE34.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7870.image_5F00_thumb_5F00_2BF58672.png" width="244" height="173" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and updated the WorkflowService properties ConfigurationName and Name to ApprovalService.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8400.image_5F00_224D183C.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3443.image_5F00_thumb_5F00_1572C21E.png" width="244" height="120" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In this example, I will use two datacontracts: Order and OrderApproval.&amp;nbsp; The process flow will be as follows:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Order submitted for approval&lt;/li&gt;
&lt;li&gt;Workflow waits until either a subsequent OrderApproval is received or the service times out&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;A new folder named Contracts is created to organise the new contracts:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5241.image_5F00_3A23D995.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5344.image_5F00_thumb_5F00_6A6AAE4B.png" width="241" height="143" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Add two classes: Order and OrderApproval&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note: if your template does not have a reference to System.Runtime.Serialization, then add reference.&amp;nbsp; You will be able to tell if the DataContract attribute does not resolve with the System.Runtime.Serialization:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0434.image_5F00_4EE5AC48.png"&gt;&lt;img style="background-image:none;border-right-width:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0181.image_5F00_thumb_5F00_17BC1E4F.png" width="244" height="201" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Order contract&lt;/p&gt;

&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Collections.Generic;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Linq;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Web;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Runtime.Serialization;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; Spike.OrderApproval.Contracts&lt;/pre&gt;
&lt;pre&gt;{&lt;/pre&gt;
&lt;pre class="alt"&gt;    [DataContract]&lt;/pre&gt;
&lt;pre&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; OrderApproval&lt;/pre&gt;
&lt;pre class="alt"&gt;    {&lt;/pre&gt;
&lt;pre&gt;        [DataMember]&lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;bool&lt;/span&gt; WasApproved { get; set; }&lt;/pre&gt;
&lt;pre&gt;        [DataMember]&lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; DateTime DateApproved { get; set; }&lt;/pre&gt;
&lt;pre&gt;    }&lt;/pre&gt;
&lt;pre class="alt"&gt;}&lt;/pre&gt;

&lt;p&gt;

&lt;/p&gt;
&lt;p&gt;The OrderApproval contract&lt;/p&gt;

&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Collections.Generic;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Linq;&lt;/pre&gt;
&lt;pre&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Web;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; System.Runtime.Serialization;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class="alt"&gt;&lt;span class="kwrd"&gt;namespace&lt;/span&gt; Spike.OrderApproval.Contracts&lt;/pre&gt;
&lt;pre&gt;{&lt;/pre&gt;
&lt;pre class="alt"&gt;    [DataContract]&lt;/pre&gt;
&lt;pre&gt;    &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;class&lt;/span&gt; Order&lt;/pre&gt;
&lt;pre class="alt"&gt;    {&lt;/pre&gt;
&lt;pre&gt;        [DataMember]&lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; &lt;span class="kwrd"&gt;int&lt;/span&gt; OrderNumber { get; set; }&lt;/pre&gt;
&lt;pre&gt;        [DataMember]&lt;/pre&gt;
&lt;pre class="alt"&gt;        &lt;span class="kwrd"&gt;public&lt;/span&gt; OrderApproval Approval { get; set; }&lt;/pre&gt;
&lt;pre&gt;    }&lt;/pre&gt;
&lt;pre class="alt"&gt;}&lt;/pre&gt;

&lt;p&gt;In the workflow service, add the following variable to represent a received order:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6076.image_5F00_2305328C.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1374.image_5F00_thumb_5F00_52DFD44D.png" width="501" height="275" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;On the receive shape, update the DisplayName, OperationName and ServiceContractName as shown below:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5327.image21_5F00_303B95D2.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5074.image21_5F00_thumb_5F00_02DA0002.png" width="393" height="438" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Set the content of the receive shape to set the order variable to the received payload:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5658.image_5F00_26467E9A.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3808.image_5F00_thumb_5F00_1D0A4359.png" width="398" height="285" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Set the content of the SendReply shape to return a string response:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5621.image_5F00_7AD237D2.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0743.image_5F00_thumb_5F00_7195FC91.png" width="410" height="295" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To test the service so far, set the ApprovalService.xamlx as the Start Page&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3343.image_5F00_6859C150.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3603.image_5F00_thumb_5F00_05EB9C50.png" width="391" height="370" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Run the project by pressing F5, the WCF Test Client should start:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6253.image_5F00_77607A5D.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6011.image_5F00_thumb_5F00_1BA55EE0.png" width="418" height="263" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Set the payload of the SubmitOrder method and click Invoke&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6242.image_5F00_0ADDB432.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7752.image_5F00_thumb_5F00_0F73BEEC.png" width="462" height="124" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Response should be displayed:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5123.image_5F00_3EE22DB8.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6433.image_5F00_thumb_5F00_6B1EB49C.png" width="393" height="64" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Inside of the AppFabric Dashboard, the following events have been tracked:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6371.image_5F00_14464CDB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7624.image_5F00_thumb_5F00_187024A0.png" width="409" height="147" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Notice how the Workflow Service properties influence the tracked events.&lt;/p&gt;
&lt;p&gt;&lt;a target="_self" href="http://bloggingabout.net/blogs/chilberto/archive/2011/01/14/windows-workflow-4-0-correlation-example-continued.aspx"&gt;Continued&amp;hellip;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484591" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/IIS/default.aspx">IIS</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Workflow/default.aspx">Workflow</category></item><item><title>BizTalk 2010 Upgrade Issue</title><link>http://bloggingabout.net/blogs/chilberto/archive/2010/11/12/biztalk-2010-upgrade-issue.aspx</link><pubDate>Fri, 12 Nov 2010 00:17:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484302</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=484302</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=484302</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2010/11/12/biztalk-2010-upgrade-issue.aspx#comments</comments><description>&lt;p&gt;In a BizTalk 2006r2 solution, we encountered a build issue with BizTalk where a map that referenced a particular schema was causing BizTalk to fail to build.&amp;nbsp; The symptom was that Visual Studio would continually build until it ran out of memory.&amp;nbsp; The cause of the issue was tracked down to a particular service that was generated from the Entity Framework and contained inter-referencing classes.&amp;nbsp; Normally this would not cause the issue but EF decorated the contracts in manner that &lt;em&gt;confused&lt;/em&gt; the BizTalk build process &lt;strong&gt;only if&lt;/strong&gt; the referenced schema was the &lt;strong&gt;source&lt;/strong&gt; schema.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;At the time, I found a workaround that I thought was clever&amp;hellip; &lt;/p&gt;
&lt;p&gt;In the map, I set the message type of the source schema to the XLANG Any message.&amp;nbsp; This would build, and using custom xslt I could achieve what was required.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7484.xsanymap_5F00_19E4F85A.jpg"&gt;&lt;img height="236" width="584" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6472.xsanymap_5F00_thumb_5F00_0DD2E259.jpg" alt="xsanymap" border="0" title="xsanymap" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The upgrade of these maps from 2006r2 to 2009 did not display any issue.&amp;nbsp; I did notice that a &lt;em&gt;Schema referenced by Map has been deleted&lt;/em&gt; error would be displayed if the map was selected in a Receive Location&amp;rsquo;s Inbound or Outbound Map.&amp;nbsp; The map would still work in BizTalk 2009.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4503.schemamissing_5F00_75EBFB32.jpg"&gt;&lt;img height="153" width="580" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7181.schemamissing_5F00_thumb_5F00_1311A33D.jpg" alt="schemamissing" border="0" title="schemamissing" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;After upgrading to BizTalk 2010, the Admin Console displays the message on the initial refresh of the BizTalk Group applications and no applications are displayed.&amp;nbsp; I did find that if I restarted a host instance, the applications would then display in the console.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The error message in BizTalk 2009 is a annoying but would not affect functionality.&amp;nbsp; The maps would work at runtime.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;In BizTalk 2010, the maps still work at runtime but the issue in the Admin Console is more severe and prevents functionality from being run.&amp;nbsp; For instance, if the library with the map is removed from resources, the error message is displayed and &lt;strong&gt;&lt;span style="color:#ff0000;"&gt;no action is applied&lt;/span&gt;&lt;/strong&gt;.&amp;nbsp; Once a map is deployed with the issue there is not a way to remove it (without hacking the databases).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The upgrade procedure was reviewed and the issue confirmed by a Microsoft consultant.&amp;nbsp; The issue is being submitted to the product group to review.&lt;/p&gt;
&lt;p&gt;Note: I did try to remove the group and re-connect. &lt;br /&gt;Note: I did try to remove the library via powershell but the same issue was encountered: &lt;br /&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6036.schemamissing_5F00_694E2849.jpg"&gt;&lt;img height="141" width="674" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6567.schemamissing_5F00_thumb_5F00_2622AA1C.jpg" alt="schemamissing" border="0" title="schemamissing" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484302" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Visual+Studio+2005/default.aspx">Visual Studio 2005</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BizTalk/default.aspx">BizTalk</category></item><item><title>SharePoint: Lists.asmx integration and Schema reference “” is not a valid reference</title><link>http://bloggingabout.net/blogs/chilberto/archive/2010/10/20/sharepoint-lists-asmx-integration-and-schema-reference-is-not-a-valid-reference.aspx</link><pubDate>Wed, 20 Oct 2010 01:03:10 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484187</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=484187</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=484187</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2010/10/20/sharepoint-lists-asmx-integration-and-schema-reference-is-not-a-valid-reference.aspx#comments</comments><description>&lt;p&gt;BizTalk integration with SharePoint is … interesting.&lt;/p&gt;  &lt;p&gt;Using the Add Generated Items… Consume WCF service might result in a proxy that will not build due to a bad reference.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5381.errorlist_5F00_6BFFC402.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="errorlist" border="0" alt="errorlist" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/2541.errorlist_5F00_thumb_5F00_22F9A23C.png" width="646" height="68" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The proxy file Lists_schemas_microsoft_com_sharepoint_soap.xsd contains the bad reference.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7128.solutionexplorere_5F00_19513406.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="solutionexplorere" border="0" alt="solutionexplorere" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1616.solutionexplorere_5F00_thumb_5F00_77855B74.png" width="355" height="213" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The reference in particular is shown below:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8512.remove_2D00_line_5F00_62B362F4.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="remove line" border="0" alt="remove line" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4762.remove_2D00_line_5F00_thumb_5F00_79FE6765.png" width="636" height="96" /&gt;&lt;/a&gt;&lt;/p&gt;        &lt;p&gt;To fix the build, open the file with an XML Editor by right clicking the xsd in solution explorer:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0005.openwith_5F00_0951C975.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="openwith" border="0" alt="openwith" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4744.openwith_5F00_thumb_5F00_35FA834E.png" width="408" height="80" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4532.xmleditor_5F00_7AC6A782.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="xmleditor" border="0" alt="xmleditor" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6165.xmleditor_5F00_thumb_5F00_1211ABF4.png" width="341" height="293" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The edited file should look like the following:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4061.newfile_5F00_4113E7CB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="newfile" border="0" alt="newfile" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/6087.newfile_5F00_thumb_5F00_343991AD.png" width="624" height="94" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484187" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Sharepoint/default.aspx">Sharepoint</category></item><item><title>Calling SharePoint Lists.asmx via BizTalk</title><link>http://bloggingabout.net/blogs/chilberto/archive/2010/10/13/calling-sharepoint-lists-asmx-via-biztalk.aspx</link><pubDate>Tue, 12 Oct 2010 22:01:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:484156</guid><dc:creator>chilberto</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=484156</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=484156</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2010/10/13/calling-sharepoint-lists-asmx-via-biztalk.aspx#comments</comments><description>&lt;p&gt;Just some notes on connecting BizTalk to SharePoint&amp;rsquo;s &lt;b&gt;&lt;a href="http://&amp;lt;site&amp;gt;/_vti_bin/lists.asmx"&gt;/_vti_bin/lists.asmx&amp;quot;&amp;gt;http://&amp;lt;site&amp;gt;/_vti_bin/lists.asmx&lt;/a&gt; webservice.&amp;nbsp; After using Add Generated Items &amp;ndash;&amp;gt; Consume WCF Service to create the proxy and binding you might find that when calling the service a transport level error is returned.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The following illustrates a sample call to a list called Behaviour List for all items:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 12.35pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;MessageLogTraceRecord&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Addressing &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.microsoft.com/2004/06/ServiceModel/Management/MessageTrace&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Action&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;http://schemas.microsoft.com/sharepoint/soap/GetListItems&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Action&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;To&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;http://&amp;lt;list&amp;gt;/_vti_bin/lists.asmx&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;To&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Addressing&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Envelope &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:s&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Header&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;ActivityId CorrelationId&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;169ba7fc-dd92-4ba7-9659-b128b63f0e4d&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;2798162c-3223-4ff1-ab14-360c8fa538ab&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;ActivityId&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Header&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Body&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap1:GetListItems &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:soap1&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.microsoft.com/sharepoint/soap/&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 61.75pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap1:listName&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;Behaviour List&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap1:listName&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap1:GetListItems&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Body&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Envelope&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 12.35pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;MessageLogTraceRecord&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;With the generated binding, the following is returned indicating the client bindings are not correct in regards to the security settings:&lt;/strong&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 12.35pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;MessageLogTraceRecord&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;HttpResponse &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.microsoft.com/2004/06/ServiceModel/Management/MessageTrace&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;StatusCode&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;InternalServerError&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;StatusCode&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;StatusDescription&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;Internal Server Error&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;StatusDescription&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;WebHeaders&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;MicrosoftSharePointTeamServices&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;12.0.0.6318&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;MicrosoftSharePointTeamServices&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Content-Length&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;740&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Content-Length&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Cache-Control&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;private&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Cache-Control&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Content-Type&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;text/xml; charset=utf-8&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Content-Type&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Date&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;Mon, 20 Sep 2010 20:57:03 GMT&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Date&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Server&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;Microsoft-IIS/6.0&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;Server&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;X-AspNet-Version&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;2.0.50727&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;X-AspNet-Version&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;X-Powered-By&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;ASP.NET&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;X-Powered-By&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;WebHeaders&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;HttpResponse&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap:Envelope &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:soap&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:xsi&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot; &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:xsd&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://www.w3.org/2001/XMLSchema&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Header &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns:s&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.xmlsoap.org/soap/envelope/&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;s:Header&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap:Body&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap:Fault&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 61.75pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;faultcode &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;soap:Server&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;faultcode&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 61.75pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;faultstring &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;Exception of type &amp;#39;Microsoft.SharePoint.SoapServer.SoapServerException&amp;#39; was thrown.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;faultstring&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 61.75pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;detail &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;=&amp;quot;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 74.1pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;errorstring &lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;xmlns&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;=&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#ff0000;"&gt;http://schemas.microsoft.com/sharepoint/soap/&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;quot;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span&gt;&lt;span style="color:#000000;"&gt;A transport-level error has occurred when sending the request to the server. (provider: Shared Memory Provider, error: 0 - Either a required impersonation level was not provided, or the provided impersonation level is invalid.)&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;errorstring&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 61.75pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;detail&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 49.4pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap:Fault&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 37.05pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap:Body&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 24.7pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;soap:Envelope&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="list-style-type:disc;margin:0cm 0cm 0pt 12.35pt;"&gt;&lt;span style="font-family:Verdana;"&gt;&lt;span&gt;&lt;span style="color:#0000ff;"&gt;&lt;span style="font-size:8pt;"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:8pt;"&gt;&lt;span&gt;&lt;span style="color:#990000;"&gt;MessageLogTraceRecord&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color:#0000ff;font-size:8pt;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;BizTalk logs the following error to the Application eventlog:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The adapter failed to transmit message going to send port &amp;quot;WcfSendPort_Lists_ListsSoap_Custom&amp;quot; with URL &amp;quot;http://&amp;lt;list&amp;gt;/_vti_bin/lists.asmx&amp;quot;. It will be retransmitted after the retry interval specified for this Send Port. Details:&amp;quot;System.ServiceModel.Security.MessageSecurityException: The HTTP request is unauthorized with client authentication scheme &amp;#39;Anonymous&amp;#39;. The authentication header received from the server was &amp;#39;NTLM&amp;#39;. ---&amp;gt; System.Net.WebException: The remote server returned an error: (401) Unauthorized. &lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) &lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) &lt;br /&gt;The adapter failed to transmit message going to send port &amp;quot;WcfSendPort_Lists_ListsSoap_Custom&amp;quot; with URL &amp;quot;http://secure.gen-i.co.nzpublishing/_vti_bin/lists.asmx&amp;quot;. It will be retransmitted after the retry interval specified for this Send Port. Details:&amp;quot;System.InvalidOperationException: An action mapping was defined but BTS.Operation was not found in the message context. &lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.LookupAction(IBaseMessageContext messageContext) &lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendRequestMessage(IBaseMessage bizTalkMessage, IRequestChannel channel) &lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.SendMessage(IBaseMessage bizTalkMessage)&amp;quot;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The solution was to simply set the Impersonation correctly to allow the host instance:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/1122.wcf1_5F00_5BE1F9E9.png"&gt;&lt;img height="408" width="297" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4251.wcf1_5F00_thumb_5F00_607804A3.png" alt="wcf1" border="0" title="wcf1" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/4606.wcf2_5F00_48911D7D.png"&gt;&lt;img height="421" width="306" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/3426.wcf2_5F00_thumb_5F00_3B4A946A.png" alt="wcf2" border="0" title="wcf2" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8508.wcf3_5F00_183A22FA.png"&gt;&lt;img height="419" width="305" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8156.wcf3_5F00_thumb_5F00_4814C4BB.png" alt="wcf3" border="0" title="wcf3" style="background-image:none;border-bottom:0px;border-left:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" /&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=484156" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Sharepoint/default.aspx">Sharepoint</category></item><item><title>Business Rules Engine: Samples</title><link>http://bloggingabout.net/blogs/chilberto/archive/2009/11/21/business-rules-engine-samples.aspx</link><pubDate>Sat, 21 Nov 2009 07:18:55 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482490</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=482490</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=482490</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2009/11/21/business-rules-engine-samples.aspx#comments</comments><description>&lt;p&gt;I recently presented at the &lt;a href="http://www.acsug.co.nz/Meetings/Practical-exploration-of-the-Business-Rules-Engine.aspx" target="_blank"&gt;Auckland Connected Systems User Group&lt;/a&gt;.&amp;#160; In order to prepare, I created several examples of methods of using the rules engine.&amp;#160; &lt;/p&gt;  &lt;p&gt;The sample solution is &lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.BRE/3286.ACSUG.BusinessRulesEngine.zip"&gt;here&lt;/a&gt;.&amp;#160; &lt;/p&gt;  &lt;p&gt;Included in the sample solution are:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Various Vocabulary definitions including using a function in XPath Field (TotalCostOfOrder)&lt;/li&gt;    &lt;li&gt;Various Rules definitions including retrieving from a database, using classes, adding XML Nodes to a document, forward chaining and priority&lt;/li&gt;    &lt;li&gt;Examples implementations of IFactRetriever&lt;/li&gt;    &lt;li&gt;BizTalk Application showing calling rules with both XML Document and objects&lt;/li&gt;    &lt;li&gt;BizTalk Application showing an example of using the BRE for routing&lt;/li&gt;    &lt;li&gt;A WCF Service and Client including an example tracking interceptor&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;The WCF Service was my focus of the talk and what I wanted to discuss most of all.&amp;#160; I have found using the BRE very beneficial and now that I have spent time understanding it, I believe it helps to make more maintainable solutions by separating the business rules from the application framework.&amp;#160; This allows for the business logic to more accessible and readable than embedded in BizTalk expressions, maps or custom classes.&amp;#160; &lt;/p&gt;  &lt;p&gt;Because of this I wanted to illustrate how a WCF service could be strongly typed but not require costly rebuilds when the facts or rules change.&amp;#160; Though I believe strongly in SOA, I am not a fan of the un-typed XML in/XML out design.&amp;#160; To achieve this, I took advantage of the KnownTypes attribute to allow WCF to serialize the payloads and to present metadata.&amp;#160; In the example service, the specific classes are retrieved from the web.config, but there is not any reason why this could not have been retrieved from a more dynamic resource.&lt;/p&gt;  &lt;p&gt;Cheers and feedback appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482490" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Architecture/default.aspx">Architecture</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/SOA+Architecture/default.aspx">SOA Architecture</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BRE/default.aspx">BRE</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Business+Rules+Engine/default.aspx">Business Rules Engine</category></item><item><title>ACSUG Meeting Thursday November 19th - A Practical exploration of the Business Rules Engine in BizTalk Server</title><link>http://bloggingabout.net/blogs/chilberto/archive/2009/11/16/acsug-meeting-thursday-november-19th-a-practical-exploration-of-the-business-rules-engine-in-biztalk-server.aspx</link><pubDate>Mon, 16 Nov 2009 07:42:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482469</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=482469</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=482469</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2009/11/16/acsug-meeting-thursday-november-19th-a-practical-exploration-of-the-business-rules-engine-in-biztalk-server.aspx#comments</comments><description>&lt;p&gt;I decided it was about time I presented something at the &lt;a target="_self" href="http://connectedthoughts.wordpress.com/2009/11/02/acsug-meeting-thursday-november-19-a-practical-exploration-of-the-business-rules-engine-in-biztalk-server-with-jeffrey-chilberto/" title="Auckland Connected Users Group"&gt;Auckland Connected User Group&lt;/a&gt;&amp;hellip;&lt;/p&gt;
&lt;p&gt;Recently I have been involved with two projects where the Business Rules Engine was exposed as a WCF web service.&amp;nbsp; Though this is the basis for the presentation, most of the examples will be applicable to using the BRE within BizTalk or externally.&lt;/p&gt;
&lt;p&gt;Slides and examples to follow when ready&amp;hellip; I better get to work on them&amp;hellip;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482469" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BizTalk/default.aspx">BizTalk</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/BRE/default.aspx">BRE</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Business+Rules+Engine/default.aspx">Business Rules Engine</category></item><item><title>Movember</title><link>http://bloggingabout.net/blogs/chilberto/archive/2009/11/16/movember.aspx</link><pubDate>Mon, 16 Nov 2009 07:32:17 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:482468</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=482468</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=482468</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2009/11/16/movember.aspx#comments</comments><description>&lt;p&gt;I am growing a moustache for Movember to join the fight against prostate cancer and men&amp;#39;s depression. Please give so that my Mo may grow: &lt;a href="http://nz.movember.com/mospace/187663/"&gt;http://nz.movember.com/mospace/187663/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=482468" width="1" height="1"&gt;</description></item><item><title>Force NTLM protocol instead of Kerberos in IIS</title><link>http://bloggingabout.net/blogs/chilberto/archive/2009/07/03/force-ntlm-protocol-instead-of-kerberos-in-iis.aspx</link><pubDate>Fri, 03 Jul 2009 04:06:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481890</guid><dc:creator>chilberto</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=481890</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=481890</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2009/07/03/force-ntlm-protocol-instead-of-kerberos-in-iis.aspx#comments</comments><description>&lt;p&gt;Recently I deployed a WCF service using NTLM transport authentication.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7776.image_5F00_7F5B69C8.png"&gt;&lt;img height="123" width="405" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5633.image_5F00_thumb_5F00_5D8F9137.png" alt="image" border="0" title="image" style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;An issue arose when calling the service from a remote server where Kerberos authentication was not working correctly.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/8475.image_5F00_3AEB52BC.png"&gt;&lt;img height="452" width="407" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/0243.image_5F00_thumb_5F00_4AAAE7C0.png" alt="image" border="0" title="image" style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;After contacting the infrastructure team, I was informed to use NTLM and not Kerberos as the authentication provider.&lt;/p&gt;
&lt;p&gt;By default, IIS uses Kerberos and NTLM for network authentication.&amp;nbsp; It will choose to use Kerberos if the client is thought to support Kerberos as in this case.&amp;nbsp; To force IIS to use NTLM only is relatively simple.&lt;/p&gt;
&lt;p&gt;First, open IIS to determine the website identify.&amp;nbsp; This can be done by navigating to the Websites folder:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5482.image_5F00_78D4BDAD.png"&gt;&lt;img height="131" width="417" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7433.image_5F00_thumb_5F00_7E330884.png" alt="image" border="0" title="image" style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;The adsutil.vbs admin script can be used to set the authentication provider.&amp;nbsp; The screenshot below illustrates:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/5224.image_5F00_1B58B08F.png"&gt;&lt;img height="222" width="455" src="http://bloggingabout.net/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/chilberto.metablogapi/7028.image_5F00_thumb_5F00_77DC0C29.png" alt="image" border="0" title="image" style="border-bottom:0px;border-left:0px;display:inline;border-top:0px;border-right:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Also, different virtual folders can have different NTAuthenticationProviders settings.&amp;nbsp; For example, if the virtual folder &amp;ldquo;HelloWorld&amp;rdquo; was to be modified only, the command would be: &lt;/p&gt;
&lt;p&gt;C:\&amp;gt;cscript c:\inetpub\adminscripts\adsutil.vbs //nologo SET &amp;quot;W3SVC/1/Root/&lt;strong&gt;HelloWorld&lt;/strong&gt;/NTAuthenticationProviders&amp;quot; &amp;quot;NTLM&amp;quot;&lt;/p&gt;
&lt;p&gt;Notes:&lt;/p&gt;
&lt;p&gt;Related Knowledge Base: &lt;a href="http://support.microsoft.com/kb/215383"&gt;http://support.microsoft.com/kb/215383&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=481890" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/ASP.Net/default.aspx">ASP.Net</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/IIS/default.aspx">IIS</category></item><item><title>WCF Test Harness: Release 1.2.2.0</title><link>http://bloggingabout.net/blogs/chilberto/archive/2009/04/01/wcf-test-harness-release-1-2-2-0.aspx</link><pubDate>Wed, 01 Apr 2009 07:55:51 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481449</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=481449</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=481449</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2009/04/01/wcf-test-harness-release-1-2-2-0.aspx#comments</comments><description>&lt;p&gt;A new version of the &lt;a href="http://www.codeplex.com/WCFTestHarness" target="_blank"&gt;test harness&lt;/a&gt; has been added to codeplex.&amp;#160; &lt;/p&gt;  &lt;p&gt;This release corrects some bugs and adds some new usability features (e.g., the ability to edit the client configuration via a menu item).&lt;/p&gt;  &lt;p&gt;Feedback appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=481449" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Test+Harness/default.aspx">Test Harness</category></item><item><title>WCF Test Harness: Release 1.1.1.1</title><link>http://bloggingabout.net/blogs/chilberto/archive/2009/02/24/wcf-test-harness-release-1-1-1-1.aspx</link><pubDate>Tue, 24 Feb 2009 03:11:21 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481218</guid><dc:creator>chilberto</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=481218</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=481218</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2009/02/24/wcf-test-harness-release-1-1-1-1.aspx#comments</comments><description>&lt;p&gt;The WCF Test Harness has been &lt;a href="http://www.codeplex.com/WCFTestHarness/Release/ProjectReleases.aspx?ReleaseId=23714" target="_blank"&gt;updated&lt;/a&gt;.&amp;nbsp; &lt;/p&gt; &lt;ul&gt; &lt;li&gt;The previous version would fail to build the dynamic proxy for some services.&amp;nbsp; In particular BizTalk isolated host service endpoints.&amp;nbsp; The new version will still attempt to build the proxy even if warnings are encountered when downloading the metadata.&lt;/li&gt; &lt;li&gt;This version uses an untyped channel to send the requests and responses (see below).&amp;nbsp; This allows for the messages to be more easily constructed and for more flexibility (or leniency) on the receive.&amp;nbsp; As a test tool this is useful for debugging and determining when an application does not conform to the metadata.&amp;nbsp; For example, the subtle differences between Java and .Net base soap solutions.&lt;/li&gt; &lt;li&gt;DataContractSerialization is now used for building the input message.&lt;/li&gt;&lt;/ul&gt; &lt;h3&gt;Untyped Channel&lt;/h3&gt; &lt;p&gt;After a TestCase has been created that indicates the contract to call and the input, the InvokeProxyMethod method is used to call the service using an untyped channel.&amp;nbsp; By untyped, I mean conforming to the following signature:&lt;/p&gt; &lt;div style="border-right:gray 1px solid;padding-right:4px;border-top:gray 1px solid;padding-left:4px;font-size:8pt;padding-bottom:4px;margin:20px 0px 10px;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;padding-top:4px;border-bottom:gray 1px solid;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;background-color:#f4f4f4;"&gt; &lt;div style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;[ServiceContract]&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;interface&lt;/span&gt; IUntypedChannel&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;{&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    [OperationContract(Action = &lt;span style="color:#006080;"&gt;&amp;quot;*&amp;quot;&lt;/span&gt;, ReplyAction = &lt;span style="color:#006080;"&gt;&amp;quot;*&amp;quot;&lt;/span&gt;)]&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    Message Post(Message content);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;The following code is used to create a ContractChannelFactory&amp;lt;T&amp;gt; using reflection.&amp;nbsp; Reflection is necessary as the contract type (T) is not known until runtime.&amp;nbsp; The ContractChannelFactory is based on the ClientChannelFactory&amp;lt;T&amp;gt; from the Microsoft WCF Samples.&amp;nbsp; The main difference is it can be used to create a IUntypedChannel channel.&amp;nbsp; This can be used to post a Message based on the contract type&amp;#39;s message properties.&lt;/p&gt;
&lt;div style="border-right:gray 1px solid;padding-right:4px;border-top:gray 1px solid;padding-left:4px;font-size:8pt;padding-bottom:4px;margin:20px 0px 10px;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;padding-top:4px;border-bottom:gray 1px solid;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;background-color:#f4f4f4;"&gt;
&lt;div style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;&lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; InvokeProxyMethod(TestCase test)&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;{&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; ret = &lt;span style="color:#006080;"&gt;&amp;quot;Failed to call test case...&amp;quot;&lt;/span&gt;;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;span style="color:#008000;"&gt;// determine the contract type&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    ServiceClientContract contract = _contracts[test.ContractName];&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    ClientEndpoint endpoint = contract.Endpoints[test.EndpointName];&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    Type contractType = Assemblies[test.Assembly].GetType(endpoint.Contract);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    &lt;span style="color:#008000;"&gt;// create the factory to generate the channel&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    Type factoryType = &lt;span style="color:#0000ff;"&gt;typeof&lt;/span&gt;(ContractChannelFactory&amp;lt;&amp;gt;).MakeGenericType(contractType);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    Object factory = Activator.CreateInstance(factoryType, &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;object&lt;/span&gt;[] {test.EndpointName, contract.FileName});&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;   &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    &lt;span style="color:#008000;"&gt;// create the channel&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    IUntypedChannel channel = (IUntypedChannel)factoryType.InvokeMember(&lt;span style="color:#006080;"&gt;&amp;quot;CreateUntypedChannel&amp;quot;&lt;/span&gt;, BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Instance, &lt;span style="color:#0000ff;"&gt;null&lt;/span&gt;, factory, &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;object&lt;/span&gt;[] { test.URL });&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;span style="color:#008000;"&gt;// determine the action&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    MemberInfo s = contractType.GetMethod(test.Method);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;span style="color:#0000ff;"&gt;object&lt;/span&gt;[] attributes = s.GetCustomAttributes(&lt;span style="color:#0000ff;"&gt;typeof&lt;/span&gt;(OperationContractAttribute), &lt;span style="color:#0000ff;"&gt;true&lt;/span&gt;);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    &lt;span style="color:#0000ff;"&gt;if&lt;/span&gt; (attributes.Length == 1)&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    {&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;        &lt;span style="color:#0000ff;"&gt;using&lt;/span&gt; (StringReader sr = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; StringReader(test.Input))&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;        {&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;            &lt;span style="color:#008000;"&gt;// build an untyped message with the same message version, input and action&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;            XmlReader xr = XmlTextReader.Create(sr);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;            OperationContractAttribute attribute = (OperationContractAttribute)attributes[0];&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;            MessageVersion version = (MessageVersion)factoryType.InvokeMember(&lt;span style="color:#006080;"&gt;&amp;quot;GetMessageVersion&amp;quot;&lt;/span&gt;, BindingFlags.Public | BindingFlags.InvokeMethod | BindingFlags.Instance, &lt;span style="color:#0000ff;"&gt;null&lt;/span&gt;, factory, &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;object&lt;/span&gt;[] { });&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;            Message request = Message.CreateMessage(version, attribute.Action, xr);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;            &lt;span style="color:#008000;"&gt;// call the service&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;            Message response = channel.Post(request);&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;            ret = response.ToString();&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;            xr.Close();&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;            sr.Close();&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;        }&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    }&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    &lt;span style="color:#0000ff;"&gt;return&lt;/span&gt; ret;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;}&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;h3&gt;&lt;/h3&gt;
&lt;h3&gt;ContractChannelFactory&amp;lt;T&amp;gt;&lt;/h3&gt;
&lt;p&gt;The ContractChannelFactory&amp;lt;T&amp;gt; is used to build the ChannelFactory&amp;lt;T&amp;gt; using a supplied configuration file.&amp;nbsp; The new methods, CreateUntypedChanee() and GetMessageVersion() are used to create a channel that will send a untyped message.&lt;/p&gt;
&lt;div style="border-right:gray 1px solid;padding-right:4px;border-top:gray 1px solid;padding-left:4px;font-size:8pt;padding-bottom:4px;margin:20px 0px 10px;overflow:auto;border-left:gray 1px solid;width:97.5%;cursor:text;max-height:200px;line-height:12pt;padding-top:4px;border-bottom:gray 1px solid;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;background-color:#f4f4f4;"&gt;
&lt;div style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;&lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;class&lt;/span&gt; ContractChannelFactory&amp;lt;T&amp;gt; : ChannelFactory&amp;lt;T&amp;gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;{&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;span style="color:#008000;"&gt;// contructor and methods to build channelfactory based on supplied configuration file&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    ...&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; IUntypedChannel CreateUntypedChannel(&lt;span style="color:#0000ff;"&gt;string&lt;/span&gt; overrideUrl)&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    {&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;        EndpointAddress address = &lt;span style="color:#0000ff;"&gt;this&lt;/span&gt;.Endpoint.Address;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;          &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;        &lt;span style="color:#008000;"&gt;// if an override then take the new address&lt;/span&gt;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;        &lt;span style="color:#0000ff;"&gt;if&lt;/span&gt;(overrideUrl!=&lt;span style="color:#0000ff;"&gt;string&lt;/span&gt;.Empty)&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;            address = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; EndpointAddress(&lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; Uri(overrideUrl), address.Identity, address.Headers, address.GetReaderAtMetadata(), address.GetReaderAtExtensions());&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;        ChannelFactory&amp;lt;IUntypedChannel&amp;gt; factory = &lt;span style="color:#0000ff;"&gt;new&lt;/span&gt; ChannelFactory&amp;lt;IUntypedChannel&amp;gt;(&lt;span style="color:#0000ff;"&gt;this&lt;/span&gt;.Endpoint.Binding, address);            &lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;        &lt;span style="color:#0000ff;"&gt;return&lt;/span&gt; factory.CreateChannel();&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    }&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;    &lt;span style="color:#0000ff;"&gt;public&lt;/span&gt; MessageVersion GetMessageVersion()&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    {&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;        &lt;span style="color:#0000ff;"&gt;return&lt;/span&gt; &lt;span style="color:#0000ff;"&gt;this&lt;/span&gt;.Endpoint.Binding.MessageVersion;&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:#f4f4f4;border-bottom-style:none;"&gt;    }&lt;/pre&gt;&lt;pre style="padding-right:0px;padding-left:0px;font-size:8pt;padding-bottom:0px;margin:0em;overflow:visible;width:100%;color:black;border-top-style:none;line-height:12pt;padding-top:0px;font-family:consolas, &amp;#39;Courier New&amp;#39;, courier, monospace;border-right-style:none;border-left-style:none;background-color:white;border-bottom-style:none;"&gt;  }&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=481218" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/WCF/default.aspx">WCF</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Test+Harness/default.aspx">Test Harness</category></item><item><title>Enterprise Library: Filter on FormattedEventLogTraceListener does not work</title><link>http://bloggingabout.net/blogs/chilberto/archive/2009/02/23/enterprise-library-filter-on-formattedeventlogtracelistener-does-not-work.aspx</link><pubDate>Mon, 23 Feb 2009 04:13:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481210</guid><dc:creator>chilberto</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/rsscomments.aspx?PostID=481210</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://bloggingabout.net/blogs/chilberto/commentapi.aspx?PostID=481210</wfw:comment><comments>http://bloggingabout.net/blogs/chilberto/archive/2009/02/23/enterprise-library-filter-on-formattedeventlogtracelistener-does-not-work.aspx#comments</comments><description>&lt;p&gt;As the project I am working nears completion, attention is drawn to reporting.&amp;nbsp; In my scenario, I want all logging to be sent to the database and only warning+ to be logged to the event log.&amp;nbsp; No problem, as the reporting is based on Enterprise Library 4.0, this is just configuration.&lt;/p&gt;
&lt;p&gt;Unfortunately there is a defect in 3.0 and 4.0 where the Filter on the FormattedEventLogTraceListener does not influence the logging.&amp;nbsp; Fortunately, using the System.Diagnostics.EventLogTraceListener works a treat.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.codeplex.com/entlib/Thread/View.aspx?ThreadId=30645"&gt;http://www.codeplex.com/entlib/Thread/View.aspx?ThreadId=30645&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This appears to be fixed in Enterprise Library 4.1, but I have not confirmed this yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://bloggingabout.net/aggbug.aspx?PostID=481210" width="1" height="1"&gt;</description><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Error/default.aspx">Error</category><category domain="http://bloggingabout.net/blogs/chilberto/archive/tags/Enterprise+Library/default.aspx">Enterprise Library</category></item></channel></rss>