<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>NullAdapter/AdapterConfig.cs</filename>
    </added>
    <added>
      <filename>NullAdapter/PropBagAdaptor.cs</filename>
    </added>
    <added>
      <filename>NullAdapter/TransmitLocPageProvider.cs</filename>
    </added>
    <added>
      <filename>NullAdapter/TransmitLocSettingsDialog.Designer.cs</filename>
    </added>
    <added>
      <filename>NullAdapter/TransmitLocSettingsDialog.cs</filename>
    </added>
    <added>
      <filename>NullAdapter/TransmitLocSettingsDialog.resx</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -7,11 +7,11 @@ using System.Runtime.CompilerServices;
 // associated with an assembly.
 //
 [assembly: AssemblyTitle(&quot;Winterdom.BizTalk.Adapters.NullAdapter&quot;)]
-[assembly: AssemblyDescription(&quot;Dev/null Send Adapter for BizTalk Server 2004&quot;)]
+[assembly: AssemblyDescription(&quot;Dev/null Send Adapter for BizTalk Server 2006 R2&quot;)]
 [assembly: AssemblyConfiguration(&quot;&quot;)]
 [assembly: AssemblyCompany(&quot;&quot;)]
 [assembly: AssemblyProduct(&quot;&quot;)]
-[assembly: AssemblyCopyright(&quot;(C) 2004, Tomas Restrepo&quot;)]
+[assembly: AssemblyCopyright(&quot;(C) 2007, Tomas Restrepo&quot;)]
 [assembly: AssemblyTrademark(&quot;&quot;)]
 [assembly: AssemblyCulture(&quot;&quot;)]		
 
@@ -57,3 +57,4 @@ using System.Runtime.CompilerServices;
 [assembly: AssemblyDelaySign(false)]
 [assembly: AssemblyKeyFile(@&quot;..\..\..\NullAdapter.snk&quot;)]
 [assembly: AssemblyKeyName(&quot;&quot;)]
+[assembly: System.Runtime.InteropServices.ComVisible(false)]
\ No newline at end of file</diff>
      <filename>NullAdapter/AssemblyInfo.cs</filename>
    </modified>
    <modified>
      <diff>@@ -78,6 +78,11 @@
       &lt;Name&gt;Microsoft.Biztalk.Adapter.Framework&lt;/Name&gt;
       &lt;HintPath&gt;C:\Apps\Biztalk2004\Developer Tools\Microsoft.Biztalk.Adapter.Framework.dll&lt;/HintPath&gt;
     &lt;/Reference&gt;
+    &lt;Reference Include=&quot;Microsoft.BizTalk.Admin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&quot; /&gt;
+    &lt;Reference Include=&quot;Microsoft.BizTalk.ExplorerOM, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL&quot;&gt;
+      &lt;SpecificVersion&gt;False&lt;/SpecificVersion&gt;
+      &lt;HintPath&gt;C:\Program Files\Microsoft BizTalk Server 2006\Developer Tools\Microsoft.BizTalk.ExplorerOM.dll&lt;/HintPath&gt;
+    &lt;/Reference&gt;
     &lt;Reference Include=&quot;Microsoft.BizTalk.Interop.TransportProxy&quot;&gt;
       &lt;Name&gt;Microsoft.BizTalk.Interop.TransportProxy&lt;/Name&gt;
       &lt;HintPath&gt;C:\Apps\Biztalk2004\Microsoft.BizTalk.Interop.TransportProxy.dll&lt;/HintPath&gt;
@@ -95,39 +100,44 @@
     &lt;Reference Include=&quot;System.Data&quot;&gt;
       &lt;Name&gt;System.Data&lt;/Name&gt;
     &lt;/Reference&gt;
+    &lt;Reference Include=&quot;System.Drawing&quot; /&gt;
+    &lt;Reference Include=&quot;System.Windows.Forms&quot; /&gt;
     &lt;Reference Include=&quot;System.Xml&quot;&gt;
       &lt;Name&gt;System.XML&lt;/Name&gt;
     &lt;/Reference&gt;
   &lt;/ItemGroup&gt;
   &lt;ItemGroup&gt;
+    &lt;Compile Include=&quot;AdapterConfig.cs&quot; /&gt;
     &lt;Compile Include=&quot;AssemblyInfo.cs&quot;&gt;
       &lt;SubType&gt;Code&lt;/SubType&gt;
     &lt;/Compile&gt;
