<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Biz(Talk)2</title>
	<atom:link href="http://biztalktalk.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://biztalktalk.wordpress.com</link>
	<description>Talk, talk and more talk about BizTalk</description>
	<lastBuildDate>Fri, 06 Nov 2009 04:20:11 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='biztalktalk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ae14519ace0f05264f4f39036ffeebf4?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Biz(Talk)2</title>
		<link>http://biztalktalk.wordpress.com</link>
	</image>
			<item>
		<title>Invalid content type for AS2 messages</title>
		<link>http://biztalktalk.wordpress.com/2009/11/06/invalid-content-type-for-as2-messages/</link>
		<comments>http://biztalktalk.wordpress.com/2009/11/06/invalid-content-type-for-as2-messages/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 04:20:11 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[AS2]]></category>
		<category><![CDATA[EDI]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=148</guid>
		<description><![CDATA[Recently I ran into an issue with the Http ContentType used when sending messages using the As2EdiSend pipeline.
Using the standard out-of-the-box pipeline, the web content type will be set to &#8220;application/EDI-EDIFACT&#8220;, regardless of the value supplied in the Party as AS2 Receiver configuration.  If your trading partner is using BizTalk as well, this is not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=148&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently I ran into an issue with the Http ContentType used when sending messages using the As2EdiSend pipeline.</p>
<p>Using the standard out-of-the-box pipeline, the web content type will be set to &#8220;<strong>application/EDI-EDIFACT</strong>&#8220;, regardless of the value supplied in the Party as AS2 Receiver configuration.  If your trading partner is using BizTalk as well, this is not an issue, as BizTalk, and probably some other AS2 servers, do not consider the content type before routing the AS2 payload for further parsing by an EDI interpreter.</p>
<p>However, our trading partner uses a specific AS2 server, Axway, that will only route to the EDI sub-system if the content type is, quite correctly, &#8220;<strong>application/EDIFACT</strong>&#8221; (note the small difference).  This is the correct value, according to the RFC (<a href="http://www.rfc-editor.org/rfc/rfc4130.txt">link</a> &#8211; see Section 4.2).</p>
<p>Our workaround was to add a custom pipeline component in between the EDI Assembler stage and the AS2 Encoder stage in a custom Pipeline.  This custom component only does one thing, clears the IBaseMessage.BodyPart.ContentType property of the current message stream:</p>
<pre style="padding-left:30px;"><span style="color:#0000ff;">IBaseMessagePart bodyPart = pInMsg.BodyPart;
if ((bodyPart != null))
{
// Override the default content type with the one we want to use
pInMsg.BodyPart.ContentType = "";
}
return pInMsg;</span></pre>
<p>By default, the EDI Assemble stage allocates a default value of &#8220;application/EDI-EDIFACT&#8221;.  The AS2 Encoder will lookup the appropriate content type to use from the Party configuration, but only if the content type has not been supplied.  As the EDI stage has already allocated a value, this &#8220;optional&#8221; value is rendered useless.  By &#8220;clearing&#8221; the default value, we allow the AS2 stage to use the appropriate value</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=148&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/11/06/invalid-content-type-for-as2-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Writing to the event log from a BizTalk Orchestration</title>
		<link>http://biztalktalk.wordpress.com/2009/09/18/writing-to-the-event-log-from-a-biztalk-orchestration/</link>
		<comments>http://biztalktalk.wordpress.com/2009/09/18/writing-to-the-event-log-from-a-biztalk-orchestration/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 04:01:40 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[BizTalk]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=146</guid>
		<description><![CDATA[Some pointers when utilising DebugView to view debug output from your Orchestration:

Make sure you write to System.Diagnostics.Trace, rather than System.Diagnostics.Debug
This ensures that the trace statements will not be compiled out of non-debug builds (unless of course, this is what you want to do!)
Use a static method on a helper class to provide a wrapper function. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=146&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Some pointers when utilising DebugView to view debug output from your Orchestration:</p>
<ul>
<li>Make sure you write to System.Diagnostics.Trace, rather than System.Diagnostics.Debug<br />
This ensures that the trace statements will not be compiled out of non-debug builds (unless of course, this is what you want to do!)</li>
<li>Use a static method on a helper class to provide a wrapper function.  This also makes it easier to provide different levels of debug messages, eg. Debug, Information, Warning, Error</li>
<li>Finally, ensure the &#8220;Capture Global Win32&#8243; flag is set in DebugView.  Without this, you&#8217;ll be scratching your head wondering where the messages have gone (speaking from experience)</li>
</ul>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=146&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/09/18/writing-to-the-event-log-from-a-biztalk-orchestration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Get the Instance ID of the current Orchestration</title>
		<link>http://biztalktalk.wordpress.com/2009/08/24/get-the-instance-id-of-the-current-orchestration/</link>
		<comments>http://biztalktalk.wordpress.com/2009/08/24/get-the-instance-id-of-the-current-orchestration/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 04:19:52 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[BizTalk]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=142</guid>
		<description><![CDATA[Using the following in an Expression shape will return the Instance Id of the Activating Orchestration instance.
instanceId = Microsoft.XLANGs.Core.Service.RootService.InstanceId;
Where instanceId is of type System.Guid.
Note, this will give you the Instance Id of the Activating Orchestration, not neccessarily the currently executing Orchestration.  This distinction is important in the event of the currently executing Orchestration being called [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=142&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Using the following in an Expression shape will return the Instance Id of the Activating Orchestration instance.</p>
<pre>instanceId = Microsoft.XLANGs.Core.Service.RootService.InstanceId;</pre>
<p>Where instanceId is of type System.Guid.</p>
<p>Note, this will give you the Instance Id of the <span style="text-decoration:underline;">Activating</span> Orchestration, not neccessarily the currently executing Orchestration.  This distinction is important in the event of the currently executing Orchestration being called as a sub-orchestration via a Call Orchestration, or Start Orchestration shape.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=142&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/08/24/get-the-instance-id-of-the-current-orchestration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Xslt snippet &#8211; Left pad a string</title>
		<link>http://biztalktalk.wordpress.com/2009/08/12/xslt-snippet-left-pad-a-string/</link>
		<comments>http://biztalktalk.wordpress.com/2009/08/12/xslt-snippet-left-pad-a-string/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 01:36:45 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[XSLT]]></category>
		<category><![CDATA[snippet]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=135</guid>
		<description><![CDATA[A quick xslt template to left pad a value:
&#60;xsl:template name="prepend-pad"&#62;
  &#60;!-- recursive template to right justify and prepend the value with whatever padChar is passed in   --&#62;
  &#60;xsl:param name="padChar"&#62; &#60;/xsl:param&#62;
  &#60;xsl:param name="padVar"/&#62;
  &#60;xsl:param name="length"/&#62;
  &#60;xsl:choose&#62;
    &#60;xsl:when test="string-length($padVar) &#38;lt; $length"&#62;
      &#60;xsl:call-template name="prepend-pad"&#62;
      [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=135&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A quick xslt template to left pad a value:</p>
<pre>&lt;xsl:template name="prepend-pad"&gt;
  &lt;!-- recursive template to right justify and prepend the value with whatever padChar is passed in   --&gt;
  &lt;xsl:param name="padChar"&gt; &lt;/xsl:param&gt;
  &lt;xsl:param name="padVar"/&gt;
  &lt;xsl:param name="length"/&gt;
  &lt;xsl:choose&gt;
    &lt;xsl:when test="string-length($padVar) &amp;lt; $length"&gt;
      &lt;xsl:call-template name="prepend-pad"&gt;
        &lt;xsl:with-param name="padChar" select="$padChar"/&gt;
        &lt;xsl:with-param name="padVar" select="concat($padChar,$padVar)"/&gt;
        &lt;xsl:with-param name="length" select="$length"/&gt;
      &lt;/xsl:call-template&gt;
    &lt;/xsl:when&gt;
    &lt;xsl:otherwise&gt;
      &lt;xsl:value-of select="substring($padVar,string-length($padVar) - $length + 1)"/&gt;
    &lt;/xsl:otherwise&gt;
  &lt;/xsl:choose&gt;
&lt;/xsl:template&gt;</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/135/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/135/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/135/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=135&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/08/12/xslt-snippet-left-pad-a-string/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Mocking an Http Request-Respose port</title>
		<link>http://biztalktalk.wordpress.com/2009/07/29/mocking-an-http-request-respose-port/</link>
		<comments>http://biztalktalk.wordpress.com/2009/07/29/mocking-an-http-request-respose-port/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 05:09:40 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[ASP.NET]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=130</guid>
		<description><![CDATA[I occasionally want to be able to mock a Request-Response port, inthe event the target database is down, or I&#8217;m working locally.
The following ASP.NET snippet will allow me to point a two-way Send port at a local ASP.NET page, and gives me complete control over the mocked data I send back:
 
protected void Page_Load(object sender, EventArgs [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=130&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I occasionally want to be able to mock a Request-Response port, inthe event the target database is down, or I&#8217;m working locally.</p>
<p>The following ASP.NET snippet will allow me to point a two-way Send port at a local ASP.NET page, and gives me complete control over the mocked data I send back:</p>
<pre> 
<span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">protected</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">void</span></span><span style="font-size:x-small;"> Page_Load(</span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">object</span></span><span style="font-size:x-small;"> sender, </span><span style="font-size:x-small;color:#008080;"><span style="font-size:x-small;color:#008080;">EventArgs</span></span><span style="font-size:x-small;"> e)</span>
 </pre>
<pre style="padding-left:30px;">{</pre>
<pre style="padding-left:30px;"> </pre>
<p style="padding-left:30px;"><span style="font-size:x-small;color:#008080;"><span style="font-size:x-small;color:#008080;">String</span></span><span style="font-size:x-small;"> req = </span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">new</span></span><span style="font-size:x-small;"> System.IO.</span><span style="font-size:x-small;color:#008080;"><span style="font-size:x-small;color:#008080;">StreamReader</span></span><span style="font-size:x-small;">(Request.InputStream).ReadToEnd();</span></p>
<p style="padding-left:30px;"><span style="font-size:x-small;color:#008080;"><span style="font-size:x-small;color:#008080;">Debug</span></span><span style="font-size:x-small;">.WriteLine(req);</span></p>
<p style="padding-left:30px;"><span style="font-size:x-small;color:#008080;"><span style="font-size:x-small;color:#008080;">FileStream</span></span><span style="font-size:x-small;"> outputFile = </span><span style="font-size:x-small;color:#008080;"><span style="font-size:x-small;color:#008080;">File</span></span><span style="font-size:x-small;">.OpenRead(</span><span style="font-size:x-small;color:#800000;"><span style="font-size:x-small;color:#800000;">@&#8221;c:\temp\HttpListener\COPA_extract.xml&#8221;</span></span><span style="font-size:x-small;">);</span></p>
<p style="padding-left:30px;"><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">string</span></span><span style="font-size:x-small;"> extract = </span><span style="font-size:x-small;color:#0000ff;"><span style="font-size:x-small;color:#0000ff;">new</span></span><span style="font-size:x-small;"> </span><span style="font-size:x-small;color:#008080;"><span style="font-size:x-small;color:#008080;">StreamReader</span></span><span style="font-size:x-small;">(outputFile).ReadToEnd();</span></p>
<p style="padding-left:30px;"><span style="font-size:x-small;color:#008000;"><span style="font-size:x-small;color:#008000;">//Write out the string to Response</span></span></p>
<p style="padding-left:30px;"><span style="font-size:x-small;">Response.Write(extract);</span></p>
<pre style="padding-left:30px;"><span style="font-size:x-small;"><span style="font-size:x-small;color:#008000;"><span style="font-size:x-small;color:#008000;">// Need to call Response.End() or we get the standard Http DOCTYPE tags, etc</span></span><span style="font-size:x-small;">
</span>Response.End();
 
<span style="font-size:x-small;">
 
</span></span></pre>
<p><span style="font-size:x-small;color:#008000;"><span style="font-size:x-small;color:#008000;">}</span></span></p>
<pre> </pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=130&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/07/29/mocking-an-http-request-respose-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Debugging BizTalk instances &#8211; which one to attach to?</title>
		<link>http://biztalktalk.wordpress.com/2009/07/28/debugging-biztalk-instances-which-one-to-attach-to/</link>
		<comments>http://biztalktalk.wordpress.com/2009/07/28/debugging-biztalk-instances-which-one-to-attach-to/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 03:13:29 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=124</guid>
		<description><![CDATA[A good hint from Michael.
Determine the Process Id of a specific BTNTSVC.exe instance using the following command line:
tasklist /svc /fi "imagename eq btsntsvc.exe"
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=124&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A good hint from <a href="http://michael-arnett.spaces.live.com/Blog/cns!5AA848FF3F707F99!1098.entry">Michael</a>.</p>
<p>Determine the Process Id of a specific BTNTSVC.exe instance using the following command line:</p>
<pre style="padding-left:30px;">tasklist /svc /fi "imagename eq btsntsvc.exe"</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=124&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/07/28/debugging-biztalk-instances-which-one-to-attach-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>BizTalk Mapping &#8211; fixing huge maps</title>
		<link>http://biztalktalk.wordpress.com/2009/06/05/biztalk-mapping-fixing-huge-maps/</link>
		<comments>http://biztalktalk.wordpress.com/2009/06/05/biztalk-mapping-fixing-huge-maps/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 01:39:24 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[OASIS]]></category>
		<category><![CDATA[UBL]]></category>
		<category><![CDATA[Mapping]]></category>
		<category><![CDATA[BizTalk Mapper]]></category>
		<category><![CDATA[GenerateDefaultFixedNodes]]></category>
		<category><![CDATA[Peformance]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=119</guid>
		<description><![CDATA[I have been working with several industry standard Xml schema definitions, specifically those defined by the UBL standard by OASIS (www.oasis-open.org).  This organisation has a worthwhile, yet lofty, goal of defining a set of document standards that will cover the majority of communication needs for B2B.
The result of trying to be all things to all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=119&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been working with several industry standard Xml schema definitions, specifically those defined by the UBL standard by OASIS (www.oasis-open.org).  This organisation has a worthwhile, yet lofty, goal of defining a set of document standards that will cover the majority of communication needs for B2B.</p>
<p>The result of trying to be all things to all men is that the schemas defined are big.  Like really, REALLY big, with a set of included schema file that run about 8-10 deep.</p>
<p>The problem with this, in the BizTalk world, is when you either generate an instance document from the schema, or attempt to map a document to a UBL schema document using the BizTalk Mapper.  Due to the way the BizTalk handles default nodes, you end up with all default values being output into the destination document.</p>
<p>A quick, undocumented fix for this is to change the GenerateDefaultFixedNodes setting in the BizTalk Map.  Where is this setting, you ask?</p>
<p>Open the .btm file using the &#8220;XML Editor&#8221;, rather than the default &#8220;BizTalk Mapper&#8221; (i.e. right-click, choose &#8220;Open With&#8230;&#8221;, then XML Editor).  The root node of the map document is called &#8220;mapsource&#8221;, one of the attributes is called &#8220;GenerateDefaultFixedNodes&#8221;.  Change this from &#8220;Yes&#8221; to &#8220;No&#8221;, save and close, and you&#8217;re done.</p>
<p>This undocumented trick brought one of our generated XSLT transforms down from a slightly ridiculous 50 Mb to an easily handled 11 Kb, and the transform execution time from 20 seconds down to about the 50 millisecond mark (on a virtual machine)</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/119/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/119/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/119/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=119&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/06/05/biztalk-mapping-fixing-huge-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Received a &#8220;System.NotImplementedException&#8221; in custom pipeline component</title>
		<link>http://biztalktalk.wordpress.com/2009/04/28/received-a-systemnotimplementedexception-in-custom-pipeline-component/</link>
		<comments>http://biztalktalk.wordpress.com/2009/04/28/received-a-systemnotimplementedexception-in-custom-pipeline-component/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 10:42:43 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[.Net]]></category>
		<category><![CDATA[Component]]></category>
		<category><![CDATA[Pipeline]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=115</guid>
		<description><![CDATA[While developing a custom pipeline component I began receiving a System.NotImplementedException when testing the pipeline from an Isolated Host.
After a bit of research, we found the following:
http://www.biztalkgurus.com/forums/p/11372/22514.aspx
Turns out the problem originates from the Http Adapter, which implements the Setter on the MessagePart.BodyPart.Data property, but not the Getter.
The solution was to change the code that retries [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=115&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While developing a custom pipeline component I began receiving a System.NotImplementedException when testing the pipeline from an Isolated Host.</p>
<p>After a bit of research, we found the following:</p>
<p><a href="http://www.biztalkgurus.com/forums/p/11372/22514.aspx">http://www.biztalkgurus.com/forums/p/11372/22514.aspx</a></p>
<p>Turns out the problem originates from the Http Adapter, which implements the Setter on the MessagePart.BodyPart.Data property, but not the Getter.</p>
<p>The solution was to change the code that retries the message stream from using MessagePart.BodyPart.Data to using MessagePart.GetOriginalDataStream().</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=115&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/04/28/received-a-systemnotimplementedexception-in-custom-pipeline-component/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding a Sql user that already exists</title>
		<link>http://biztalktalk.wordpress.com/2009/04/28/adding-a-sql-user-that-already-exists/</link>
		<comments>http://biztalktalk.wordpress.com/2009/04/28/adding-a-sql-user-that-already-exists/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 10:33:17 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=112</guid>
		<description><![CDATA[Occasionally I&#8217;ll need to copy a database over to my dev machine in order to be able to work offline.
USE &#60;Target_Database&#62;
EXEC sp_change_users_login 'Update_One', '&#60;Server_User&#62;', '&#60;Database_User&#62;'
This will re-associate the Server Login with the specified Database Login.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=112&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Occasionally I&#8217;ll need to copy a database over to my dev machine in order to be able to work offline.</p>
<pre>USE &lt;Target_Database&gt;
EXEC sp_change_users_login 'Update_One', '&lt;Server_User&gt;', '&lt;Database_User&gt;'</pre>
<p>This will re-associate the Server Login with the specified Database Login.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=112&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/04/28/adding-a-sql-user-that-already-exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
		<item>
		<title>Unlocking a file from TFS</title>
		<link>http://biztalktalk.wordpress.com/2009/03/20/unlocking-a-file-from-tfs/</link>
		<comments>http://biztalktalk.wordpress.com/2009/03/20/unlocking-a-file-from-tfs/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 22:16:07 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[TFS]]></category>

		<guid isPermaLink="false">http://biztalktalk.wordpress.com/?p=105</guid>
		<description><![CDATA[Inevitably somebody on the team goes away on holidays and forgets to check everything into TFS (guilty, as charged!)
There&#8217;s no facility to unlock somebody else&#8217;s files through TFS Explorer, so we have to resort to the command line.  Firstly, get the list of the user&#8217;s workspaces:
tf workspaces /server:tfsserver /owner:DOMAIN\offender /computer:*
This will list the workspaces &#8220;owned&#8221; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=105&subd=biztalktalk&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Inevitably somebody on the team goes away on holidays and forgets to check everything into TFS (guilty, as charged!)</p>
<p>There&#8217;s no facility to unlock somebody else&#8217;s files through TFS Explorer, so we have to resort to the command line.  Firstly, get the list of the user&#8217;s workspaces:</p>
<pre style="padding-left:30px;">tf workspaces /server:<em>tfsserver</em> /owner:<em>DOMAIN\offender</em> /computer:*</pre>
<p>This will list the workspaces &#8220;owned&#8221; by the <span style="text-decoration:line-through;">offending little tyke</span> absent user, which we will feed into the next command:</p>
<pre style="padding-left:30px;">tf undo /server:<em>tfsserver</em> /workspace:<em>workspacename</em><strong>;</strong><em>DOMAIN\offender</em> $<em>/path/to/file/to/unlock</em></pre>
<p>Now you&#8217;re free to change the file at will, and reprimand your teammate when he gets back from his holiday, all tanned and relaxed.</p>
<p>Another FYI: just type in <strong>tf</strong> on the command line, and it will open up the appropriate help file. Sweet!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/biztalktalk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/biztalktalk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/biztalktalk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/biztalktalk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/biztalktalk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/biztalktalk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/biztalktalk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/biztalktalk.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/biztalktalk.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/biztalktalk.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=biztalktalk.wordpress.com&blog=4474709&post=105&subd=biztalktalk&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://biztalktalk.wordpress.com/2009/03/20/unlocking-a-file-from-tfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/21d4eece0ee8859d30a073e4a88468ac?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">biztalktalk</media:title>
		</media:content>
	</item>
	</channel>
</rss>