<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>BizTalk</title>
        <link>http://geekswithblogs.net/OverTaxedMind/category/6695.aspx</link>
        <description>BizTalk</description>
        <language>en-US</language>
        <copyright>Douglas Marsh</copyright>
        <managingEditor>marsh.douglas.e@gmail.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <item>
            <title>Cannot locate document specification because multiple schemas matched the message type</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2008/04/08/cannot-locate-document-specification-because-multiple-schemas-matched-the-message.aspx</link>
            <description>&lt;p&gt;I ran into an interesting issue a couple of weeks ago and I thought I would share.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;1st, the meat of the post.&lt;/p&gt;  &lt;p&gt;If you have extracted the schemas from an XmlSerializable object and deployed those schemas to BizTalk, you can't use that object (or any of its dependant objects) as a BizTalk message type.    &lt;br /&gt;Why? Because BizTalk registers XmlSerializable types that are used as messages as schemas. If you have already registered the schema, you will end up with message type duplication.&lt;/p&gt;  &lt;p&gt;_____________________________________________________________________________________________________________________________________________________________________    &lt;br /&gt;I was working on an application where BizTalk was operating as a SOA messaging bus.     &lt;br /&gt;The system was designed to receive data from a number of different systems, map that data to a canonical object model.&lt;/p&gt;  &lt;p&gt;The canonical object model consisted of several XmlSerializable classes written in C#.    &lt;br /&gt;I used xsd.exe to extract schemas for the objects so that I could use the BizTalk mapper to map to and from the object model.&lt;/p&gt;  &lt;p&gt;All of this worked great until I decided to break some common functionality into a separate orchestration.    &lt;br /&gt;Since no mapping would occur in the Helper orchestration, I decided to pass the canonical object directly to the orchestration.     &lt;br /&gt;I also decided that calling the Helper orchestration via Direct Message Box binding would increase its overall utility and reduce coupling.     &lt;br /&gt;The end result was that I created a Message Type and a Port Type that &lt;em&gt;&lt;strong&gt;referenced the canonical object instead of the canonical object schemas.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;I deployed my changes and submitted a test message.    &lt;br /&gt;As soon as my "core" orchestration called the new helper orchestration, I got a familiar error message in an unexpected point in the process.     &lt;br /&gt;&lt;strong&gt;&lt;em&gt;       &lt;br /&gt;Cannot locate document specification because multiple schemas matched the message type&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;My first reaction was total disbelief. I hadn't changed any schemas. In fact, I didn't even redeploy my schema project.    &lt;br /&gt;I checked the &lt;em&gt;&lt;strong&gt;Schemas&lt;/strong&gt;&lt;/em&gt; folder under &lt;strong&gt;BizTalk Application 1&lt;/strong&gt; and there was only one schema with the offending namespace#rootnode combination.     &lt;br /&gt;So I checked the &lt;strong&gt;&lt;em&gt;Schemas&lt;/em&gt; &lt;/strong&gt;folder under &lt;em&gt;&lt;strong&gt;&amp;lt;All Artifacts&amp;gt;&lt;/strong&gt;&lt;/em&gt; and there where two schemas... and the new schema was filed under the BizTalk.System Application.&lt;/p&gt;  &lt;p&gt;I this point, I was quite confused. You can't deploy to BizTalk.System. It is for system use only.  &lt;br /&gt;I dug a little deeper and discovered that my Canonical object C# assembly was the source of the duplicate schema... and then I understood.&lt;/p&gt;  &lt;p&gt;My canonical object model was already "registered" in BizTalk via the schema I generated to enable mapping to the object model.    &lt;br /&gt;When I used the canonical class as a message type, BizTalk extracted the schema from the serialization metadata and registered the resulting message type with the messaging engine.     &lt;br /&gt;Because both schemas are the same, I had duplicate message types.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Luckily the fix was simple. I changed the Message Type and a Port Type to use the canonical object schemas and serialized between the different object representation in the orchestrations before sending the data to the Message Box.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=121120"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=121120" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/121120.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2008/04/08/cannot-locate-document-specification-because-multiple-schemas-matched-the-message.aspx</guid>
            <pubDate>Wed, 09 Apr 2008 01:47:31 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/121120.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2008/04/08/cannot-locate-document-specification-because-multiple-schemas-matched-the-message.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/121120.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/121120.aspx</trackback:ping>
        </item>
        <item>
            <title>The &amp;quot;Scripting&amp;quot; has [x] input parameter(s), but [y] parameter(s) are excepted</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/the-quotscriptingquot-has-x-input-parameters-but-y-parameters-are.aspx</link>
            <description>&lt;p&gt;Here is an issue with the BizTalk mapper that resulted in a little hair loss recently.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;I was working on a fairly complex BizTalk map that was using scripting functiods to reference functions in an pre-existing .NET assembly.     &lt;br /&gt;In a couple of instances, the code in the Helper assembly wasn't quite what needed, so I switched from using the Helper Class function to using inline C#.     &lt;br /&gt;Once I changed the functiod to use inline C#, the Configure Functiod Script dialog looked like the screen-shot below.&lt;/p&gt;  &lt;p&gt; &lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__e59dede2-0212-49fc-b914-a3fe5f50ee6b.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="460" alt="InlineC#" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__thumb_ee07aa61-fde8-44a1-a956-e79561e21823.png" width="517" border="0" /&gt;&lt;/a&gt;     &lt;br /&gt;As you can see, even though the Script type is Inline C#, the configuration for the External Script is still their. This is very important.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;For most of the "one-off" functions, I needed more parameters than what was need by the original .NET assembly functions.    &lt;br /&gt;So I wired up all of my links, click Build and ended up with the following error.&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;font face="Courier New"&gt;&lt;strong&gt;&lt;font size="4"&gt;The "Scripting" functoid has [X] input parameter(s), but [Y] parameter(s) are expected.&lt;/font&gt;           &lt;br /&gt;&lt;/strong&gt;&lt;font size="1"&gt;Note: X and Y are place holders for the actual number of parameters.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Ok. I've seen this message plenty of time before. I click through each of the scripting functoids in the error list. However, all of them had the right number of parameters.    &lt;br /&gt;I clicked build again.&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;font face="Courier New"&gt;&lt;strong&gt;&lt;font size="4"&gt;The "Scripting" functoid has [X] input parameter(s), but [Y] parameter(s) are expected.&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Ok. Visual Studio must be acting up, so I cycled the entire machine to make sure an potential cache issues are resolved.    &lt;br /&gt;Once the machine booted and I got Visual Studio restarted, I tried to build the project again.&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;font face="Courier New"&gt;&lt;strong&gt;&lt;font size="4"&gt;The "Scripting" functoid has [X] input parameter(s), but [Y] parameter(s) are expected.&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Now I'm mad. I know that the functiods have the right number of parameters. Cycling the box should have fixed any weird "out of synch" errors.    &lt;br /&gt;So I start tried a little bit of everything. I disconnect and reconnect links. Nothing. I change the order of the parameters. Nothing.     &lt;br /&gt;Finally, I reset the inline script buffer and re-pasted the code... and that function disappeared from the error list.&lt;/p&gt;  &lt;p&gt;Hmmm, so what's the difference&lt;/p&gt;  &lt;table cellspacing="0" cellpadding="2" width="1052" border="1"&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign="top" width="527"&gt;&lt;strong&gt;Pre-Reset&lt;/strong&gt;&lt;/td&gt;        &lt;td valign="top" width="523"&gt;&lt;strong&gt;Post Reset&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign="top" width="532"&gt;&lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__e59dede2-0212-49fc-b914-a3fe5f50ee6b.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="460" alt="InlineC#" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC__thumb_ee07aa61-fde8-44a1-a956-e79561e21823.png" width="517" border="0" /&gt;&lt;/a&gt;&lt;/td&gt;        &lt;td valign="top" width="523"&gt;&lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC_-correct_b8f1c644-231b-4fb0-bf82-887553fe29a5.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="460" alt="InlineC#-correct" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/InlineC_-correct_thumb_44e41e9e-73a6-448b-bcc8-fe6b7a9bdd0f.png" width="517" border="0" /&gt;&lt;/a&gt; &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;Resetting the Functoid cleared the External Assembly Configuration.&lt;/p&gt;  &lt;p&gt;With this new information in hand, I open the map up a raw XML to take a look at the guts of the situation. This is what I found:    &lt;br /&gt;&lt;a href="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/xml.png"&gt;&lt;img height="357" alt="xml" src="http://geekswithblogs.net/images/geekswithblogs_net/OverTaxedMind/WindowsLiveWriter/BizTalkMappingFromExternalAssemblytoInli_E94C/xml_thumb.png" width="1024" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Originally, all of my scripting functoids used methods from the External Assembly. When I decided to use, Inline C#, I modified the existing functiod. Instead of removing the reference to the External assembly function, the functoid added the inline function to the already defined Scripter Code block. Because my inline function required a different number of parameter than the function from the external assembly, I was getting an input parameter count error.&lt;/p&gt;  &lt;p&gt;That brings me to the moral of the story, anytime you are changing the way a scripting functoid is being used, hit the "reset" key. It will save you a world of pain.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120872"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=120872" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/120872.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/the-quotscriptingquot-has-x-input-parameters-but-y-parameters-are.aspx</guid>
            <pubDate>Mon, 31 Mar 2008 01:11:57 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/120872.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2008/03/30/the-quotscriptingquot-has-x-input-parameters-but-y-parameters-are.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/120872.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/120872.aspx</trackback:ping>
        </item>
        <item>
            <title>Workaround from BizTalk 2006 Enterprise Adapters Binding File Issue (KB923733)</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/15/Workaround-from-BizTalk-2006-Enterprise-Adapters-Binding-File-Issue-KB923733.aspx</link>
            <description>&lt;p&gt;If you've ever worked with the BizTalk 2006 Enterprise Adapters (ie Oracle Database, etc) you might have run into the following error when import a binding file or msi:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Could not validate configuration of Primary Transport of Send Port '&lt;var&gt;portname&lt;/var&gt;' with SSO server. &lt;br /&gt;Specify user name and password (Microsoft.BizTalk.ExplorerOM&lt;/strong&gt;) &lt;/p&gt; &lt;p&gt;More information is available here: &lt;a title="http://support.microsoft.com/kb/923733" href="http://support.microsoft.com/kb/923733"&gt;http://support.microsoft.com/kb/923733&lt;/a&gt;&lt;br /&gt;&lt;/p&gt; &lt;p&gt;There is a hotfix available but waiting to get the fix from Microsoft Support can consume valuable development time, so here is a dirty little workaround that I know works for the Oracle Database Adapter.&lt;/p&gt; &lt;p&gt;Extract a Binding File from the offended application(s).&lt;br /&gt;Open the file in your favorite text editor and find the Send and/or Receive Port that is reference the Oracle Database Adapter.&lt;br /&gt;Find the Configuration Property for Password and changed the masked password for the real plain text password.&lt;/p&gt; &lt;p&gt;This will fix your binding import issue until you can obtain the hotfix.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114697"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=114697" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/114697.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/15/Workaround-from-BizTalk-2006-Enterprise-Adapters-Binding-File-Issue-KB923733.aspx</guid>
            <pubDate>Wed, 15 Aug 2007 19:20:37 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/114697.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/08/15/Workaround-from-BizTalk-2006-Enterprise-Adapters-Binding-File-Issue-KB923733.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/114697.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/114697.aspx</trackback:ping>
        </item>
        <item>
            <title>Solving the ‘Object Already Defined’ Error in BizTalk</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/12/Solving-the-Object-Already-Defined-Error-in-BizTalk.aspx</link>
            <description>&lt;p&gt;One of the weird BizTalk errors that's been around since version 2004 goes something like this: &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;&lt;em&gt;Error    35    &lt;br /&gt;