-    &lt;Compile Include=&quot;EventLogSourceInstaller.cs&quot;&gt;
-      &lt;SubType&gt;Component&lt;/SubType&gt;
-    &lt;/Compile&gt;
-    &lt;Compile Include=&quot;LogHelper.cs&quot;&gt;
-      &lt;SubType&gt;Code&lt;/SubType&gt;
-    &lt;/Compile&gt;
     &lt;Compile Include=&quot;NullAdapterMgmt.cs&quot;&gt;
       &lt;SubType&gt;Code&lt;/SubType&gt;
     &lt;/Compile&gt;
     &lt;Compile Include=&quot;NullSendAdapter.cs&quot;&gt;
       &lt;SubType&gt;Code&lt;/SubType&gt;
     &lt;/Compile&gt;
+    &lt;Compile Include=&quot;PropBagAdaptor.cs&quot; /&gt;
     &lt;Compile Include=&quot;TerminationController.cs&quot;&gt;
       &lt;SubType&gt;Code&lt;/SubType&gt;
     &lt;/Compile&gt;
+    &lt;Compile Include=&quot;TransmitLocPageProvider.cs&quot; /&gt;
+    &lt;Compile Include=&quot;TransmitLocSettingsDialog.cs&quot;&gt;
+      &lt;SubType&gt;Form&lt;/SubType&gt;
+    &lt;/Compile&gt;
+    &lt;Compile Include=&quot;TransmitLocSettingsDialog.Designer.cs&quot;&gt;
+      &lt;DependentUpon&gt;TransmitLocSettingsDialog.cs&lt;/DependentUpon&gt;
+    &lt;/Compile&gt;
     &lt;None Include=&quot;NullAdapter.reg&quot; /&gt;
-    &lt;EmbeddedResource Include=&quot;SendPortSchema.xsd&quot;&gt;
+    &lt;EmbeddedResource Include=&quot;TransmitLocSettingsDialog.resx&quot;&gt;
       &lt;SubType&gt;Designer&lt;/SubType&gt;
+      &lt;DependentUpon&gt;TransmitLocSettingsDialog.cs&lt;/DependentUpon&gt;
     &lt;/EmbeddedResource&gt;
   &lt;/ItemGroup&gt;
   &lt;Import Project=&quot;$(MSBuildBinPath)\Microsoft.CSharp.targets&quot; /&gt;
   &lt;PropertyGroup&gt;
     &lt;PreBuildEvent&gt;
     &lt;/PreBuildEvent&gt;
-    &lt;PostBuildEvent&gt;
-    &lt;/PostBuildEvent&gt;
+    &lt;PostBuildEvent&gt;c:\windows\microsoft.net\framework\v2.0.50727\regasm.exe /tlb /registered $(TargetPath)&lt;/PostBuildEvent&gt;
   &lt;/PropertyGroup&gt;
 &lt;/Project&gt;
\ No newline at end of file</diff>
      <filename>NullAdapter/NullAdapter.csproj</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ Windows Registry Editor Version 5.00
 '============= Registration for send side of adapter ==============
 
 'Adapter framework property page for send location configuration
-&quot;TransmitLocation_PageProv&quot;=&quot;{2DE93EE6-CB01-4007-93E9-C3D71689A282}&quot;
+&quot;TransmitLocation_PageProv&quot;=&quot;{c6085098-b9f6-4214-be1c-b07ef5265e4d}&quot;
 
 'Class ID of the class that implements send part of adapter
 &quot;OutboundEngineCLSID&quot;=&quot;{95810FF9-F609-4395-AEBE-995855430547}&quot;
@@ -23,7 +23,7 @@ Windows Registry Editor Version 5.00
 &quot;OutboundTypeName&quot;=&quot;Winterdom.BizTalk.Adapters.NullSendAdapter&quot;
 
 'Path to the assembly that implements sending part of the adapter
