<?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/"
	>

<channel>
	<title>Nick Heppleston's BizTalk Blog &#187; Adapters</title>
	<atom:link href="http://www.modhul.com/category/adapters/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.modhul.com</link>
	<description>Experiences of a UK BizTalk Consultant</description>
	<lastBuildDate>Sun, 13 Mar 2011 17:01:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>FTP Adapter Context Property Oddities</title>
		<link>http://www.modhul.com/2009/03/04/ftp-adapter-context-property-oddities/</link>
		<comments>http://www.modhul.com/2009/03/04/ftp-adapter-context-property-oddities/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 10:34:08 +0000</pubDate>
		<dc:creator>Nick Heppleston</dc:creator>
				<category><![CDATA[Adapters]]></category>
		<category><![CDATA[BizTalk 2006]]></category>
		<category><![CDATA[Adapter]]></category>
		<category><![CDATA[BizTalk]]></category>
		<category><![CDATA[FTP]]></category>

		<guid isPermaLink="false">http://www.modhul.com/?p=733</guid>
		<description><![CDATA[Originally posted by Nick Heppleston at: http://www.modhul.com/2009/03/04/ftp-adapter-context-property-oddities/ Interesting to see that the FTP adapter doesn&#8217;t capture the full Uri of the file in its ReceivedFileName context property &#8211; instead it simply gives us the filename: Compare this with the FILE adapter where the full name (incl. the path) of the file is provided: So, if [...]]]></description>
			<content:encoded><![CDATA[<p><em>Originally posted by Nick Heppleston at: </em><a title="FTP Adapter Context Property Oddities" href="http://www.modhul.com/2009/03/04/ftp-adapter-context-property-oddities/" target="_blank">http://www.modhul.com/2009/03/04/ftp-adapter-context-property-oddities/</a></p>
<p>Interesting to see that the FTP adapter doesn&#8217;t capture the full Uri of the file in its <em>ReceivedFileName </em>context property &#8211; instead it simply gives us the filename:</p>
<p><img class="alignnone size-full wp-image-738" title="ftp-context-properties2" src="http://www.modhul.com/wp-content/uploads/2009/03/ftp-context-properties2.png" alt="ftp-context-properties2" width="893" height="211" /></p>
<p>Compare this with the FILE adapter where the full name (incl. the path) of the file is provided:</p>
<p><img class="alignnone size-full wp-image-734" title="file-context-properties" src="http://www.modhul.com/wp-content/uploads/2009/03/file-context-properties.png" alt="file-context-properties" width="887" height="207" /></p>
<p>So, if you need to capture say the folder structure of the FTP server, you need to do a few lines of magic to extract the folder name from the <em>InboundTransportLocation</em> property (shown in green in the first screenshot) and munge it with the <em>ReceivedFileName</em>.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/e45d75b8-7131-4b52-9e38-a64330f2f7d1/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=e45d75b8-7131-4b52-9e38-a64330f2f7d1" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.modhul.com/2009/03/04/ftp-adapter-context-property-oddities/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WSE Adapter Setup</title>
		<link>http://www.modhul.com/2007/07/28/wse-adapter-setup/</link>
		<comments>http://www.modhul.com/2007/07/28/wse-adapter-setup/#comments</comments>
		<pubDate>Sat, 28 Jul 2007 16:27:51 +0000</pubDate>
		<dc:creator>Nick Heppleston</dc:creator>
				<category><![CDATA[Adapters]]></category>

		<guid isPermaLink="false">http://www.modhul.com/2007/07/28/wse-adapter-setup/</guid>
		<description><![CDATA[After struggling to get the WSE Adapter setup on a new dev box, I&#8217;m writing this post for posterity, so I don&#8217;t waste another three-hours getting the adapter installed&#8230;. The adapter has one prerequisite &#8211; The Microsoft Web Services Enhancements 2.0 SP3 for .Net [1] &#8211; download and run the setup; once finished, check that [...]]]></description>
			<content:encoded><![CDATA[<p>After struggling to get the WSE Adapter setup on a new dev box, I&#8217;m writing this post for posterity, so I don&#8217;t waste another three-hours getting the adapter installed&#8230;.</p>
<p>The adapter has one prerequisite &#8211; The Microsoft Web Services Enhancements 2.0 SP3 for .Net [1] &#8211; download and run the setup; once finished, check that you have the correct version of the Microsoft.Web.Services2 assembly in your GAC, it should be version 2.0.3.0.</p>
<p><center><img src="http://www.modhul.com/wp-content/uploads/2007/07/microsoftwebservices2.PNG" alt="Microsoft.Web.Services2 Version in the GAC" border="0" /></center>This is where I was coming unstuck with the install &#8211; there are several versions of MS WSE for .Net, however the BizTalk WSE Adapter seems to need SP3 (which provides the aforementioned version).</p>
<p>Download and install the BizTalk Adapter for WSE 2.0 [2] and its associated service pack, Service Pack 1 [3]. Once the service pack is installed, you should have a working WSE Adapter. If the user that is installing the adapter is not a member of the BizTalk Server Administrators Group, the installer will throw a message informing you that it can&#8217;t add (create?) the adapter in the BizTalk Group &#8211; simply add the adapter manually from the Admin Console.</p>
<p><strong>Downloads</strong></p>
<ol>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=1ba1f631-c3e7-420a-bc1e-ef18bab66122&amp;displaylang=en" title="Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET" target="_blank">Web Services Enhancements (WSE) 2.0 SP3 for Microsoft .NET</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=BA643360-E9DC-4FC5-8D60-8E6C5ECA7861&amp;displaylang=en" title="BizTalk Adapter for Web Services Enhancement (WSE) 2.0" target="_blank">BizTalk Adapter for Web Services Enhancement (WSE) 2.0</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=0767C9A4-E4CE-49E0-B2B6-8D64E3545BDC&amp;displaylang=en" title="BizTalk Adapter for WSE 2.0 Service Pack 1 Update" target="_blank">BizTalk Adapter for WSE 2.0 Service Pack 1 Update</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.modhul.com/2007/07/28/wse-adapter-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