symbol 'MyNamespace.DataObject' is already defined; the first definition is in assembly c:\Development\Library\MyObjects.dll    &lt;br /&gt;
C:\Development\Examples\BizTalk\ObjAlreadDefined.odx    169    50     &lt;/em&gt;&lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;This error has been blogged about several times.  &lt;a href="http://biztalkia.blogspot.com/2005/12/solving-biztalk-error-x2044.html"&gt;Example 1&lt;/a&gt; 		&lt;a href="http://blog.mikes.com.au/default,month,2006-11.aspx"&gt;Example 2&lt;/a&gt;&lt;br /&gt;
The standard "fix" is to remove the C# code that is found at the end of the orchestration file by: &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Open the orchestration in notepad or as XML &lt;/li&gt;
    &lt;li&gt;Find (Ctrl-F) &lt;strong&gt;#endif // __DESIGNER_DATA&lt;/strong&gt; 		&lt;/li&gt;
    &lt;li&gt;Delete all of the code found below &lt;strong&gt;#endif // __DESIGNER_DATA&lt;/strong&gt; 		&lt;/li&gt;
    &lt;li&gt;Save and Recompile &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Recently, I discovered a critical issue with that fix.&lt;br /&gt;
The code that you are removing is the code that allows BizTalk to export that orchestration as a public object. &lt;br /&gt;
So if you use the standard fix, you can't call the orchestration from another orchestration. &lt;/p&gt;
&lt;p&gt;I believe that I have found the root of the problem and a much simpler fix.&lt;br /&gt;
The "Already Defined" object in my example is a reference object called &lt;strong&gt;MyNamespace.DataObject.AbstractData&lt;/strong&gt;&lt;strong&gt; &lt;/strong&gt;which is defined in &lt;strong&gt;MyObjects.dll.&lt;/strong&gt; This object is used to create a varible instance called &lt;strong&gt;DataObject&lt;/strong&gt;&lt;span style="font-weight: bold;"&gt;.&lt;/span&gt;&lt;strong /&gt;&lt;strong /&gt;&lt;br /&gt;
If I rename the variable &lt;strong&gt;DataObject&lt;/strong&gt; to &lt;strong&gt;DataObject_AbstractData&lt;/strong&gt; the compile issue goes away. &lt;/p&gt;
&lt;p&gt;IMHO, when a Web Reference is added to the project, the orchestration compiler is no longer able to distinguish between part of a namespace and a variable instance of the same name. &lt;/p&gt;
&lt;p&gt;So the moral of the story is to make sure your variable names don't conflict with any part of a namespace that in reference by your project. This "rule" goes for any variable. &lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113898"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113898" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/113898.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/12/Solving-the-Object-Already-Defined-Error-in-BizTalk.aspx</guid>
            <pubDate>Thu, 12 Jul 2007 19:07:05 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/113898.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/12/Solving-the-Object-Already-Defined-Error-in-BizTalk.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/113898.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/113898.aspx</trackback:ping>
        </item>
        <item>
            <title>Copying Elements with No Namespace in XSLT 1.0</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/07/Copying-Elements-with-No-Namespace-in-XSLT-1.0.aspx</link>
            <description>&lt;p&gt;XSLT 2.0 is a wonderful standard. &lt;br /&gt;