-&quot;OutboundAssemblyPath&quot;=&quot;E:\\Projects\\Biztalk\\NullAdapterSol\\NullAdapter\\bin\\Debug\\Winterdom.BizTalk.Adapters.NullAdapter.dll&quot;
+&quot;OutboundAssemblyPath&quot;=&quot;E:\\Projects\\Biztalk\\NullAdapterR2\\NullAdapter\\bin\\Debug\\Winterdom.BizTalk.Adapters.NullAdapter.dll&quot;
 
 'URL prefixes used for dynamic port transport resolution
 &quot;AliasesXML&quot;=&quot;&lt;AdapterAliasList&gt;&lt;AdapterAlias&gt;null://&lt;/AdapterAlias&gt;&lt;/AdapterAliasList&gt;&quot;
@@ -40,9 +40,12 @@ Windows Registry Editor Version 5.00
 &quot;AdapterMgmtTypeName&quot;=&quot;Winterdom.BizTalk.Adapters.NullAdapterMgmt&quot;
 
 'Path to the assembly that implments UI for adapter property pages
-&quot;AdapterMgmtAssemblyPath&quot;=&quot;E:\\Projects\\Biztalk\\NullAdapterSol\\NullAdapter\\bin\\Debug\\Winterdom.BizTalk.Adapters.NullAdapter.dll&quot;
+&quot;AdapterMgmtAssemblyPath&quot;=&quot;E:\\Projects\\Biztalk\\NullAdapterR2\\NullAdapter\\bin\\Debug\\Winterdom.BizTalk.Adapters.NullAdapter.dll&quot;
 
 
 [HKEY_CLASSES_ROOT\CLSID\{C98D3C74-F722-4F50-8AFC-4C2A9CB1D961}\Implemented Categories]
 
 [HKEY_CLASSES_ROOT\CLSID\{C98D3C74-F722-4F50-8AFC-4C2A9CB1D961}\Implemented Categories\{7F46FC3E-3C2C-405B-A47F-8D17942BA8F9}]
+
+
+</diff>
      <filename>NullAdapter/NullAdapter.reg</filename>
    </modified>
    <modified>
      <diff>@@ -3,13 +3,14 @@
 // NullAdapterMgmt.cs
 //
 // Author:
-//    Tomas Restrepo (tomasr@mvps.org)
+//    Tomas Restrepo (tomas@winterdom.com)
 //
 
 using System;
 using System.IO;
 using System.Reflection;
 using System.Resources;
+using System.Runtime.CompilerServices;
 using System.Xml;
 
 using Microsoft.BizTalk.Component.Interop;
