<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>BizTalk 2006 - Windows SharePoint Services adapter : BizTalk Topics</title><link>http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx</link><description>Tags: BizTalk Topics</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Is there a way to configure one send port to send a message to a document library based on a parameter?</title><link>http://blogs.msdn.com/ahamza/archive/2007/03/07/is-there-a-way-to-configure-one-send-port-to-send-a-message-to-a-document-library-based-on-a-parameter.aspx</link><pubDate>Thu, 08 Mar 2007 01:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1831339</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>11</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/1831339.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=1831339</wfw:commentRss><description>&lt;P&gt;This question comes up quite often that it deserves its own post. &lt;EM&gt;Is there a way to configure one send port to send a message to a variable destination based on a parameter?&lt;/EM&gt; For instance when using WSS adapter, can you send a message to a different document library based on the message that's being processed?&lt;/P&gt;
&lt;P&gt;The answer is yes, it's possible to do this in two ways:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;using dynamic send ports, the destination URI and the configuration of the send port can be set programatically in the orchestration for every outgoing message. This method has the advantage that no ports have to be pre-created.&lt;/LI&gt;
&lt;LI&gt;using role-links and parties. For each party you need to pre-create and configure a pyshical send port. You will have pretty much a party per destination. You enlist the parties in the appropriate role. Then, in the orchestration the only thing that you need to do is set the party associated with the role-link. The physical send port of the party associated with the role-link will be used to process the outgoing message.&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;I included below more information on how to do this using dynamic send ports which is the more simple &amp;amp; frequent approach.&lt;/P&gt;
&lt;P mce_keep="true"&gt;The URL for a WSS adapter dynamic send port will be something like this:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'wss://ServerName/sites/MySite/MyDocumentLibrary/'&amp;nbsp; if you installed the web service on an HTTP site&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'wss&lt;STRONG&gt;s&lt;/STRONG&gt;://ServerName/sites/MySite/MyDocumentLibrary/' if you installed the web service on an HTTPS site (notice the&amp;nbsp;additional s in wsss://).&lt;BR&gt;&amp;nbsp;&lt;BR&gt;and you can set it programatically from the orchestration (like below) every time you sent out a message&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynamicSendPortName(Microsoft.XLANGs.BaseTypes.Address) = "wss://ServerName/sites/MySite/" + lookedupDocLibName;&lt;BR&gt;&amp;nbsp;&lt;BR&gt;The rest of the send port configuration information must be set on the outgoing message using the Config* context properties documented here &lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa547920.aspx" mce_href="http://msdn2.microsoft.com/en-us/library/aa547920.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa547920.aspx&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;For instance:&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outgoingMsg(WSS.Filename) = "file1.xml";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; outgoingMsg(WSS.ConfigOverwrite) = "yes";&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; etc.&lt;BR&gt;&amp;nbsp;&lt;BR&gt;Video&amp;nbsp;04-WSSAdapter-PropsInOrchestration.wmv shared here includes one such dynamic send port example&lt;BR&gt;&lt;A href="http://blogs.msdn.com/ahamza/archive/2006/04/18/WssAdapterVideosWebcasts.aspx" mce_href="http://blogs.msdn.com/ahamza/archive/2006/04/18/WssAdapterVideosWebcasts.aspx"&gt;http://blogs.msdn.com/ahamza/archive/2006/04/18/WssAdapterVideosWebcasts.aspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1831339" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/Windows+SharePoint+Services+adapter/default.aspx">Windows SharePoint Services adapter</category><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>BizTalk Server 2004 SP2 Beta is available</title><link>http://blogs.msdn.com/ahamza/archive/2006/08/14/699895.aspx</link><pubDate>Mon, 14 Aug 2006 21:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:699895</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/699895.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=699895</wfw:commentRss><description>&lt;P&gt;From my colleague Bill Ticehurst [MSFT]:&lt;/P&gt;
&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;
&lt;P&gt;&lt;EM&gt;Hi all,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;A beta release of Service Pack 2 for BizTalk Server 2004 is now available &lt;BR&gt;from the Connect site.&amp;nbsp; To obtain this beta perform the following steps:&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;- Go to &lt;/EM&gt;&lt;A href="http://connect.microsoft.com/"&gt;&lt;EM&gt;http://connect.microsoft.com/&lt;/EM&gt;&lt;/A&gt;&lt;BR&gt;&lt;EM&gt;- Sign in with your Passport account&amp;nbsp; (you need to do this step for it to be &lt;BR&gt;visible)&lt;BR&gt;- Click on Available Connections&lt;BR&gt;- On the second table on the page you should see "BizTalk Server 2004 SP2 &lt;BR&gt;beta"&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;If you download and install this service pack then feedback on any issues or &lt;BR&gt;problems encountered would be greatly appreciated (that's what beta is for &lt;BR&gt;right!).&amp;nbsp; The email address for feedback is &lt;/EM&gt;&lt;A href="mailto:bts4sp2f@microsoft.com"&gt;&lt;EM&gt;bts4sp2f@microsoft.com&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt; . &lt;BR&gt;Positive feedback will also be of value and is appreciated.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Thanks and regards,&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&amp;nbsp;- Bill Ticehurst [MSFT]&lt;/EM&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=699895" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>Custom Pipeline Component for Processing DBF, Excel and other ODBC types</title><link>http://blogs.msdn.com/ahamza/archive/2006/06/23/644639.aspx</link><pubDate>Fri, 23 Jun 2006 21:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:644639</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/644639.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=644639</wfw:commentRss><description>&lt;P&gt;Matt Meleski implemented a&amp;nbsp;&lt;A href="http://objectsharp.com/blogs/matt/archive/2006/01/29/3778.aspx"&gt;custom pipeline component to process Excel or DBF&lt;/A&gt;&amp;nbsp;files. I did not test this component myself but it seems that other people have tried and it worked well for them. This looks like a nice component that could complement the&amp;nbsp;WSS adapter very nicely.&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=644639" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/Windows+SharePoint+Services+adapter/default.aspx">Windows SharePoint Services adapter</category><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>BizTalk Server 2006 TechCenter has been launched</title><link>http://blogs.msdn.com/ahamza/archive/2006/05/02/588540.aspx</link><pubDate>Tue, 02 May 2006 21:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:588540</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/588540.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=588540</wfw:commentRss><description>&lt;FONT size=2&gt;
&lt;P&gt;Yesterday, May 1st, we launched the BizTalk Server 2006 TechCenter (&lt;A href="http://www.microsoft.com/technet/prodtechnol/biztalk/"&gt;http://www.microsoft.com/technet/prodtechnol/biztalk/&lt;/A&gt;). The TechCenter provides easy access to BizTalk Server 2006 technical documentation, downloads, and community, as well as to IT Pro favorites such as the Events &amp;amp; Errors Message Center. Each navigation page within the technical library includes quick access to search BizTalk Server newsgroups and knowledge-base articles as seen, for example, on the Getting Started page. Among many things, the site contains&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Virtual labs 
&lt;LI&gt;The end-to-end tutorial as downloadable Word docs 
&lt;LI&gt;New content on Clustering BizTalk Server 
&lt;LI&gt;Links to the Installation Instructions 
&lt;LI&gt;Links to the Production Documentation published on MSDN&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;In addition to the TechCenter, we also launched the BizTalk Server 2006 Developer Center (&lt;A href="http://msdn.microsoft.com/biztalk"&gt;http://msdn.microsoft.com/biztalk&lt;/A&gt;). This project constituted a complete rebuild of the previous BizTalk Server 2004 Developer Center. For May we are featuring orchestrations. This includes new code samples, an FAQ paper on orchestrations, and in-depth content surfaced from the core documentation. With the re-design of the site it's easier than ever to learn to develop, deploy, administer, and use BizTalk Server 2006.&lt;/P&gt;
&lt;P&gt;from Michael McConnell / Technical Writing Lead / BizTalk Server&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=588540" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>Parsing plain text messages/flat files received through POP3 adapter</title><link>http://blogs.msdn.com/ahamza/archive/2006/03/31/566044.aspx</link><pubDate>Fri, 31 Mar 2006 20:06:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:566044</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/566044.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=566044</wfw:commentRss><description>&lt;P&gt;Recently I received this question from one of our customers, unfortunately his email address was wrong and I couldn't reply directly to him. Before leaving to the BizTalk Shipping party ...&amp;nbsp;yuuhuuu... I thought to try and provide an answer. See below a scrubbed version of the email I received&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I am trying to find someone to help me with few tips related to BizTalk 2006 and POP3 adapter - specifically parsing plain text messages as they are flat files.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;We are currently evaluating BizTalk 2006. Parsing of the plain text email messages containing for example orders as the body of the message is one of our tasks. &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Do you know of any good resource (blog, samples, ...) to recommend. &lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;I already tried community newsgroups but no help there. I would expect that this is rather trivial task with BizTalk 2006.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;POP3 adapter has a built-in MIME decoding feature which is enabled by default ("Apply MIME Decoding" property on POP3 receive location property page). So, when POP3 adapter receives a message, it will convert the email body into BizTalk message part. It will save other email headers on the BizTalk message context. You can use Flat-file disassembler component in the receive pipeline and retrieve the actual business data. You can find some basic information on POP3 adapter here: &lt;A href="http://www.microsoft.com/biztalk/techinfo/whitepapers/adapterwp.mspx"&gt;http://www.microsoft.com/biztalk/techinfo/whitepapers/adapterwp.mspx&lt;/A&gt; (Open BTS2k6AdapterEnhance.doc)&lt;/P&gt;
&lt;P&gt;Here is the online documentation for BizTalk Server 2006.&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bts06default/html/cadd3bdd-f13b-427d-8979-b2541aa5e21d.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/bts06default/html/cadd3bdd-f13b-427d-8979-b2541aa5e21d.asp&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;If there are other questions, please follow up with me and I'll try to get some answers back to you. Please make sure you fill-in your email address correctly.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=566044" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>Upgrading from BT'04 GotDotNet WSS Adapter 1.0 to BT'06 native WSS Adapter</title><link>http://blogs.msdn.com/ahamza/archive/2006/03/29/Upgrade-from-WSSLib-to-BT06-native-WSS-adapter.aspx</link><pubDate>Wed, 29 Mar 2006 09:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:563725</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>4</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/563725.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=563725</wfw:commentRss><description>&lt;P&gt;I finally found some time and tried upgrading from BizTalk 2004 and GotDotNet WSS adapter to BizTalk 2006 and the native BT'06 adapter for Windows SharePoint Services. The idea was to start from a BizTalk 2004 installation with version 1.0 of Steve Resnick &amp;amp; Co.&amp;nbsp;WSS Adapter (&lt;A href="http://www.gotdotnet.com/workspaces/workspace.aspx?id=0d1aa85c-cf8d-497e-84f4-3ffec8db115f"&gt;http://www.gotdotnet.com/workspaces/workspace.aspx?id=0d1aa85c-cf8d-497e-84f4-3ffec8db115f&lt;/A&gt;) , setup a simple messaging scenario using SharePoint, upgrade to BizTalk 2006, verify that messaging still works, upgrade to the native BizTalk 2006 WSS Adapter and then verify that messaging works with the new adapter. &lt;/P&gt;
&lt;P&gt;I followed the steps below, in order to create a sample messaging test for SharePoint:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Created Source document library, then renamed it SourceDocLib (this trick causes the document library URL and the document library name to be different and this way I can see if WSSLib adapter really expects the URL or the display name of the document library). Created a View named ‘UpgradeDocuments’ that shows only those documents with ID &amp;gt;= 0 (probably all docs).&lt;BR&gt;
&lt;LI&gt;Created&amp;nbsp;document library named 'Destination', then renamed it to 'DestinationDocLib'. Created folder ‘Dest Folder’. Added columns SharePointColumn1, and SharePointColumn2.&lt;BR&gt;
&lt;LI&gt;Created&amp;nbsp;document library named 'Archive', then renamed it to 'ArchiveDocLib'. Created ‘My Folder’ folder in the library just created.&lt;BR&gt;
&lt;LI&gt;Created receive port and receive location for WSSLib adapter. Used all the fields available in order to make sure that similar field exists in native BT'06 adapter.&lt;BR&gt;
&lt;LI&gt;Created send port for WSSLib adapter, used all the fields.&lt;BR&gt;(See the exported bindings or the UI captures below to see how the ports were configured.&amp;nbsp;If you want to repro my test, after importing the bindings, you will have to update the filter on the send port to process messages received from the receive location by adding BTS.ReceivePortName == WSSLib-Receive condition. Only then start the send port.)&lt;BR&gt;
&lt;LI&gt;Sent test messages (see attached).&lt;BR&gt;
&lt;LI&gt;Exported all bindings.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;See images below for the receive location and send port settings:&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;IMG src="/photos/ahamza/images/562732/384x425.aspx"&gt;&lt;BR&gt;WSSLib - Receive Location &lt;BR&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;STRONG&gt;Receive Location XML&lt;/STRONG&gt;&lt;BR&gt;&lt;FONT size=1&gt;&amp;lt;Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;pollingInterval&amp;gt;10&amp;lt;/pollingInterval&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;errorThreshold&amp;gt;10&amp;lt;/errorThreshold&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;site&amp;gt;http://demoappserver/Sites/BASSite&amp;lt;/site&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;folder&amp;gt;Source&amp;lt;/folder&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;view&amp;gt;UpgradeDocuments&amp;lt;/view&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;archiveFolder&amp;gt;Archive/My Folder&amp;lt;/archiveFolder&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;uri&amp;gt;http://demoappserver/Sites/BASSite/Source&amp;lt;/uri&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;userName /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;userPassword&amp;gt;******&amp;lt;/userPassword&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;userDomain /&amp;gt;&lt;BR&gt;&amp;lt;/Config&amp;gt; &lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colSpan=2&gt;&lt;IMG src="/photos/ahamza/images/562734/384x425.aspx"&gt;&lt;IMG src="/photos/ahamza/images/562736/384x425.aspx"&gt;&lt;BR&gt;WSSLib - Send port (upper and lower part of configuration dialog box)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colSpan=2&gt;&lt;!- send port --&gt;&lt;STRONG&gt;Send Port XML&lt;/STRONG&gt; &lt;BR&gt;&lt;FONT size=1&gt;&amp;lt;Config xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;uri&amp;gt;wss://demoappserver/Sites/BASSite/Destination/Dest Folder&amp;lt;/uri&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;site&amp;gt;http://demoappserver/Sites/BASSite/&amp;lt;/site&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;folder&amp;gt;Destination/Dest Folder&amp;lt;/folder&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;overwrite&amp;gt;true&amp;lt;/overwrite&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;fileName&amp;gt;%GUID%&amp;lt;/fileName&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;fileExtension&amp;gt;xml&amp;lt;/fileExtension&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;fileNamespace&amp;gt;po0="http://MyTestNamespace"&amp;lt;/fileNamespace&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;userName /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;userPassword&amp;gt;******&amp;lt;/userPassword&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;userDomain /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyName1&amp;gt;SharePointColumn1&amp;lt;/propertyName1&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertySource1&amp;gt;=//po1:PurchaseOrder/po1:Amount&amp;lt;/propertySource1&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyNamespace1&amp;gt;po1="http://MyTestNamespace"&amp;lt;/propertyNamespace1&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyName2 /&amp;gt;&amp;lt;propertySource2 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyNamespace2 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyName3&amp;gt;SharePointColumn2&amp;lt;/propertyName3&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertySource3&amp;gt;=//po3:PurchaseOrder/po3:ChargeTo&amp;lt;/propertySource3&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyNamespace3&amp;gt;po3="http://MyTestNamespace"&amp;lt;/propertyNamespace3&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyName4 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertySource4 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyNamespace4 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertyName5 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;propertySource5 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;view/&amp;gt;&lt;BR&gt;&amp;lt;/Config&amp;gt; &lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;Once I configured the messaging I've sent a couple of messages through&amp;nbsp;(see attached) to make sure that everything is working fine. &lt;/P&gt;
&lt;P&gt;&lt;FONT size=4&gt;UPGRADE&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;I followed these steps &lt;A href="http://geekswithblogs.net/darko/archive/2006/01/24/66866.aspx"&gt;http://geekswithblogs.net/darko/archive/2006/01/24/66866.aspx&lt;/A&gt; in order to upgrade to BizTalk 2006. The upgrade went through without problems. Another place where you can find upgrade information is this blog &lt;A href="/biztalk_upgrade/default.aspx"&gt;http://blogs.msdn.com/biztalk_upgrade/default.aspx&lt;/A&gt; Because my BizTalk 2004 installation had the BAS feature installed, after upgrade, both BAS and Windows SharePoint Services Adapter Web Service features were installed on the machine (even though the latter does not show up as enabled in setup, it's there because BAS requires it). If your BizTalk 2004 installation didn't have BAS, after upgrading your SharePoint box, you will have to start setup, add Windows SharePoint Services Adapter Web Service feature, and configure it. That's easy and straight forward so I won't go into details. &lt;/P&gt;
&lt;P&gt;After upgrade, I browsed to the BAS site (SharePoint site) to see if SharePoint was still working fine and it didn't. I received the following error:&lt;BR&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;EM&gt;&lt;FONT size=2&gt;This Windows SharePoint Services virtual server has not been configured for use with ASP.NET 2.0.50727.42. For more information, please refer to Knowledge Base article 894903 at &lt;/FONT&gt;&lt;/EM&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=42660"&gt;&lt;EM&gt;&lt;FONT size=2&gt;http://go.microsoft.com/fwlink/?LinkId=42660&lt;/FONT&gt;&lt;/EM&gt;&lt;/A&gt;&lt;EM&gt;&lt;FONT size=2&gt;. &lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;EM&gt;&lt;FONT size=2&gt;Troubleshoot issues with Windows SharePoint Services&lt;/FONT&gt;&lt;/EM&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The KB article just tells you to run one command. I run the command below:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;stsadm.exe –o upgrade –forceupgrade –url &lt;/STRONG&gt;&lt;A href="http://demoappserver/sites/BASSite"&gt;&lt;STRONG&gt;http://demoappserver/sites/BASSite&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;restarted IIS and after that the BAS site shown up without problems. I started the BizTalk services that I stopped during upgrade, sent a few SharePoint messages through and everything worked fine. &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT size=4&gt;Updating the ports&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;So I proceeded to update the receive location and send port in order to change from WSSLib adapter to 'Windows SharePoint Services' adapter. First thing I did, was to stop the BizTalk Host Instances that were used by the WSSLib adapter. This is probably not necessary, but in a couple of cases I noticed that the WSSLib ports don't shutdown appropriately and I didn't want to run into issues. After that, for each of the receive location or send port I changed the 'Transport Type' property from 'WSSLib' to 'Windows SharePoint Services' and then re-configured the send port/receive location like below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;IMG src="/photos/ahamza/images/562730/379x425.aspx"&gt;&lt;BR&gt;'Windows SharePoint Services' - Receive Location &lt;BR&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;STRONG&gt;Receive Location XML&lt;/STRONG&gt;&lt;BR&gt;&lt;FONT size=1&gt;&amp;lt;ReceiveLocation xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;SiteUrl&amp;gt;http://demoappserver/Sites/BASSite/&amp;lt;/SiteUrl&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;WssLocation&amp;gt;Source&amp;lt;/WssLocation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;ViewName&amp;gt;UpgradeDocuments&amp;lt;/ViewName&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;ArchiveLocation&amp;gt;Archive/My Folder&amp;lt;/ArchiveLocation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;NamespaceAliases&amp;gt;&amp;lt;/NamespaceAliases&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;ArchiveFileName&amp;gt;&amp;lt;/ArchiveFileName&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Overwrite&amp;gt;no&amp;lt;/Overwrite&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;ErrorThreshold&amp;gt;10&amp;lt;/ErrorThreshold&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PollingInterval&amp;gt;10&amp;lt;/PollingInterval&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;BatchSize&amp;gt;20&amp;lt;/BatchSize&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;OfficeIntegration&amp;gt;optional&amp;lt;/OfficeIntegration&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Timeout&amp;gt;100000&amp;lt;/Timeout&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;AdapterWSPort&amp;gt;80&amp;lt;/AdapterWSPort&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;uri&amp;gt;wss://demoappserver:80/Sites/BASSite/Source?ViewName=UpgradeDocuments&amp;lt;/uri&amp;gt;&lt;BR&gt;&amp;lt;/ReceiveLocation&amp;gt; &lt;FONT size=+0&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colSpan=2&gt;&lt;IMG src="/photos/ahamza/images/562733/382x425.aspx"&gt;&lt;IMG src="/photos/ahamza/images/562735/380x425.aspx"&gt;&lt;BR&gt;'Windows SharePoint Services' - Send port (upper and lower part of configuration dialog box)&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colSpan=2&gt;&lt;!- send port --&gt;&lt;STRONG&gt;Send Port XML&lt;/STRONG&gt; &lt;BR&gt;&lt;FONT size=1&gt;&amp;lt;SendPort xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;SiteUrl&amp;gt;http://demoappserver/sites/BASSite/&amp;lt;/SiteUrl&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;WssLocation&amp;gt;Destination/Dest Folder&amp;lt;/WssLocation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Overwrite&amp;gt;yes&amp;lt;/Overwrite&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;NamespaceAliases&amp;gt;po0="http://MyTestNamespace"; po1="http://MyTestNamespace"; po3="http://MyTestNamespace"&amp;lt;/NamespaceAliases&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;FileName&amp;gt;%MessageID%.xml&amp;lt;/FileName&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;OfficeIntegration&amp;gt;optional&amp;lt;/OfficeIntegration&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;TemplatesDocLib&amp;gt;&amp;lt;/TemplatesDocLib&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;TemplatesNamespaceCol&amp;gt;&amp;lt;/TemplatesNamespaceCol&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;CustomTemplatesDocLib&amp;gt;&amp;lt;/CustomTemplatesDocLib&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;CustomTemplatesNamespaceCol&amp;gt;&amp;lt;/CustomTemplatesNamespaceCol&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName1&amp;gt;SharePointColumn1&amp;lt;/PropertyName1&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource1&amp;gt;%XPATH=//po1:PurchaseOrder/po1:Amount%&amp;lt;/PropertySource1&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName2&amp;gt;&amp;lt;/PropertyName2&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource2 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName3&amp;gt;SharePointColumn2&amp;lt;/PropertyName3&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource3&amp;gt;%XPATH=//po3:PurchaseOrder/po3:ChargeTo%&amp;lt;/PropertySource3&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName4&amp;gt;&amp;lt;/PropertyName4&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource4 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName5&amp;gt;&amp;lt;/PropertyName5&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource5 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName6&amp;gt;&amp;lt;/PropertyName6&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource6 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName7&amp;gt;&amp;lt;/PropertyName7&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource7 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName8&amp;gt;&amp;lt;/PropertyName8&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource8 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName9&amp;gt;&amp;lt;/PropertyName9&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource9 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName10&amp;gt;&amp;lt;/PropertyName10&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource10 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName11&amp;gt;&amp;lt;/PropertyName11&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource11 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName12&amp;gt;&amp;lt;/PropertyName12&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource12 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName13&amp;gt;&amp;lt;/PropertyName13&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource13 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName14&amp;gt;&amp;lt;/PropertyName14&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource14 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName15&amp;gt;&amp;lt;/PropertyName15&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource15 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertyName16&amp;gt;&amp;lt;/PropertyName16&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;PropertySource16 /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Timeout&amp;gt;100000&amp;lt;/Timeout&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;AdapterWSPort&amp;gt;80&amp;lt;/AdapterWSPort&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp; &amp;lt;uri&amp;gt;wss://demoappserver:80/sites/BASSite/Destination/Dest%20Folder&amp;lt;/uri&amp;gt;&lt;BR&gt;&amp;lt;/SendPort&amp;gt; &lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;Once I updated all the send ports and receive locations, I re-started the host instances, and sent a few messages through. All the messages were processed correctly in the same manner as before and this concluded&amp;nbsp;my upgrade experience. Please notice that my upgrade test was done using version 1.0 of the WSSLib adapter. On GotDotNet there is an RC for the WSSLib adapter version 2.0. A comparision of that WSSLib2 adapter and BizTalk 2006 native 'Windows SharePoint Services' adapter can be found here &lt;A href="/ahamza/archive/2005/07/27/BizTalk2006WSSAdapters.aspx"&gt;http://blogs.msdn.com/ahamza/archive/2005/07/27/BizTalk2006WSSAdapters.aspx&lt;/A&gt;&amp;nbsp;The only feature supported by WSSLib2 that is not available in the native BT'06 adapter is storing the Username/Password in SSO per send port/receive location. The native BT'06 adapter uses the identity of the host instance to connect and authenticate with SharePoint. Upgrade from WSSLib2 to BT'06 native WSS Adapter should be just as straight forward. &lt;/P&gt;
&lt;P&gt;Regardless of the adapter version from which you are upgrading, if you are using some of the adapter context properties in your orchestrations you will have to update your orchestrations to use the WSS.* context properties and that will require you to recompile and redeploy your orchestrations.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=563725" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/ahamza/attachment/563725.ashx" length="338362" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/ahamza/archive/tags/Windows+SharePoint+Services+adapter/default.aspx">Windows SharePoint Services adapter</category><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>BizTalk Server 2006 has RTM'd</title><link>http://blogs.msdn.com/ahamza/archive/2006/03/27/BizTalk-2006-RTM.aspx</link><pubDate>Mon, 27 Mar 2006 20:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:562213</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/562213.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=562213</wfw:commentRss><description>&lt;P&gt;BizTalk Server 2006 has RTM'd today ... best BizTalk ever, shipped on time and a very high quality server product. See the &lt;A href="http://www.microsoft.com/presspass/press/2006/mar06/03-27BizTalk2006RTMPR.mspx" target=”new”&gt;announcement&lt;/A&gt; here.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.computerworld.com/softwaretopics/software/story/0,10801,109944,00.html"&gt;http://www.computerworld.com/softwaretopics/software/story/0,10801,109944,00.html&lt;/A&gt;&lt;/P&gt;&lt;U&gt;&lt;FONT color=#800080&gt;&lt;A href="http://www.crn.com/sections/breakingnews/breakingnews.jhtml?articleId=183702861"&gt;http://www.crn.com/sections/breakingnews/breakingnews.jhtml?articleId=183702861&lt;/A&gt;&lt;/FONT&gt;&lt;/U&gt; 
&lt;P&gt;Of course, my favorite BT'06 features are are WSS Adapter, BAS&amp;nbsp;and BAM ... because my colleagues and I worked on many of these features ... ;-)&lt;/P&gt;
&lt;P&gt;I've been working in BizTalk team for 4 years now, this is my second BizTalk release, and I really like the things that I do here. The product and the people are great, there are MANY great opportunities, the mix of technologies that we use or develop is exciting and challenging. This is one of the best places to be at Microsoft. If you are interested, check this post on how to get your resume posted and join the team&amp;nbsp;&lt;A HREF="/biztalk_server_team_blog/archive/2006/03/21/556067.aspx"&gt;http://blogs.msdn.com/biztalk_server_team_blog/archive/2006/03/21/556067.aspx&lt;/A&gt;&lt;BR&gt;Normally, I would get borred working on the same product for 4 years, but that was not the case with this product. I decided to stay with the BizTalk team and work on the next version of BizTalk that should be even better. However, I will change teams inside BizTalk, I am moving to the engine/message box&amp;nbsp;team. I have admired the work they've done for quite a while now and that seems to be the right place for me going forward.&lt;/P&gt;
&lt;P&gt;If you haven't done this already, take a look at the latest BizTalk release here &lt;A href="http://www.microsoft.com/biztalk/default.mspx"&gt;http://www.microsoft.com/biztalk/default.mspx&lt;/A&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=562213" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/Windows+SharePoint+Services+adapter/default.aspx">Windows SharePoint Services adapter</category><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>BizTalk Server product management team has a new blog</title><link>http://blogs.msdn.com/ahamza/archive/2006/03/21/557309.aspx</link><pubDate>Wed, 22 Mar 2006 01:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:557309</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/557309.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=557309</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Let's say welcome to the BizTalk Server product management team that has a &lt;/FONT&gt;&lt;A title=http://blogs.msdn.com/BizTalk_Server_Team_Blog/ HREF="/BizTalk%5FServer%5FTeam%5FBlog/"&gt;&lt;FONT face=Arial size=2&gt;new blog&lt;/FONT&gt;&lt;/A&gt;,&lt;FONT face=Arial size=2&gt; with Mike Woods, Kris Horrocks, &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:PersonName w:st="on"&gt;Steve Sloan&lt;/st1:PersonName&gt;, and &lt;st1:PersonName w:st="on"&gt;Mark Berman&lt;/st1:PersonName&gt; contributing content every week. They’re ready to carry the momentum leading up to and after the ’06 release with great posts,&amp;nbsp;so keep an eye on their blog. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;If you are new to BizTalk then take a look at&amp;nbsp;&lt;A HREF="/biztalk_server_team_blog/archive/2006/03/21/556994.aspx"&gt;'BizTalk Beginner Training Roadmap'&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=557309" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item><item><title>"I cannot access the MSMQC adapter properties in an orchestration" issue</title><link>http://blogs.msdn.com/ahamza/archive/2005/09/09/463273.aspx</link><pubDate>Sat, 10 Sep 2005 05:09:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:463273</guid><dc:creator>Adrian Hamza</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/ahamza/comments/463273.aspx</comments><wfw:commentRss>http://blogs.msdn.com/ahamza/commentrss.aspx?PostID=463273</wfw:commentRss><description>&lt;P&gt;Recently,&amp;nbsp;somebody asked me how to access the MSMQ label from BizTalk, in order to access some information that is passed by its own C# application through the MSMQ label.&lt;BR&gt;See issue described below.&lt;BR&gt;----------------------------------&lt;BR&gt;Below I give my problem, Please give me a good solution for me.&lt;BR&gt;I have a C# application. It has an upload page. If user uploads a XML file,the C# application reads it and send this to MSMQ as a Message.&lt;BR&gt;The code is below.&lt;/P&gt;
&lt;P&gt;StreamReader sr = new StreamReader(Path); string str; str = sr.ReadToEnd(); System.Messaging.Message mm = new System.Messaging.Message(); mm.Formatter = new ActiveXMessageFormatter(); mm.Body = str.ToString(); mm.Label = UserID; mq.Send(mm);&lt;/P&gt;
&lt;P&gt;I create a Orchestration with receive and send ports. The receive ports looks message from the MSMQ using MSMQ adapter. then I use schemas and maps to transfer the Message. After that, I use a file adapter for save the final message to a folder. &lt;/P&gt;
&lt;P&gt;Every thing works fine. My problem is, I want to identify the User who uploads the file. In C# application I set the label for the message as USERID.&lt;/P&gt;
&lt;P&gt;I want to save the name of the output file is [userid].xml. &lt;/P&gt;
&lt;P&gt;I use %SourceFileName% and MsgOut(FILE.ReceivedFileName) to rename the output file. But how to get the userid from the C# application and set the file name. I cant able to access MSMQT.Label in Expression Editor. Because I use MSMQ adapter. Please give me a good solution. &lt;/P&gt;
&lt;P&gt;The main problem is identify the user who uploads the file. &lt;BR&gt;----------------------------------&lt;BR&gt;The problem with the existing implementation of MSMQC lies in the MSMQPropertySchema.xsd file that seems to be incorrect.&lt;BR&gt;This XSD schema must be updated so that the properties are marked as context properties. To do this, select each property and change the "Property Schema Base" property from default value (no value) to MessageContextPropertyBase. Once you do this, re-build&amp;nbsp;and re-deploy the updated schema project, and you should be able to access these properties from your orchestration.&lt;BR&gt;This is how the schema should look like&lt;/P&gt;
&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-16"?&amp;gt;&lt;BR&gt;&amp;lt;xs:schema xmlns="&lt;A href="http://schemas.microsoft.com/BizTalk/2003/msmqc-properties"&gt;http://schemas.microsoft.com/BizTalk/2003/msmqc-properties&lt;/A&gt;" xmlns:b="&lt;A href="http://schemas.microsoft.com/BizTalk/2003"&gt;http://schemas.microsoft.com/BizTalk/2003&lt;/A&gt;" targetNamespace="&lt;A href="http://schemas.microsoft.com/BizTalk/2003/msmqc-properties"&gt;http://schemas.microsoft.com/BizTalk/2003/msmqc-properties&lt;/A&gt;" xmlns:xs="&lt;A href="http://www.w3.org/2001/XMLSchema"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;"&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:schemaInfo schema_type="property" xmlns:b="&lt;A href="http://schemas.microsoft.com/BizTalk/2003"&gt;http://schemas.microsoft.com/BizTalk/2003&lt;/A&gt;" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="AppSpecific" type="xs:int"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="ec76abf6-1c10-4383-8182-635eaf20a790" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="ArrivedTime" type="xs:dateTime"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="3d8ae2da-2f26-4422-a68a-67f005cf32c8" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="Authenticated" type="xs:boolean"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="36e29190-e4cc-4e64-b181-4a63488ccd75" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="CorrelationId" type="xs:string"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="d16e9d65-f742-4982-9c71-59089fa23b22" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="Id" type="xs:string"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="c0e64a4d-8a6f-4b21-936c-5531abb255f4" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="Label" type="xs:string"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="1ff2b7af-2dd8-4b38-8360-2373e5fb05f6" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="Priority" type="xs:int"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="7f13d6b8-21c6-4914-9025-b91dc03c0b24" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="ResponseQueue" type="xs:string"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="8cf607f9-165e-43c8-b730-07559d876b5c" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="SentTime" type="xs:dateTime"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="603ffea4-4fd9-443c-9362-b662b8aacddb" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;xs:element name="SourceMachine" type="xs:string"&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b:fieldInfo propertyGuid="32fbdf7b-d19f-4e27-9b45-331810780eef" propSchFieldBase="MessageContextPropertyBase" /&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:appinfo&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/xs:annotation&amp;gt;&lt;BR&gt;&amp;nbsp; &amp;lt;/xs:element&amp;gt;&lt;BR&gt;&amp;lt;/xs:schema&amp;gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=463273" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/ahamza/archive/tags/BizTalk+Topics/default.aspx">BizTalk Topics</category></item></channel></rss>