One of the very useful additions is the ability to control the copying of namespace attribute within the copy and copy-of functions. &lt;br /&gt;
However, you don't always have the opportunity to work with the latest and greatest standard. &lt;/p&gt;
&lt;p&gt;Below is a set of XSLT templates that will copy an Element in it's entirely without dragging along the namespaces. &lt;br /&gt;
Here is an example of how to call the template to copy and element to the destination document.&lt;br /&gt;
The example creates an Destination Name call Data the contains all of the contents of the Source node XmlData. &lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Courier New; font-size: 10pt;"&gt;&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;Data&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;br /&gt;
    &amp;lt;!—&lt;/span&gt;&lt;span style="color: green;"&gt;COPY CURRENT ELEMENT without Namespaces &lt;/span&gt;&lt;span style="color: blue;"&gt;--&amp;gt;&lt;br /&gt;
    &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;copy-node&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;br /&gt;
        &amp;lt;&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:with-param&lt;/span&gt;&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;name&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;node&lt;/span&gt;"&lt;span style="color: blue;"&gt; 			&lt;/span&gt;&lt;span style="color: red;"&gt;select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;/XmlData&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;br /&gt;
    &amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;br /&gt;
&amp;lt;/&lt;/span&gt;&lt;span style="color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;hr style="width: 100%; height: 2px;" /&gt;
&lt;p style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Node: Primary Call &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-node&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;node&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-element&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:with-param &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;element&lt;/span&gt;"&lt;span style="color: red;"&gt; select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;$node&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;br /&gt;
&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt;Copy Element&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Reprocesses Element in the output document:&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copies Attributes&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copies Text&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copies Child Nodes&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-element&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:param &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;element&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;test&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$element&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 0.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;{name($element)}&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Attributes &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:with-param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;attribute&lt;/span&gt;"&lt;span style="color: red;"&gt; select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;$element/@*&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/div&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Text &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:value-of &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;select&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$element/text()&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt; &lt;/div&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Child Nodes &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;&amp;lt;xsl:for-each &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;select&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$element/*&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-node&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 2in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:with-param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;node&lt;/span&gt;"&lt;span style="color: red;"&gt; select&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;.&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1.5in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:call-template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin: 0in 0in 0.0001pt 1in; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:for-each&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;              &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:element&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &lt;/span&gt;&lt;/div&gt;
&lt;p style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;!--&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: green;"&gt; Copy Attribute &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;--&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;copy-attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:param&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;test&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;              &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:attribute &lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt;name&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;{name($attribute)}&lt;/span&gt;"&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;                     &amp;lt;&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:value-of&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: red;"&gt; select&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;=&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;"&lt;span style="color: blue;"&gt;$attribute&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;              &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:attribute&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: 0.0001pt; line-height: normal;"&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;       &amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:if&lt;/span&gt;&lt;span style="font-size: 9pt; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-size: 9pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="font-size: 9pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: rgb(43, 145, 175);"&gt;xsl:template&lt;/span&gt;&lt;span style="font-size: 9pt; line-height: 115%; font-family: &amp;quot;Courier New&amp;quot;; color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113760"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113760" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/113760.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/07/Copying-Elements-with-No-Namespace-in-XSLT-1.0.aspx</guid>
            <pubDate>Sat, 07 Jul 2007 18:26:13 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/113760.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/07/Copying-Elements-with-No-Namespace-in-XSLT-1.0.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/113760.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/113760.aspx</trackback:ping>
        </item>
        <item>
            <title>Keep Common Message and Port Types in an Empty Orchestration</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/05/113710.aspx</link>
            <description>&lt;p&gt;I'm working on a project where we are using a lot of common message types to abstract message handling logic. 