@@ -21,7 +22,6 @@ namespace Winterdom.BizTalk.Adapters {
    /// &lt;/summary&gt;
    public class NullAdapterMgmt
       : IAdapterConfig,
-        IStaticAdapterConfig,
         IAdapterConfigValidation {
       private const string NS = &quot;Winterdom.BizTalk.Adapters&quot;;
 
@@ -29,15 +29,6 @@ namespace Winterdom.BizTalk.Adapters {
       #region IAdapterConfig Members
 
       public string GetConfigSchema(ConfigType configType) {
-         if ( configType == ConfigType.TransmitLocation ) {
-            string resName = NS + &quot;.&quot; + &quot;SendPortSchema.xsd&quot;;
-
-            Assembly asm = Assembly.GetExecutingAssembly();
-            Stream stream = asm.GetManifestResourceStream(resName);
-            using ( StreamReader reader = new StreamReader(stream) ) {
-               return reader.ReadToEnd();
-            }
-         }
          return null;
       }
 
@@ -48,52 +39,10 @@ namespace Winterdom.BizTalk.Adapters {
 
       #endregion
 
-      #region IStaticAdapterConfig Members
-
-      public string GetServiceOrganization(IPropertyBag endPointConfiguration, string nodeIdentifier) {
-         return null;
-      }
-
-      public string[] GetServiceDescription(string[] wsdlReferences) {
-         return null;
-      }
-
-      #endregion
-
-
       #region IAdapterConfigValidation Members
 
-      /// &lt;summary&gt;
-      /// Validate the configuration of the send port.
-      /// &lt;/summary&gt;
-      /// &lt;param name=&quot;configType&quot;&gt;Configuration Type&lt;/param&gt;
-      /// &lt;param name=&quot;configuration&quot;&gt;Configuration XML&lt;/param&gt;
-      /// &lt;returns&gt;The new Configuration XML&lt;/returns&gt;
-      /// &lt;remarks&gt;
-      /// In here we load the configuration and create a new URI for
-      /// the send port based on the value of the name
-      /// attribute introduced by the user.
-      /// &lt;/remarks&gt;
       public string ValidateConfiguration(ConfigType configType, string configuration) {
-         if ( configType != ConfigType.TransmitLocation )
-            return configuration;
-
-         XmlDocument doc = new XmlDocument();
-         doc.LoadXml(configuration);
-
-         XmlNode uriNode = doc.SelectSingleNode(&quot;CustomProps/uri&quot;);
-         if ( uriNode == null ) {
-            uriNode = doc.CreateElement(&quot;uri&quot;);
-            doc.DocumentElement.AppendChild(uriNode);
-         }
-
-         XmlNode nameNode = doc.SelectSingleNode(&quot;CustomProps/name&quot;);
-         if ( nameNode == null || nameNode.InnerText.Trim().Length == 0 ) {
-            throw new InvalidOperationException(&quot;Name cannot be blank&quot;);
-         }
-         uriNode.InnerText = &quot;null://&quot; + nameNode.InnerText.Trim();
-
-         return doc.OuterXml;
+         return configuration;
       }
 
       #endregion</diff>
      <filename>NullAdapter/NullAdapterMgmt.cs</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,7 @@
 // NullSendAdapter.cs
 //
 // Author:
-//    Tomas Restrepo (tomasr@mvps.org)
+//    Tomas Restrepo (tomas@winterdom.com)
 //
 
 using System;
@@ -124,14 +124,6 @@ namespace Winterdom.BizTalk.Adapters {
       public bool TransmitMessage(IBaseMessage msg) {
          _terminate.Enter();
          try {
-            bool logMessages = Convert.ToBoolean(
-                              GetAdapterConfigValue(msg.Context, &quot;logMessages&quot;)
-                           );
-
-            if ( logMessages ) {
-               SystemMessageContext ctxt = new SystemMessageContext(msg.Context);
-               LogHelper.LogMessage(msg.MessageID, ctxt.InterchangeID);
-            }
             // 
             // discard the message
             //
@@ -153,25 +145,6 @@ namespace Winterdom.BizTalk.Adapters {
 
       #endregion
 
-
-      /// &lt;summary&gt;
-      /// Loads the transmit location adapter configuration
-      /// and gets the value of the specified field
-      /// &lt;/summary&gt;
-      /// &lt;param name=&quot;propBag&quot;&gt;PropertyBag&lt;/param&gt;
-      /// &lt;param name=&quot;propname&quot;&gt;Property name&lt;/param&gt;
-      /// &lt;returns&gt;The value&lt;/returns&gt;
-      public string GetAdapterConfigValue(IBasePropertyBag propBag, string propname) {
-         string config = (string)propBag.Read(&quot;AdapterConfig&quot;, PROPNS);
-         if ( config == null )
-            return null;
-
-         XPathDocument doc = new XPathDocument(new StringReader(config));
-         XPathNavigator nav = doc.CreateNavigator();
-
-         string xpath = string.Format(&quot;string(/CustomProps/{0})&quot;, propname);
-         return (string)nav.Evaluate(xpath);
-      }
-
    } // class NullSendAdapter
+
 } // namespace Winterdom.BizTalk.Adapters</diff>
      <filename>NullAdapter/NullSendAdapter.cs</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>NullAdapter/EventLogSourceInstaller.cs</filename>
    </removed>
    <removed>
      <filename>NullAdapter/LogHelper.cs</filename>
    </removed>
    <removed>
      <filename>NullAdapter/SendPortSchema.xsd</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>132a2c2bf8cb9abfd76ca898a8f0fbe08ffe03ca</id>
    </parent>
  </parents>
  <author>
    <name>Tomas Restrepo</name>
    <email>tomas@winterdom.com</email>
  </author>
  <url>http://github.com/tomasr/nulladapter/commit/c9ebef272c30e26c62394438c9835bdd889300c9</url>
  <id>c9ebef272c30e26c62394438c9835bdd889300c9</id>
  <committed-date>2008-09-28T07:29:02-07:00</committed-date>
  <authored-date>2008-09-28T07:29:02-07:00</authored-date>
  <message>Merged R2 Adapter Version with Custom UI</message>
  <tree>a18b5212ee8af481941efaa1f0bb9ee4529973d0</tree>
  <committer>
    <name>Tomas Restrepo</name>
    <email>tomas@winterdom.com</email>
  </committer>
</commit>