&lt;/p&gt;&lt;p&gt;Early on it became a real pain to recreate the same Multi-part message types and Ports for each Orchestration that was using these common messages.&lt;br /&gt;To simplify development and maintenance of these types, I created a "Common Types" orchestration. &lt;br /&gt;There is no logic in the Orchestration; it just defines commonly used schemas as Multi-Part Message Types.  The associated Port Types are also defined.
&lt;/p&gt;&lt;p&gt;Just define the type as public and reference the Common Types projects in the other Orchestration projects and you are ready to go.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113710"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113710" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/113710.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/05/113710.aspx</guid>
            <pubDate>Thu, 05 Jul 2007 23:23:12 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/113710.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/05/113710.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/113710.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/113710.aspx</trackback:ping>
        </item>
        <item>
            <title>Don’t Forget the Namespace!!!!</title>
            <link>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/04/113675.aspx</link>
            <description>&lt;p&gt;This is just a quick tidbit. I will expand in an article that I'm writing on BizTalk mapping and custom XSLT. &lt;/p&gt;
&lt;p&gt;When you are using  Inline XLST in a BizTalk map, if the document that you are working uses namespaces, you have to explicitly declare the namespace that the element(s) that you are building belongs to. &lt;/p&gt;
&lt;p&gt;Compiling the map will not fail but you can run into some really nasty runtime issues that are extremely hard to debug.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.pheedo.com/click.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113675"&gt;&lt;img src="http://www.pheedo.com/img.phdo?x=6cda6ad746d942b9a1110d0715a4fa12&amp;u=113675" border="0"/&gt;&lt;/a&gt;&lt;/p&gt;&lt;iframe src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;PageID=31016&amp;amp;SiteID=1" width=1 height=1 Marginwidth=0 Marginheight=0 Hspace=0 Vspace=0 Frameborder=0 Scrolling=No&gt;
&lt;script language='javascript1.1' src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Browser=NETSCAPE4&amp;amp;NoCache=True&amp;PageID=31016&amp;amp;SiteID=1"&gt;&lt;/script&gt;
&lt;noscript&gt;&lt;a href="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Click&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" target="_blank"&gt;
&lt;img src="http://ads.geekswithblogs.net/a.aspx?ZoneID=5&amp;amp;Task=Get&amp;amp;Mode=HTML&amp;amp;SiteID=1&amp;amp;PageID=31016" width="1" height="1" border="0"  alt=""&gt;&lt;/a&gt;
&lt;/noscript&gt;
&lt;/iframe&gt;
&lt;img src="http://geekswithblogs.net/OverTaxedMind/aggbug/113675.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>Douglas Marsh</dc:creator>
            <guid>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/04/113675.aspx</guid>
            <pubDate>Wed, 04 Jul 2007 16:21:43 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/OverTaxedMind/comments/113675.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/OverTaxedMind/archive/2007/07/04/113675.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/OverTaxedMind/comments/commentRss/113675.aspx</wfw:commentRss>
            <trackback:ping>http://geekswithblogs.net/OverTaxedMind/services/trackbacks/113675.aspx</trackback:ping>
        </item>
    </channel>
</rss>