<?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>BizTalkLATAM's Blog : Base de Conocimiento BTS 2004</title><link>http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx</link><description>Tags: Base de Conocimiento BTS 2004</description><dc:language>es</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Depurando información en la DTA en BizTalk 2004</title><link>http://blogs.msdn.com/biztalklatam/archive/2008/03/13/depurando-informaci-n-en-la-dta-en-biztalk-2004.aspx</link><pubDate>Fri, 14 Mar 2008 05:15:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8192919</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/8192919.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=8192919</wfw:commentRss><description>&lt;p&gt;El proceso de depuraci&amp;#243;n de la base de datos de tracking &amp;quot;DTA&amp;quot; en BizTalk 2004 o BizTalk 2004 SP1 puede tardar horas o tal vez d&amp;#237;as, depende de la cantidad de informaci&amp;#243;n en la BD, debido a la l&amp;#243;gica del procedimiento &lt;strong&gt;dtasp_PruneTrackingdatabase()&lt;/strong&gt;.&amp;#160; Este inconveniente no sucede en BizTalk 2006 y BizTalk 2004 SP2 por que se hicieron unas correcciones a estos procesos de depuraci&amp;#243;n de las bases de datos.&amp;#160; &lt;/p&gt;  &lt;p&gt;Sin embargo, parte del proceso de instalaci&amp;#243;n de BizTalk 2004 SP2 es limpiar la BD de tracking por lo tanto si esta tiene mucha informaci&amp;#243;n dicho proceso podra tardarse mas horas de lo previsto ya que utiliza este procedimiento.&lt;/p&gt;  &lt;p&gt;Para evitar este inconveniente, &lt;strong&gt;&lt;em&gt;ES NECESARIO&lt;/em&gt;&lt;/strong&gt; instalar el &lt;a href="http://support.microsoft.com/?id=894253"&gt;Hotfix 894253&lt;/a&gt; antes de instalar BizTalk 2004 SP2.&amp;#160; Este hotfix contiene un script que elimina toda la informaci&amp;#243;n relacionada exclusivamente a las instancias completadas de la BD de tracking, con la &amp;#250;nica salvedad que todos los registros ser&amp;#225;n borrados sin tener en cuenta su fecha de almacenamiento.&lt;/p&gt;  &lt;p&gt;De igual forma, este hotfix puede aplicarse a BizTalk 2004 o BizTalk 2004 SP1 para depurar informaci&amp;#243;n de la BD y evitar su constante crecimiento.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8192919" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category></item><item><title>Un escenario de mensajeria sin orquestaciones</title><link>http://blogs.msdn.com/biztalklatam/archive/2008/01/23/un-escenario-de-mensajeria-sin-orquestaciones.aspx</link><pubDate>Wed, 23 Jan 2008 18:19:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7209464</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/7209464.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=7209464</wfw:commentRss><description>&lt;p&gt;En ocasiones es necesario utilizar BizTalk Server para un escenario de mensajer&amp;#237;a el cual debe consultar informaci&amp;#243;n a una aplicaci&amp;#243;n externa y luego enviar &amp;#233;sta a otra aplicaci&amp;#243;n externa sin necesidad de aplicar alguna logica de negocio durante su proceso.&amp;#160; &lt;/p&gt;  &lt;p&gt;En ocasiones se utilizan orquestaciones en este tipo de escenarios lo cual algunas veces puede resultar innecesario.&amp;#160; Para ilustrar esta situaci&amp;#243;n se puede tomar el ejemplo &lt;a href="http://msdn2.microsoft.com/en-us/library/ms966378.aspx"&gt;HTTPSolicitResponse&lt;/a&gt; que viene en SDK de BizTalk Server 2004/2006/2006r2.&amp;#160; HTTPSolicitResponse muestra una forma de c&amp;#243;mo usar BizTalk Server para consultar un servicio HTTP y luego enviar la respuesta el FileSystem.&amp;#160; Los artefactos usados en esta soluci&amp;#243;n son:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Un Receive Port llamado &lt;em&gt;&lt;strong&gt;HTTPSolicitResponseReceivePort&lt;/strong&gt;&lt;/em&gt; que recibe la informaci&amp;#243;n desde el FileSystem&lt;/li&gt;    &lt;li&gt;Una orquestacion que procesa la informaci&amp;#243;n&lt;/li&gt;    &lt;li&gt;Un Send Port llamado &lt;em&gt;&lt;strong&gt;HTTPSolicitResponseTwoWayPort&lt;/strong&gt;&lt;/em&gt; que env&amp;#237;a hace la petici&amp;#243;n al servicio HTTP&lt;/li&gt;    &lt;li&gt;Un Send Port llamado &lt;strong&gt;&lt;em&gt;HTTPSolicitResponseSendPort&lt;/em&gt;&lt;/strong&gt; que env&amp;#237;a el resultado al FileSystem &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Sin embargo, en su ejecuci&amp;#243;n esta soluci&amp;#243;n utiliza m&amp;#225;s recursos de los estrictamente necesarios, debido aque se usa una orquestacion como enrutadora sin procesar ningun tipo de proceso de negocio real tal como puede observar en la siguiente figura.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/Unescenariodemensajeria_13B82/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="158" alt="image" src="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/Unescenariodemensajeria_13B82/image_thumb_1.png" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;De acuerdo a la arquitectura de BizTalk Server (ver figura) todos los mensajes deben pasar por el MessageBox para poder ser instanciados por las orquestaciones o puertos de envio.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/Unescenariodemensajeria_13B82/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="143" alt="image" src="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/Unescenariodemensajeria_13B82/image_thumb_2.png" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Mejorando la soluci&amp;#243;n&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Para mejorar el performance de la soluci&amp;#243;n podr&amp;#237;a eliminarse la orquestaci&amp;#243;n lo que permitir&amp;#237;a reducir su ejecuci&amp;#243;n a los siguientes pasos: &lt;/p&gt;  &lt;p&gt;1. &lt;strong&gt;&lt;em&gt;HTTPSolicitResponseReceivePort&lt;/em&gt;&lt;/strong&gt; env&amp;#237;a el mensaje a MessageBox&lt;/p&gt;  &lt;p&gt;2. &lt;strong&gt;&lt;em&gt;HTTPSolicitResponseTwoWayPort&lt;/em&gt;&lt;/strong&gt; recibe el mensaje desde MessageBox y env&amp;#237;a la solicitud HTTP, una vez recibe la respuesta vuelve a enviar el mensaje a MessageBox&lt;/p&gt;  &lt;p&gt;3. &lt;strong&gt;&lt;em&gt;HTTPSolicitResponseSendPort&lt;/em&gt;&lt;/strong&gt; recibe el mensaje desde la MessageBox y lo env&amp;#237;a al FileSystem&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;De igual forma, al eliminar la orquestaci&amp;#243;n el gr&amp;#225;fico de arquitectura tambi&amp;#233;n ser&amp;#237;a modificado as&amp;#237;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/Unescenariodemensajeria_13B82/image_8.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="143" alt="image" src="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/Unescenariodemensajeria_13B82/image_thumb_3.png" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;El nuevo escenario presenta estas ventajas:&lt;/p&gt;  &lt;p&gt;1. Se evita una ejecuci&amp;#243;n innecesaria de la orquestaci&amp;#243;n&lt;/p&gt;  &lt;p&gt;2. Menor utilizacion del MessageBox, lo que significa menor consumo de recursos&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Para lograr este nuevo escenario se debe configurar los puertos de salida (Send Ports) para que sean instanciados una vez el mensaje el publicado en el MessageBox.&amp;#160; A continuaci&amp;#243;n se muestra la forma de como configurar la nueva soluci&amp;#243;n:&lt;/p&gt;  &lt;p&gt;1. Poner en estado Unenlist la orquestaci&amp;#243;n &lt;strong&gt;&lt;em&gt;MultiplyTwoIntegers&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;2. Editar las propiedades del Send Port llamado &lt;strong&gt;&lt;em&gt;HttpSolicitResponseTwoWayPort&lt;/em&gt;&lt;/strong&gt; y establecer este filtro:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BTS.ReceivePortName == HttpSolicitResponseReceivePort&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;3. Editar las propiedades del Send Port llamado &lt;strong&gt;&lt;em&gt;HttpSolicitResponseSendPort&lt;/em&gt;&lt;/strong&gt; y establecer este filtro:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BTS.SPName == HttpSolicitResponseTwoWayPort&lt;/strong&gt;&lt;/p&gt; &lt;style type="text/css"&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/style&gt;  &lt;p&gt;4. Probar el nuevo escenario copiando el archivo en la carpeta de recepci&amp;#243;n&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Tambi&amp;#233;n se puede hacer &lt;em&gt;undeploy&lt;/em&gt; del assembly &lt;em&gt;&lt;strong&gt;HttpSolicitResponse.dll&lt;/strong&gt;&lt;/em&gt; y probar nuevamente.&amp;#160; Sin embargo, al realizar este cambio tambi&amp;#233;n se debe cambiar los pipelines utilizados en los puertos de la siguiente forma:&lt;/p&gt;  &lt;p&gt;1.&amp;#160; Los pipelines &lt;strong&gt;&lt;em&gt;XmlReceive&lt;/em&gt;&lt;/strong&gt; por &lt;strong&gt;&lt;em&gt;PassThruReceive&lt;/em&gt;&lt;/strong&gt; en el Receive Location &lt;em&gt;HttpSolicitResponseReceiveLocation&lt;/em&gt; y en el Send Port &lt;em&gt;HttpSolicitResponseTwoWayPort&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;2. Los pipelines &lt;strong&gt;&lt;em&gt;XmlTransmit&lt;/em&gt;&lt;/strong&gt; por &lt;em&gt;&lt;strong&gt;PassThruTransmit&lt;/strong&gt; &lt;/em&gt;en los Send Ports &lt;em&gt;HttpSolicitResponseTwoWayPort&lt;/em&gt; y &lt;em&gt;HttpSolicitResponseSendPort&lt;/em&gt; &lt;/p&gt;  &lt;p&gt;El anterior cambio ser&amp;#237;a necesario ya que los pipelines Xml* generar&amp;#237;an un error al procesar los mensajes intentando obtener su MessageType desde la BizTalkMgmtDb.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;u&gt;Conclusi&amp;#243;n&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Lo anterior indica que NO se deberia utilizar orquestaciones que solo sirvan como reenrutadoras de la informacion y NO ejecuten alguna logica de negocio real en un escenario de mensajeria.&lt;/p&gt;  &lt;p&gt;De igual forma estos escenario de mensajeria se pueden utilizar para consultar informaci&amp;#243;n a SQL Server con el adaptador de SQL, consultar un Servicio Web usando el adaptador de SOAP (ver ejemplo &lt;a href="http://go.microsoft.com/fwlink/?LinkId=99745"&gt;Consumming Web Services with Messaging-Only Scenario&lt;/a&gt;), u otro escenario de estas caracter&amp;#237;sticas.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7209464" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category></item><item><title>Cuidado al construir multiples mensajes con XmlDocument</title><link>http://blogs.msdn.com/biztalklatam/archive/2008/01/14/cuidado-al-construir-multiples-mensajes-con-xmldocument.aspx</link><pubDate>Tue, 15 Jan 2008 01:32:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7112391</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/7112391.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=7112391</wfw:commentRss><description>&lt;p&gt;Una de las técnicas utilizadas para definir mensajes al desarrollar orquestaciones es usar objetos System.Xml.XmlDocument.&amp;nbsp; Sin embargo, es necesario tener cuidado al momento de utilizar el mismo objeto para definir mas de un mensaje usando un sólo "Construction Shape" ya que los mensajes pueden no almacenarse en la base de datos con la información esperada.&lt;/p&gt; &lt;p&gt;El siguiente escenario (ver figura) pretende explicar con más detalle lo comentado.&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/ConstruyendomensajesconXmlDocument_9EC9/image_4.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="244" alt="image" src="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/ConstruyendomensajesconXmlDocument_9EC9/image_thumb_1.png" width="115" border="0"&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;En la figura se observa como la orquestación construye dos mensajes: Msg2 y Msg3, usando el mismo "Construction Shape" y para ambos mensajes usa el mismo objeto xmlDoc de tipo System.Xml.XmlDocument.&amp;nbsp; Asi, en el primer Message Assigment Shape el siguiente codigo define el Msg2: &lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="rem"&gt;// carga xml y asigna el Msg2&lt;/span&gt;
xmlDoc.LoadXml(&lt;span class="str"&gt;"&amp;lt;Root&amp;gt;&amp;lt;Field&amp;gt;Field_2&amp;lt;/Field&amp;gt;&amp;lt;/Root&amp;gt;"&lt;/span&gt;);
Msg2 = xml;&lt;/pre&gt;
&lt;p&gt;Y en el segundo Message Assigment Shape este codigo define el Msg3:&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="rem"&gt;// carga xml y asigna el Msg3&lt;/span&gt;
xmlDoc.LoadXml(&lt;span class="str"&gt;"&amp;lt;Root&amp;gt;&amp;lt;Field&amp;gt;Field_3&amp;lt;/Field&amp;gt;&amp;lt;/Root&amp;gt;"&lt;/span&gt;);
Msg3 = xml;
&lt;/pre&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;p&gt;En teoria el resultado deberia ser dos archivos diferentes, sin embargo el resultado al ejecutarse la orquestación no es el esperado ya que ambos archivos contienen la misma informacion.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/ConstruyendomensajesconXmlDocument_9EC9/image_6.png"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="132" alt="image" src="http://blogs.msdn.com/blogfiles/biztalklatam/WindowsLiveWriter/ConstruyendomensajesconXmlDocument_9EC9/image_thumb_2.png" width="244" border="0"&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Este inconveniente se debe a dos razones:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;El mensaje de BizTalk guarda una referencia al objeto XmlDocument asignado. 
&lt;li&gt;El objeto XmlDocument fue modificado en el mismo Construction Shape por lo que no fue posible hacer persistente el mensaje.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Por lo tanto, el objeto xml que se utilizo para definir el Msg2 fue modificado para construir el Msg3 antes de que el mensaje Msg2 se hiciese persistente.&amp;nbsp; Esto ocasiono que el contenido de ambos mensajes en la base de datos sea el mismo.&lt;/p&gt;
&lt;p&gt;Esta característica esta presente en las versiones de biztalk 2004/2006/2006r2.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7112391" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category></item><item><title>Donde puedo almacenar las BR?</title><link>http://blogs.msdn.com/biztalklatam/archive/2007/07/17/donde-puedo-almacenar-las-br.aspx</link><pubDate>Wed, 18 Jul 2007 07:29:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3931270</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/3931270.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=3931270</wfw:commentRss><description>&lt;p&gt;BizTalk Server a través del Business Rule Engine (BRE) ofrece la posibilidad de almacenar las reglas de negocio (BR) implementadas en archivos xml o en bases de datos para&amp;nbsp;su posterior&amp;nbsp;invocación y ejecución.&amp;nbsp; Cada almacenamiento ofrece sus ventajas y desventajas, y adicional su invocación difiere en cada uno.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Archivos XML&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Una BR se puede almacenar e invocar desde un archivo plano usando la clase &lt;a href="https://msdn2.microsoft.com/en-us/library/ms996758.aspx"&gt;FileRuleStore&lt;/a&gt;.&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;void&lt;/span&gt; SaveToFile()
{
    RuleStore ruleStore = &lt;span class="kwrd"&gt;new&lt;/span&gt; FileRuleStore(&lt;span class="str"&gt;"filename"&lt;/span&gt;);
    ruleStore.Save(&lt;span class="kwrd"&gt;new&lt;/span&gt; RuleSet(&lt;span class="str"&gt;"rulesetname"&lt;/span&gt;));
}

&lt;span class="kwrd"&gt;void&lt;/span&gt; LoadFromFile()
{
    RuleStore ruleStore = &lt;span class="kwrd"&gt;new&lt;/span&gt; FileRuleStore(&lt;span class="str"&gt;"filename"&lt;/span&gt;);
    RuleSetInfoCollection rsInfo = ruleStore.GetRuleSets(&lt;span class="str"&gt;"rulesetname"&lt;/span&gt;, RuleStore.Filter.Latest);
    RuleSet newRS = ruleStore.GetRuleSet(rsInfo[0]);
}&lt;/pre&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;p&gt;Este almacenamiento ofrece las siguientes ventajas:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No es necesario tener una base de datos (como SQL Server) para su almacenamiento&amp;nbsp;y ejecución. 
&lt;li&gt;El instanciamiento&amp;nbsp;de la BR es mas rápida ya que evita el acceso a la base de datos. 
&lt;li&gt;La BR puede ser modificada con un editor como Bloc de Notas (notepad) y no es necesaria&amp;nbsp;su publicación (publish) y despliegue (deploy) posterior.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Las desventajas son:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Estas BR no pueden ser invocadas desde un orquestación con el &lt;a href="http://msdn2.microsoft.com/EN-US/library/aa561607.aspx"&gt;Call Rules Shape&lt;/a&gt;, sólo desde .net assemblies utilizando la clase FileRuleStore. 
&lt;li&gt;Si una BR va a ser accedida por varias aplicaciones se debe copiar el archivo en una ruta compartida o crear una copia en cada aplicación. 
&lt;li&gt;No se puede editar con el&amp;nbsp;Business Rule Composer.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;&lt;u&gt;Base de datos&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Una BR puede ser almacenada e invocada desde una base de datos usando las clases &lt;a href="https://msdn2.microsoft.com/en-us/library/ms983548.aspx"&gt;SqlRuleStore&lt;/a&gt; o &lt;a href="http://msdn2.microsoft.com/en-us/library/microsoft.ruleengine.oledbrulestore.aspx"&gt;OleDbRuleStore&lt;/a&gt;&lt;/p&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;using&lt;/span&gt; Microsoft.BizTalk.RuleEngineExtensions;

&lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; DeployRuleSet(RuleSet ruleset)
{
    RuleSetDeploymentDriver dd = &lt;span class="kwrd"&gt;new&lt;/span&gt; RuleSetDeploymentDriver();
    SqlRuleStore sqlrs;
    sqlrs = (SqlRuleStore) dd.GetRuleStore();

    sqlrs.Add(ruleset, &lt;span class="kwrd"&gt;true&lt;/span&gt;);
    dd.Deploy(&lt;span class="kwrd"&gt;new&lt;/span&gt; RuleSetInfo(ruleset.Name, 
            ruleset.CurrentVersion.MajorRevision, ruleset.CurrentVersion.MinorRevision));
}

&lt;span class="kwrd"&gt;static&lt;/span&gt; &lt;span class="kwrd"&gt;void&lt;/span&gt; GetRuleStore(&lt;span class="kwrd"&gt;string&lt;/span&gt; rulesetname)
{
    RuleSetDeploymentDriver dd = &lt;span class="kwrd"&gt;new&lt;/span&gt; RuleSetDeploymentDriver();
    SqlRuleStore sqlrs = (SqlRuleStore) dd.GetRuleStore();

    RuleSetInfoCollection rss = &lt;span class="kwrd"&gt;new&lt;/span&gt; RuleSetInfoCollection();
    rss = sqlrs.GetRuleSets(rulesetname, RuleStore.Filter.Latest);
}&lt;/pre&gt;
&lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;

&lt;p&gt;Las ventajas de utilizar una base de datos se enumeran en:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Las BR quedan almacenadas en forma centralizada, por lo tanto las aplicaciones que la consuman tendran siempre un repositorio único 
&lt;li&gt;Se puede utilizar el Business Rule Composer para administrar las BR, publicarlas (publish) o desplegarlas (deploy). 
&lt;li&gt;La BR puede ser invocada desde un .net assembly utilizando las clases provitas por el framework de BRE. 
&lt;li&gt;Las BR pueden ser invocadas desde orquestaciones usando &lt;a href="http://msdn2.microsoft.com/EN-US/library/aa561607.aspx"&gt;Call Rules Shapes&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Las desventajas son:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;El instanciamiento inicial de la BR puede ser lenta dependiendo de la conexion a la base de datos 
&lt;li&gt;Se debe tener una base de datos para el almacenamiento de las BR 
&lt;li&gt;La administracion y modificaciones a las BR tienen que hacerse por medio de un editor de BR, ejemplo el &lt;a href="http://msdn2.microsoft.com/en-us/library/ms964126.aspx"&gt;Business Rule Composer&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;En ambos casos se puede exportar facilmente una BR de un archivo xml a la base de datos y viceversa, para ello se puede utilizar&amp;nbsp;el framework de&amp;nbsp;BRE o el &lt;a href="http://msdn2.microsoft.com/en-us/library/aa547834.aspx"&gt;Business Rule Engine Deployment Wizard&lt;/a&gt; que provee BizTalk Server.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#ff8000" size="1"&gt;&lt;strong&gt;Autor: Carlos Medina&lt;br&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font color="#c0c0c0" size="1"&gt;&lt;strong&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga&amp;nbsp;ningun derecho&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3931270" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category></item><item><title>Procesando diferentes tipos de archivos en el mismo receive location</title><link>http://blogs.msdn.com/biztalklatam/archive/2007/02/23/procesando-diferentes-tipos-de-archivos-en-el-mismo-receive-location.aspx</link><pubDate>Fri, 23 Feb 2007 15:31:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1746783</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/1746783.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=1746783</wfw:commentRss><description>&lt;P&gt;Cuando se usa el adaptador FILE (u otros adaptadores)&amp;nbsp;en BizTalk Server no es posible procesar diferentes tipos de archivos texto (flat-file) nombrados de igual forma en la misma ruta.&amp;nbsp; Esta&amp;nbsp;restriccion&amp;nbsp;se da&amp;nbsp;porque no se pueden configurar&amp;nbsp;varios &lt;EM&gt;receive locations&lt;/EM&gt; con el adaptador FILE que lean de la misma ruta los archivos, ya que&amp;nbsp;al procesarlos el adaptador bloquea los archivos prohibiendo que otros procesos (incluidos otros &lt;EM&gt;receive locations&lt;/EM&gt;)&amp;nbsp;accedan al contenido del archivo.&lt;/P&gt;
&lt;P&gt;Actualmente en BizTalk Server 2006 se puede resolver este inconveniente,&amp;nbsp;basta&amp;nbsp;con enviar todos los mensajes a una misma orquestacion (&lt;EM&gt;orchestration&lt;/EM&gt;) y&amp;nbsp;usando el metodo &lt;EM&gt;XLANGPipelineManager.ExecuteReceivePipeline&lt;/EM&gt; evaluar el mensaje con diferentes tipos de documentos previamente configurados en &lt;EM&gt;Custom Pipelines&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Pero esta solucion no es posible en &lt;EM&gt;BizTalk Server 2004&lt;/EM&gt; ya que el metodo &lt;EM&gt;XLANGPipelineManager.ExecuteReceivePipeline&lt;/EM&gt; no existe.&amp;nbsp; Sin embargo, si&amp;nbsp;es posible&amp;nbsp;desarrollar un &lt;EM&gt;Custom&amp;nbsp;Pipeline Component&lt;/EM&gt; que valide un mismo archivo de texto recibido contra una coleccion de esquemas de archivos de texto (&lt;EM&gt;flat-file schemas&lt;/EM&gt;) y generar un mensaje valido para redireccionarlo a la plataforma de integracion.&lt;/P&gt;
&lt;P&gt;El nuevo componente debe implementar los metodos &lt;EM&gt;IProbeMessage.Probe&lt;/EM&gt;, &lt;EM&gt;IDisassemblerComponent.Disassemble&lt;/EM&gt;, y &lt;EM&gt;IDisassemblerComponent.GetNext&lt;/EM&gt; que corresponden a las interfaces &lt;EM&gt;IProbeMessage&lt;/EM&gt; y &lt;EM&gt;IDisassemblerComponents&lt;/EM&gt; (necesarias para el desarrollo del componente) sobreescribiendo de esta forma la ejecucion del &lt;EM&gt;Custom Pipeline Component&lt;/EM&gt;.&amp;nbsp; Para mas informacion acerca de como desarrollar un &lt;EM&gt;Custom Pipeline Component&lt;/EM&gt; visitar &lt;A href="http://msdn2.microsoft.com/en-us/library/aa548050.aspx" target=_blank mce_href="http://msdn2.microsoft.com/en-us/library/aa548050.aspx"&gt;aqui&lt;/A&gt;,&amp;nbsp;a continuacion se hara una breve descripcion del codigo utilizado.&amp;nbsp; A continuacion&amp;nbsp;se daran mas detalles&amp;nbsp;del&amp;nbsp;desarrolla de&amp;nbsp;este componente.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;EM&gt;Design Time Properties&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;Esta region&amp;nbsp;implementa la propiedad publica por medio de la cual el usuario selecciona los tipos de documentos (&lt;EM&gt;flat-file schemas&lt;/EM&gt;)&amp;nbsp;a validar en tiempo de diseno.&amp;nbsp; Los documentos se almacenan en la variable &lt;EM&gt;schemaList&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Pueden encontrar mas informacion de esta implementa &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=8c2572a2-fb61-4016-a7a7-1c37518b39ff&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=8c2572a2-fb61-4016-a7a7-1c37518b39ff&amp;amp;displaylang=en"&gt;aqui&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;#region Design Time Properties&lt;BR&gt;private SchemaList schemaList = new SchemaList();&lt;BR&gt;public SchemaList DocumentSchemaList&lt;BR&gt;{&lt;BR&gt;&amp;nbsp; get&amp;nbsp;&amp;nbsp;{&amp;nbsp; return this.schemaList;&amp;nbsp;}&lt;BR&gt;&amp;nbsp; set&amp;nbsp;&amp;nbsp;{&amp;nbsp; this.schemaList = value;&amp;nbsp; }&lt;BR&gt;}&lt;BR&gt;#endregion Design Time Properties&lt;/FONT&gt; 
&lt;P&gt;&lt;U&gt;&lt;EM&gt;IProbeMessage and Private Members&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;El metodo &lt;EM&gt;IProbeMessage.Probe&lt;/EM&gt; implementa la logica&amp;nbsp;que recorre cada uno de los tipos de documentos previamente configurados en la variable &lt;EM&gt;schemaList&lt;/EM&gt;.&amp;nbsp; Por cada tipo de documento se invoca el metodo &lt;EM&gt;FFDisassembler&lt;/EM&gt;&amp;nbsp;quien valida&amp;nbsp;el tipo de documento contra el contenido del archivo, y en caso de ser exitosa la validacion se almacenaran los mensajes de&amp;nbsp;BizTalk resultantes en una nueva coleccion llamada &lt;EM&gt;baseMessages&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;El codigo a continuacion presenta las varialbes privadas utilizadas y los metodos &lt;EM&gt;Probe&lt;/EM&gt; y &lt;EM&gt;FFDisassembler&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;#region IProbeMessage and Private Members&lt;BR&gt;public bool Probe ( IPipelineContext pContext, IBaseMessage pInMsg )&lt;BR&gt;{&lt;BR&gt;&amp;nbsp; bool isValid = false;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;&lt;BR&gt;&amp;nbsp; // probe the disassembler for-each messageType&lt;BR&gt;&amp;nbsp; foreach(Schema schema in schemaList)&lt;BR&gt;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; try&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FFDisassembler(pContext, pInMsg, schema);&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; goto EndProbe;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(Exception e)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Diagnostics.Trace.WriteLine(e.ToString());&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // create a NACK message&lt;/FONT&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR&gt;&amp;nbsp; }&lt;BR&gt;&amp;nbsp; // eval the isValid variable&lt;BR&gt;&amp;nbsp; if (!isValid)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; throw new ApplicationException("The message doesn't have a valid flat-file format"); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;&amp;nbsp; EndProbe:&lt;BR&gt;&amp;nbsp; return true;&lt;BR&gt;}&lt;BR&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;private object disassembler = null;&lt;BR&gt;private&amp;nbsp;ArrayList baseMessages = new ArrayList();&lt;BR&gt;private int idxBaseMessages = 0;&lt;BR&gt;private string XmlNormNamespaceURI = "&lt;/FONT&gt;&lt;A href="http://schemas.microsoft.com/BizTalk/2003/xmlnorm-properties%22;" mce_href='http://schemas.microsoft.com/BizTalk/2003/xmlnorm-properties";'&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;http://schemas.microsoft.com/BizTalk/2003/xmlnorm-properties"&lt;/FONT&gt;&lt;/A&gt;&lt;BR&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;private string DocumentSpecNamePropertyName = "DocumentSpecName"&lt;BR&gt;private void FFDisassembler(IPipelineContext pContext, IBaseMessage pInMsg, Schema schema)&lt;BR&gt;{&lt;BR&gt;&amp;nbsp; disassembler = new FFDasmComp(); &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;&amp;nbsp; string messageType = string.Format("{0}#{1}", schema.TargetNamespace, schema.RootName);&lt;BR&gt;&amp;nbsp; IFFDocumentSpec docDefinition = (IFFDocumentSpec) pContext.GetDocumentSpecByType(messageType);&lt;BR&gt;&amp;nbsp; string docSpecStrongName = docDefinition.DocSpecStrongName;&lt;BR&gt;&amp;nbsp; pInMsg.Context.Write(DocumentSpecNamePropertyName, XmlNormNamespaceURI, docSpecStrongName);&lt;BR&gt;&amp;nbsp; pInMsg.BodyPart.GetOriginalDataStream().Seek(0, SeekOrigin.Begin); &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;&amp;nbsp; ((FFDasmComp) disassembler).DocumentSpecName = new SchemaWithNone(docSpecStrongName);&lt;BR&gt;&amp;nbsp; ((FFDasmComp) disassembler).Disassemble(pContext, pInMsg); &lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;&amp;nbsp; IBaseMessage baseMessage = null;&lt;BR&gt;&amp;nbsp; while ((baseMessage = ((FFDasmComp)disassembler).GetNext(pContext)) != null)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; baseMessages.Add(baseMessage);&lt;BR&gt;}&lt;BR&gt;#endregion IProbeMessage and Private Members&lt;/FONT&gt; 
&lt;P&gt;&lt;EM&gt;&lt;U&gt;IDisassemblerComponent&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;El metodo &lt;EM&gt;Disassemble&lt;/EM&gt; no debe implementar ninguna logica, esto se debe a que previamente ya se habia hecho el desensamble del mensaje. &lt;/P&gt;
&lt;P&gt;A continuacion, en el metodo &lt;EM&gt;GetNext&lt;/EM&gt; se implementa la logica necesaria para retornar uno a uno los mensajes de la coleccion &lt;EM&gt;baseMessages&lt;/EM&gt; y enviarlo automaticamente a la MessageBox para que continue su proceso. &lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;#region IDisassemblerComponent&lt;BR&gt;public IBaseMessage GetNext ( IPipelineContext pContext )&lt;BR&gt;{&lt;BR&gt;&amp;nbsp; if (idxBaseMessages &amp;lt; baseMessages.Count)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return baseMessages[idxBaseMessages++] as IBaseMessage;&lt;BR&gt;&amp;nbsp; return null;&lt;BR&gt;} &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial color=#ff0000 size=1&gt;public void Disassemble ( IPipelineContext pContext, IBaseMessage pInMsg ) { }&lt;BR&gt;#endregion IDisassemblerComponent&lt;/FONT&gt; 
&lt;P&gt;Este nuevo&amp;nbsp;&lt;EM&gt;Custom Pipeline Component&lt;/EM&gt;, puede ser utilizado&amp;nbsp;en &lt;EM&gt;Custom Pipelines&lt;/EM&gt; para las versiones BizTalk Server 2004 y 2006.&amp;nbsp; Si desea el codigo fuente puede&amp;nbsp;enviar un email &lt;A href="http://blogs.msdn.com/biztalklatam/contact.aspx" mce_href="http://blogs.msdn.com/biztalklatam/contact.aspx"&gt;aqui&lt;/A&gt;.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;&lt;FONT color=#ff8000 size=1&gt;Autor: Carlos Medina&lt;BR&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color=#a9a9a9&gt;&lt;FONT face=Arial size=2&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga&amp;nbsp;ningun derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=1746783" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category></item><item><title>BizTalk Server 2004 SP2</title><link>http://blogs.msdn.com/biztalklatam/archive/2006/10/26/biztalk-server-2004-sp2.aspx</link><pubDate>Thu, 26 Oct 2006 21:15:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:877142</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/877142.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=877142</wfw:commentRss><description>&lt;p&gt;Microsoft ha liberado BizTalk Server 2004 SP2.&amp;nbsp; Este nuevo Service Pack contiene muchos hotfix que mejoran el rendimiendo de la plataforma y una nueva caracteristica llamada Archiving and Purging que puede hacer mantenimiento automatico a las bases de datos de seguimiento.&lt;/p&gt; &lt;p&gt;El Service Pack puede ser descargado desde &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=d20b4510-e5a6-4d7b-87a1-4bd52bdd57b8&amp;amp;displaylang=en" target="_blank"&gt;Microsoft BizTalk Server 2004 Service Pack2&lt;/a&gt;, y una lista de todos los bugs que este soluciona en &lt;a href="http://support.microsoft.com/kb/924330/en-us" target="_blank"&gt;List of bugs that are fixed in BTS2004 SP2&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;strong&gt;Autor&lt;/strong&gt;: &lt;strong&gt;&lt;font color="#ff9900"&gt;Carlos Medina&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#a9a9a9"&gt;&lt;font face="Arial" size="2"&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga&amp;nbsp;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=877142" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category></item><item><title>BizTalk Server 2004 y WCF</title><link>http://blogs.msdn.com/biztalklatam/archive/2006/10/11/BizTalk-Server-2004-y-WCF.aspx</link><pubDate>Wed, 11 Oct 2006 08:12:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:815850</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/815850.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=815850</wfw:commentRss><description>&lt;p&gt;Actualmente Microsoft esta desarrollando BizTalk Server 2006 R2, el cual involucra un adaptador para &lt;a href="http://wcf.netfx3.com"&gt;WCF&lt;/a&gt;.&amp;nbsp; Pero, se pueden&amp;nbsp;invocar Web Service&amp;nbsp;de WCF desde BizTalk Server 2004 sin SP1? La respuesta es &lt;strong&gt;&lt;u&gt;SI&lt;/u&gt;&lt;/strong&gt; y&amp;nbsp;basta&amp;nbsp;con&amp;nbsp;agrega&amp;nbsp;un Web Reference al *.svc deseado, sin embargo no es posible utilizar todas las ventajas que ofrece WCF si se desea invocar desde BTS2004.&lt;/p&gt; &lt;p&gt;Aunque&amp;nbsp;WCF implementa muchos estandares de WS-*, estos no son soportados por el adaptador de SOAP para BTS2004 sin SP1.&amp;nbsp; Por lo tanto, la primera restriccion es no utilizar estandares como WS-Security, WS-Routing, etc.&lt;/p&gt; &lt;p&gt;Otro error que se&amp;nbsp;tiene, se&amp;nbsp;ejecuta&amp;nbsp;al establecer un Namespace&amp;nbsp;al atributo ServiceContract que especifica&amp;nbsp;la interfaz de los metodos a implementar.&amp;nbsp; Por ejemplo:&lt;/p&gt; &lt;p&gt;&lt;font color="#0000a0"&gt;namespace&lt;/font&gt; WCF.Ejemplos&lt;br&gt;&lt;font color="#ff0000"&gt;{&lt;/font&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ServiceContract]&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#0000a0"&gt;public interface&lt;/font&gt; IMetodos&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#ff0000"&gt;{&lt;/font&gt;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [OperationContract]&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#004080"&gt;bool&lt;/font&gt; ProcesarMensaje(&lt;font color="#004080"&gt;string&lt;/font&gt; mensaje);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color="#ff0000"&gt;}&lt;/font&gt;&lt;br&gt;&lt;font color="#ff0000"&gt;}&lt;/font&gt;  &lt;p&gt;Cuando esto se hace, el wizard de Web Rerence para BTS2004 en VS2003 no&amp;nbsp;es capaz de importar los metodos a invocar, y mostrara un error de esta forma:&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;Could not generate BizTalk files. Unable to import WebService/Schema. A schema with the namespace 'MyNamespace' has already been added.&lt;/font&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Como se ve, se debe de tener un poco de cuidado al tratar de referenciar Web Services de WCF desde BTS2004 sin SP1.&amp;nbsp; Pero una ves se tomas los respectivos cuidados,&amp;nbsp;a la final&amp;nbsp;se puede invocar un absteniendose de implementar cualquier&amp;nbsp;caracteristica avanzada de WCF.&lt;/p&gt; &lt;p&gt;&lt;font size="2"&gt;&lt;font face="Arial"&gt;&lt;strong&gt;Autor&lt;/strong&gt;: &lt;strong&gt;&lt;font color="#ff9900"&gt;Carlos Medina&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font color="#a9a9a9"&gt;&lt;font face="Arial" size="2"&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho&lt;br&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=815850" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category></item><item><title>Transacciones en Biztalk con .NET y COM+ (Terminado)</title><link>http://blogs.msdn.com/biztalklatam/archive/2006/04/18/transacciones-en-biztalk-con-net-y-com-terminado.aspx</link><pubDate>Tue, 18 Apr 2006 17:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:566257</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/566257.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=566257</wfw:commentRss><description>&lt;P&gt;&lt;FONT color=#ff0000 size=2 face=Arial&gt;&lt;STRONG&gt;Versión Final!!!&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2 face=Arial&gt;Esta es una duda que decidí aclarar y que mejor manera que hacer un laboratorio para verlo con mis propios ojos. Este artículo abarca muchos temas que serán brevemente explicados y con referencias para un mayor detalle acerca de como aprovechar el motor de transacciones de BTS usando componentes de .NET con COM+.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2 face=Arial&gt;Este post esta dividido de la siguiente forma:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;&lt;A href="http://blogs.msdn.com/biztalklatam/articles/566165.aspx" mce_href="http://blogs.msdn.com/biztalklatam/articles/566165.aspx"&gt;Parte I Introducción: Descripción del escenario, datos del ambiente y lo que deben saber sobre transacciones&lt;/A&gt;.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;&lt;A href="http://blogs.msdn.com/biztalklatam/articles/570163.aspx" mce_href="http://blogs.msdn.com/biztalklatam/articles/570163.aspx"&gt;Parte II .NET y COM+: Preparando nuestro componente transaccional y comprobando su funcionamiento&lt;/A&gt;.&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT size=2 face=Arial&gt;&lt;A href="http://blogs.msdn.com/biztalklatam/articles/577743.aspx" mce_href="http://blogs.msdn.com/biztalklatam/articles/577743.aspx"&gt;Parte III BTS, .NET y COM+: Realizando transacciones en una orquestación con el componente construido&lt;/A&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT size=2 face=Arial&gt;Pueden bajar el código final &lt;A href="http://www.recomienda.net/Recursos/exe-codigo/Transaccionts.zip" mce_href="http://www.recomienda.net/Recursos/exe-codigo/Transaccionts.zip"&gt;aquí&lt;/A&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;FONT size=1&gt;&lt;FONT color=#ff8000&gt;Autor: Jorge Aguilar&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#c0c0c0&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga&amp;nbsp;ningun derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=566257" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Entrenamiento+_2600_amp_3B00_+Recursos+BTS+2006/default.aspx">Entrenamiento &amp;amp; Recursos BTS 2006</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Entrenamiento+_2600_amp_3B00_+Recursos+BTS+2004/default.aspx">Entrenamiento &amp;amp; Recursos BTS 2004</category></item><item><title>Assembly no soportado: Microsoft.BizTalk.Databases.dll</title><link>http://blogs.msdn.com/biztalklatam/archive/2006/02/10/529691.aspx</link><pubDate>Fri, 10 Feb 2006 20:49:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:529691</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/529691.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=529691</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Microsoft.BizTalk.Databases.dll es un assembly no soportado por Microsoft en el framework de BizTalk Sever que provee funcionalidad para consultar los servidores existentes en la red y las bases de datos existentes en estos. Para ello este assembly provee 5 clases: &lt;I&gt;BizTalkDatabaseInfo&lt;/I&gt;, &lt;I&gt;Database&lt;/I&gt;, &lt;I&gt;DatabaseCollection&lt;/I&gt;, &lt;I&gt;Server&lt;/I&gt;, y &lt;I&gt;ServerCollection&lt;/I&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Por ejemplo, para consultar los servidores de SQL Server existentes se puede utilizar las clases &lt;I&gt;ServerCollection&lt;/I&gt; y &lt;I&gt;Server&lt;/I&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;
&lt;P&gt;&lt;FONT face=Arial size=1&gt;foreach&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=1&gt; (&lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; name &lt;FONT color=#0000ff&gt;in&lt;/FONT&gt; Microsoft.BizTalk.Databases.&lt;FONT color=#008080&gt;ServerCollection&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt;.GetSqlServerNames())&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;{&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Microsoft.BizTalk.Databases.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Server&lt;/FONT&gt; server = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; Microsoft.BizTalk.Databases.&lt;FONT color=#008080&gt;Server&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;(name);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"Server name: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + server.Name);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"Platform Identifier: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + server.PlatformIdentifier.ToString());&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"Type: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + server.Type.ToString());&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"Version: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + server.Version.ToString());&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Y para consultar las bases de datos de cada servidor basta con utilizar el siguiente código, así mismo por cada base de datos es puede consultar si pertenece o no a BizTalk Server:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=1&gt;Microsoft.BizTalk.Databases.&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Server&lt;/FONT&gt; server = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; Microsoft.BizTalk.Databases.&lt;FONT color=#008080&gt;Server&lt;/FONT&gt;(&lt;FONT color=#800000&gt;"server_name"&lt;/FONT&gt;);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial&gt;bool&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; isBtsDb = &lt;FONT color=#0000ff&gt;true&lt;/FONT&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial&gt;foreach&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt; (Microsoft.BizTalk.Databases.&lt;FONT color=#008080&gt;Database&lt;/FONT&gt; database &lt;FONT color=#0000ff&gt;in&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt; server.GetDatabaseCollection())&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;{&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"Database: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt; + database.Name);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=1&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;try&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isBtsDb = database.IsBizTalkDatabase;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; ( isBtsDb )&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"///// Begin - BizTalk Database "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt;);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&amp;nbsp;&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=1&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;catch&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;isBtsDb = &lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;false&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt;;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"Is BizTalk database: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + isBtsDb.ToString());&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt; (isBtsDb)&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"BizTalk Db name: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + database.BizTalkDatabaseInfo.Name);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"BizTalk Db version: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + database.BizTalkDatabaseInfo.Version.ToString());&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"BizTalk Db description: "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt; + database.BizTalkDatabaseInfo.Description);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;Console&lt;/FONT&gt;.WriteLine(&lt;FONT color=#800000&gt;"///// End - BizTalk Database "&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=1&gt;);&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE cellSpacing=1 cellPadding=7 width=590 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD bgColor=#f3f3f3&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT face=Arial size=2&gt;Nota&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face=Arial size=2&gt;: aunque se puede consultar si una base de datos pertenece o no a BizTalk Server, esta funcionalidad no es valida y solo se presenta en el código a nivel de ejemplo. Lo anterior se da por que al consultar la información de la base de datos solo revisa la ManagementBizTalkDb y no otras como BizTalkMsgbDb.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;Autor&lt;/STRONG&gt;: &lt;STRONG&gt;&lt;FONT color=#ff9900&gt;Carlos Medina&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a9a9a9&gt;&lt;FONT face=Arial size=2&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=529691" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category></item><item><title>Usando Load Generador (LoadGen) Parte I</title><link>http://blogs.msdn.com/biztalklatam/archive/2006/01/17/513385.aspx</link><pubDate>Tue, 17 Jan 2006 19:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:513385</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/513385.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=513385</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Microsoft ha liberado recientemente una nueva versión de su herramienta Load Generator, esta versión requiere del Framework de .Net 2.0 para su ejecución. Pueden bajar esta herramienta desde &lt;/FONT&gt;&lt;A target="_blank" href="http://www.microsoft.com/downloads/details.aspx?familyid=C2EE632B-41C2-42B4-B865-34077F483C9E&amp;amp;displaylang=en"&gt;&lt;U&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;BizTalk Server 2004 Load Generation Tool&lt;/FONT&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Conocida también como "&lt;B&gt;LoadGen&lt;/B&gt;", esta herramienta permite hacer pruebas de estrés a nuestros procesos de BizTalk Server por medio del envió de mensajes en forma continua (limitado por tiempo o número de mensajes) a destinos predeterminados de BTS (&lt;B&gt;Receive Locations&lt;/B&gt;), igualmente la herramienta provee un mecanismo que permitirá monitorear este envió (y recepción) de mensajería para determinar la optimización de nuestros proceso de EAI diseñados. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Para hacer posible la generación de mensajería, la definición del destino, y la monitorización de la mensajería &lt;B&gt;LoadGen&lt;/B&gt; utiliza la información almacenada en un Xml de configuración que nosotros mismos definimos de acuerdo al escenario de prueba establecido&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;En su ejecución, &lt;B&gt;LoadGen&lt;/B&gt; basa su arquitectura en 3 capas (ver imagen): &lt;B&gt;Presentation&lt;/B&gt;, &lt;B&gt;Framework&lt;/B&gt; y &lt;B&gt;Component&lt;/B&gt;; a continuación se da una breve explicación de ellas.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.recomienda.net/Recursos/imagenes/loadgenparte1_1.JPG" border=0&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;&lt;/P&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Capa Presentation&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta capa contiene la interfaz del programa. En &lt;B&gt;LoadGen&lt;/B&gt; la interfaz se define como una aplicación de Consola, la cual al ser ejecutada recibe un parámetro de entrada que especifica la ruta del archivo Xml con la configuración de la ejecución de la plataforma.&lt;/FONT&gt;&lt;/P&gt;&lt;U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Capa Framework&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta capa es el "núcleo" de todo el &lt;B&gt;LoadGen&lt;/B&gt; y esta representada en solamente una librería. Esta librería traduce el archivo Xml entregado por la capa &lt;B&gt;Presentation&lt;/B&gt; y lo utiliza para inicializar todos los componentes necesarios para la generación de mensajes, envío de mensajería y monitorización.&lt;/FONT&gt;&lt;/P&gt;&lt;U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Capa Component&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Por último, la capa de componentes contiene todos los elementos necesarios para la generación de nuevos mensajes (&lt;B&gt;Message Creators&lt;/B&gt;), envío de mensajes (&lt;B&gt;Load Generators&lt;/B&gt;), y monitorización de mensajes (&lt;B&gt;Throttle Controllers&lt;/B&gt;). &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Este diseño permite que la capa &lt;B&gt;Component&lt;/B&gt; pueda ser extendida creando nuevos elementos &lt;B&gt;Load Generators&lt;/B&gt;, &lt;B&gt;Message Creators&lt;/B&gt; y/o &lt;B&gt;Throttle Controllers&lt;/B&gt;. Para extender estos componentes, LoadGen expone 4 interfaces: &lt;B&gt;IMonitor&lt;/B&gt;, &lt;B&gt;ITransport&lt;/B&gt;, &lt;B&gt;IConfigurable&lt;/B&gt; y &lt;B&gt;IMessageCreator&lt;/B&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;I&gt;IMonitor&lt;/I&gt;: interfaz utilizada para la creación de un nuevo componente de monitorización.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;I&gt;ITransport&lt;/I&gt;: interfaz utilizada para la creación de un nuevo componente de transporte el cual sera invocado en el envio de la mensajeria hacia el destino predeterminado.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;I&gt;IConfigurable&lt;/I&gt;: interfaz utilizada para la definición de la configuración del elemento de transporte.&lt;/FONT&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;&lt;I&gt;IMessageCreator&lt;/I&gt;: interfaz utilizada para la creación de nuevos mensajes en forma personalizada.&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;LoadGen por defecto provee elementos que pueden ser utilizados para las pruebas de estrés, estos son:&lt;/FONT&gt;&lt;/P&gt;&lt;I&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Load Generators&lt;/FONT&gt;&lt;/P&gt;&lt;/I&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="29%" bgColor=#f3f3f3&gt;&lt;B&gt;
&lt;P align=center&gt;&lt;FONT face=Arial size=2&gt;Nombre&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%" bgColor=#f3f3f3&gt;&lt;B&gt;
&lt;P align=center&gt;&lt;FONT face=Arial size=2&gt;Descripción&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="29%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;File Transport&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Almacena como archivos en el destino predeterminado.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="29%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;HTTP Transport&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía los mensajes a URL’s predeterminadas, soporta Request-Response y el envío de mensajes asíncronos.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="29%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;SOAP Transport&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía los mensajes a Servicios Web predeterminados previamente, soporta Request-Response y el envió de mensajes asíncronos.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="29%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;MSMQ Transport&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes a colas de mensajería MSMQ. Estas colas pueden ser privadas transaccionales o no.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="29%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;MQ-Series Transport&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes a colas de IBM-MQ Series.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="29%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;WSE Transport&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes a Servicios Web predeterminados que soporten WSE, soporta Request-Response y el envió de mensajes asíncronos.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="29%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;WSS Transport&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="71%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes a Windows SharePoint Services.&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;I&gt;&lt;FONT face=Arial size=2&gt;Throttle Controllers&lt;/FONT&gt;&lt;/P&gt;&lt;/I&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="30%" bgColor=#f3f3f3&gt;&lt;B&gt;
&lt;P align=center&gt;&lt;FONT face=Arial size=2&gt;Nombre&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="70%" bgColor=#f3f3f3&gt;&lt;B&gt;
&lt;P align=center&gt;&lt;FONT face=Arial size=2&gt;Descripción&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD colSpan=2&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="30%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;File Monitor&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="70%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Monitoriza el numero de archivos creados en una carpeta&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="30%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;SQL Monitor&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="70%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Monitoriza el numero de filas creadas en una base de datos SQL Server&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="30%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;MQSeries Monitor&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="70%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Monitoriza el numero de mensajes en una cola MQ-Series&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="30%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;MSMQ Monitor&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="70%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Monitoriza el numero de mensajes en una cola MSMQ&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Como se menciona anteriormente, la ejecución de &lt;B&gt;LoadGen&lt;/B&gt; esta guiada por el archivo Xml que se pasa en la ejecución de LoadGenConsole.exe en la capa &lt;B&gt;Presentation&lt;/B&gt;. Este archivo contiene dos secciones específicamente: &amp;lt;CommonSection /&amp;gt; y &amp;lt;Section /&amp;gt;, la primera sección especifica los valores para todos los elementos utilizados como &lt;B&gt;Load Generators&lt;/B&gt;, &lt;B&gt;Message Creators&lt;/B&gt; y &lt;B&gt;Throttle Controllers&lt;/B&gt;. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Por su parte la segunda sección contiene toda la configuración para los elementos &lt;B&gt;Load Generator&lt;/B&gt; y en ocasiones puede sobrescribir la información de la sección &amp;lt;CommonSection /&amp;gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Definir el archivo de configuración es fácil, para ello cuando se instala el &lt;B&gt;LoadGen&lt;/B&gt; se escriben unos archivos Xml de configuración de ejemplo.&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="51%" bgColor=#f3f3f3&gt;
&lt;P align=center&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Nombre&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%" bgColor=#f3f3f3&gt;
&lt;P align=center&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Descripción&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;FileToFileLG.xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes como archivos&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;HttpToHttpOneWayLG.xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes por HTTP&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;HttpToHttpTwoWayLG.xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes por HTTP en Request-Response&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;MQSeriesLG.Xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes a colas MQ-Series&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;MsmqLG.Xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes a colas MSMQ&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;SoapToSoapOneWayLG.xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes SOAP a Servicios Web&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;SoapToSoapTwoWayLG.xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envía mensajes SOAP a Servicios Web en Request-Response&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;TwoWayLatencyLoopbackHTTPLG.Xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes por HTTP y calcula su latencia&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;TwoWayLatencyLoopbackSOAPLG.Xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes SOAP a Servicios Web y calcula su latencia&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;TwoWayLatencyLoopbackWSELG.Xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes a Servicios Web con WSE y calcula su lantencia&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;WseToWseOneWayLG.xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes usando WSE a Servicios Web&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="51%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;WseToWseTwoWayLG.xml&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD width="49%"&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Envia mensajes usando WSE a Servicios Web en Request-Response&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta es una corta descripción de las utilidades de &lt;B&gt;LoadGen&lt;/B&gt;, así mismo este es el primer post (Parte I) de una serie de artículos acerca del uso de &lt;B&gt;LoadGen&lt;/B&gt;, como desarrollar nuevos componentes y como utilizar al máximo este para probar todos nuestros procesos.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;LoadGen&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face=Arial size=2&gt; puede ser utilizado tanto probar los procesos en las versiones BizTalk Server 2004 y BizTalk Server 2006 Beta 2.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;Autor&lt;/STRONG&gt;: &lt;STRONG&gt;&lt;FONT color=#ff9900&gt;Carlos Medina&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a9a9a9&gt;&lt;FONT face=Arial size=1&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=513385" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Entrenamiento+_2600_amp_3B00_+Recursos+BTS+2006/default.aspx">Entrenamiento &amp;amp; Recursos BTS 2006</category></item><item><title>Artículos acerca de SSO</title><link>http://blogs.msdn.com/biztalklatam/archive/2006/01/13/512173.aspx</link><pubDate>Fri, 13 Jan 2006 19:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:512173</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/512173.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=512173</wfw:commentRss><description>&lt;P&gt;&lt;A href="http://www.winterdom.com/weblog" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Tomas Restrepo&lt;/FONT&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; ha escrito dos muy buenos documento acerca de SSO en BTS 2004, en ellos Tomás da una pequeña introducción a los beneficios de SSO y posteriormente nos explica de buena forma una forma de administrar este sistema 
&lt;P&gt;&lt;A href="http://www.winterdom.com/weblog" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Tomas Restrepo&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; ha escrito dos muy buenos documento acerca de SSO en BTS 2004, en ellos Tomás da una pequeña introducción a los beneficios de SSO y posteriormente nos explica de buena forma una forma de administrar este sistema. Los documentos los pueden encontrar en:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.winterdom.com/dev/esp/BTS_SSO_1.htm" target=_blank&gt;Introducción al Enterprise Single Sign-On&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color=#000000&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://www.winterdom.com/dev/esp/BTS_SSO_2.htm" target=_blank&gt;Administración del Enterprise Single Sign-On&lt;/A&gt; &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Estos documentos pueden complementar los anteriores artículos de Christian Carnero acerca de SSO publicados el año pasado:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;a href="https://blogs.msdn.com:443/biztalklatam/archive/2005/08/09/449495.aspx" target=_blank&gt;Introducción a Single Sign On – Parte I&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;a href="https://blogs.msdn.com:443/biztalklatam/archive/2005/08/09/449495.aspx" target=_blank&gt;Introducción a Single Sign On – Parte II&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;a href="https://blogs.msdn.com:443/biztalklatam/archive/2005/08/17/452695.aspx" target=_blank&gt;Introducción a Single Sign On – Parte III (Final)&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Otro articulo interesante artículo publicado por Tomas (aunque no trata directamente a BizTalk), nos habla de por que NO debemos utilizar el paso de cadenas de texto con XML mediante Servicios Web dando una mayor optimización y mantenimiento a los servicios. El documento lo pueden encontrar en &lt;/FONT&gt;&lt;A href="http://www.winterdom.com/dev/esp/WS_y_Strings_XML.htm" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Servicios Web y Strings XML&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;&lt;STRONG&gt;Autor&lt;/STRONG&gt;: &lt;STRONG&gt;&lt;FONT color=#ff9900&gt;Carlos Medina&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a9a9a9&gt;&lt;FONT face=Arial size=1&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=512173" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category></item><item><title>¿Problemas al invocar una orquestación como Servicios Web?</title><link>http://blogs.msdn.com/biztalklatam/archive/2005/12/26/507407.aspx</link><pubDate>Mon, 26 Dec 2005 19:27:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:507407</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/507407.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=507407</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Muchos de nosotros hemos pasado muchas horas frente al computador tratando de solucionar problemas al no poder invocar orquestaciones expuestas como Servicios Web desde otros aplicativos, para tratar de evitar esto Microsoft ha publicado un articulo donde expone los 3 errores mas comunes al consumir un Servicio Web de BTS 2004:&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;U&gt;Problema 1&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Se registra los siguientes mensaje de error en el registro de sucesos de aplicación en el servidor que ejecuta BizTalk Server 2004: &lt;/FONT&gt;&lt;/P&gt;
&lt;DIR&gt;
&lt;DIR&gt;&lt;FONT color=#ff0000&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;La Mensajería Motor no podría registrar el adaptador de "SOAP" para la ubicación de recepción " / &lt;I&gt;VirtualDirectory&lt;/I&gt; / .asmx &lt;I&gt;Nombre&lt;/I&gt; ". Vuelva a comprobar que la ubicación de recepción es válida y que el adaptador aislado se ejecuta con una cuenta que tiene acceso a las bases de datos BizTalk. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Un intento de que se conecta a base de datos de SQL Server "BizTalkMgmtDb" en el servidor en el que falló " &lt;I&gt;Servidor&lt;/I&gt;" con error:" no se puede abrir la base de datos solicitada en inicio de sesión "BizTalkMgmtDb"." No se puede iniciar sesión . " . "&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIR&gt;&lt;/DIR&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;U&gt;Problema 2&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;En un servidor remoto que ejecuta BizTalk Server 2004, se registra el mensaje de error siguiente en el registro de sucesos de aplicación al llamar a la orquestación que se expone como un servicio Web: &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;
&lt;DIR&gt;
&lt;DIR&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;" : " &amp;lt; / &amp;gt; " . " el adaptador "SOAP" suspende unos mensajes salientes que van en dirección URL de destino http:// &lt;I&gt;VirtualDirectory&lt;/I&gt; .asmx &lt;I&gt;Nombre&lt;/I&gt; Detalles:" servidor no podría procesar solicitud." - &amp;gt; . " . " no se encontraron Archivo, .dll de nombre de ensamblado &lt;I&gt;FileName&lt;/I&gt; o una de sus dependencias &lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIR&gt;&lt;/DIR&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;Cuando llama a la orquestación que se expone como un servicio Web desde un equipo de cliente que no ejecuta BizTalk Server 2004, puede recibir un mensaje de error que es similar a lo siguiente: &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#ff0000&gt;
&lt;DIR&gt;
&lt;DIR&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;SoapException: SOAP interno que procesa error&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/DIR&gt;&lt;/DIR&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;U&gt;Problema 3&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Se registra el mensaje de error siguiente en el registro de sucesos de aplicación en el servidor en el que se expone el servicio Web: &lt;/FONT&gt;&lt;/P&gt;
&lt;DIR&gt;
&lt;DIR&gt;&lt;FONT face=Arial color=#ff0000 size=2&gt;
&lt;P&gt;Fue que un error ejecuta la canalización de recepción : Source "Microsoft.BizTalk.DefaultPipelines.XMLReceive" : Recibir Ubicación "Microsoft.BizTalk.Messaging" : " / &lt;I&gt;VirtualDirectory&lt;/I&gt; / .asmx &lt;I&gt;Nombre&lt;/I&gt; " Motivo : especificó que la conversión no es válida. &lt;/FONT&gt;&lt;/P&gt;&lt;/DIR&gt;&lt;/DIR&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Adicionalmente, da la explicación de las causas a cada uno de estos problemas y la solución para el correcto funcionamiento de los Servicios Web. Realmente es un buen artículo que vale la pena dedicarle un momento para leerlo y tenerlo en cuenta para nuestros desarrollos.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;El articulo puede ser consultado en &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/910295/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;No se puede llamar una orquestación que se expone como un Servicio Web en un servidor que ejecuta BizTalk Server 2004&lt;/FONT&gt;&lt;/A&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;STRONG&gt;Autor&lt;/STRONG&gt;: &lt;STRONG&gt;&lt;FONT color=#ff9900&gt;Carlos Medina&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a9a9a9&gt;&lt;FONT face=Arial size=1&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=507407" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category></item><item><title>¿Donde guardo mis parámetros de configuración?</title><link>http://blogs.msdn.com/biztalklatam/archive/2005/11/24/496720.aspx</link><pubDate>Thu, 24 Nov 2005 19:39:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:496720</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/496720.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=496720</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Muchas veces he escuchado preguntar a los desarrolladores de BizTalk Server: ¿Donde puedo guardar mis parámetros de configuración? Bien, desde un punto de vista práctico existen tres lugares donde se pueden almacenar:&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;El archivo &lt;B&gt;BTSNTSvc.exe.config.&lt;/B&gt;&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Un archivo Xml de configuración propietario&lt;/FONT&gt; 
&lt;LI&gt;&lt;FONT face=Arial size=2&gt;Una aplicación externa. A continuación se evaluara cada uno de los casos.&lt;/FONT&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;BTSNTSvc.exe.config&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Este es el archivo de configuración del servicio que ejecuta BizTalk Server (&lt;B&gt;BTSNTSvc.exe&lt;/B&gt;) el cual generalmente se localiza en la carpeta de configuración (muchas veces la misma de instalacion) de BTS.&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;B&gt;&lt;FONT face=Arial size=2&gt;NOTA:&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face=Arial size=2&gt; si no se conoce donde esta el servicio de BizTalk Server, este puede localizarse en la ruta del Registro de Windows:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\BizTalk Server\3.0\ConfigFramework\Path&lt;/P&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;El Registro de Windows es de suprema importancia para el buen funcionamiento del sistema operativo, por lo que la utilización de este es de riesgo personal.&lt;/P&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Este archivo corresponde a un archivo de configuración del framework de .Net, por lo tanto soporta la sección de &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfAppSettingsElement.asp" target=_blank&gt;&lt;FONT face=Arial size=2&gt;&amp;lt;appSettings /&amp;gt;&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; en la cual se pueden guardar las varias de configuración, por ejemplo:&lt;/FONT&gt;&lt;/P&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;lt;?&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;FONT color=#800000&gt;xml&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000&gt;version&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;=&lt;/FONT&gt;"&lt;FONT color=#0000ff&gt;1.0&lt;/FONT&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt; ?&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;configuration&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;runtime&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;………&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;runtime&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;appSettings&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;FONT color=#800000&gt;add&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000&gt;key&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;=&lt;/FONT&gt;"&lt;FONT color=#0000ff&gt;ConnectionString1&lt;/FONT&gt;"&lt;FONT color=#0000ff&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000&gt;value&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;=&lt;/FONT&gt;"&lt;FONT color=#0000ff&gt;SQL Server 1&lt;/FONT&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt; /&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;appSettings&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;……… &lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;FONT color=#800000&gt;configuration&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Luego, leer dichos valores resulta sencillo bien sea desde la misma orquestación o desde un assembly .Net no BTS referenciado desde la orquestación, así:&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;Assembly:BizTalk 2004 ó Assembly:.Net 1.1&lt;/P&gt;&lt;/FONT&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;System.Configuration.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;ConfigurationSettings&lt;/FONT&gt;.AppSettings.Get(&lt;FONT color=#800000&gt;"ConnectionString1"&lt;/FONT&gt;);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Assembly:BizTalk 2006 ó Assembly:.Net 2.0&lt;/P&gt;&lt;/FONT&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;System.Configuration.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#008080&gt;ConfigurationManager&lt;/FONT&gt;.AppSettings.Get(&lt;FONT color=#800000&gt;"ConnectionString1"&lt;/FONT&gt;);&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Las ventajas de esta primera es la que se ofrece con el mismo framework de .Net ya que actúa de igual forma, lo cual significa que todos los datos son cargados a memoria la primera ves que se crea una instancia del servicio &lt;B&gt;BTSNTSvc.exe&lt;/B&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;La gran desventaja notable de esta opción, es que si es requerido cambiar un valor de alguna de las variables seria necesario detener el servicio y volverlo a iniciar para que este nuevo valor tomase efecto dentro de nuestra ejecución, dando la opción de interrupción de los servicios y por ende posible perdida de información.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;En forma adicional, otra desventaja de esta solución es el proceso de despliegue del aplicativo, ya que se hace necesario modificar el archivo de configuración &lt;B&gt;BTSNTSvc.exe.config&lt;/B&gt; en la instalación de los elementos de BizTalk Server y este es una modificación de cuidado ya que cualquier daño que sufra dicho archivo afectara todo el funcionamiento de nuestro servicio de BizTalk Server.&lt;/FONT&gt;&lt;/P&gt;&lt;U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Archivo Xml de configuración propietario&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta es otra técnica muy conocida y consiste en tener un Xml con una configuración propietaria donde se almacena toda la información, posteriormente con la ayuda de una clase Helper desarrollada o con XmlDocument e instrucciones &lt;/FONT&gt;&lt;A href="http://www.w3.org/TR/xpath" target=_blank&gt;&lt;FONT face=Arial size=2&gt;xpath&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; se obtienen los datos solicitados. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;La única y gran incógnita de esta opción es donde almacenar el archivo Xml de configuración, en este caso tendríamos muchas opciones, entre las cuales se describen las 3 mas utilizadas:&lt;/FONT&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Almacenarlo en una ruta específica que siempre será la misma, por ejemplo: &lt;B&gt;D:\EAI\Proyecto\Archivo.xml&lt;/B&gt;.&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;Esta opción seria muy buena, pero… ¿cuál es la realidad? En los servidores de producción no se pueden almacenar archivos de configuración en cualquier ubicación sino en la establecida por la arquitectura de la compañía, por lo tanto esta primera opción no es la muy práctica.&lt;BR&gt;&lt;/FONT&gt;
&lt;LI&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Otra opción crear una entrada en la sección &lt;B&gt;&amp;lt;appSettings /&amp;gt;&lt;/B&gt; del archivo de configuración y en dicha entrada almacenar la ruta del archivo de configuración. De esta forma, antes de leer la información solicitada se consultaría primero la ruta del archivo desde la entrada de &lt;B&gt;&amp;lt;appSettings /&amp;gt;&lt;/B&gt; y posteriormente la información requerida de dicho archivo.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta es una opción práctica, y comúnmente muchas de nuestras aplicaciones .Net funcionan así. Sin embargo, esta alternativa tiene un único defecto que se basa en el proceso de despliegue ya que es necesario editar el archivo &lt;B&gt;BTSNTSvc.exe.config&lt;/B&gt; y por consecuente cualquiera edición mal realizada podría traer consecuencias fatales para la ejecución de BizTalk Server.&lt;/FONT&gt;&lt;/P&gt;
&lt;LI&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Por ultimo, también se puede almacenar el archivo Xml de configuración en la misma localización donde se almacenan los assemblies de .Net tanto BTS como no-BTS. De esta forma, desde el interior del assembly por medio de la clase System.Reflection.&lt;FONT color=#008080&gt;Assembly&lt;/FONT&gt; y la propiedad GetExecutingAssembly().Location&lt;/FONT&gt;&lt;FONT face=Arial&gt; podemos obtener la ruta actual de ejecución del assembly y de esta forma conocer fácilmente la localización del archivo.&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Esta opción es buena, sin embargo (si, también tiene su pero… &lt;/FONT&gt;&lt;FONT face=Arial&gt;L&lt;/FONT&gt;&lt;FONT face=Arial&gt;) muchos se preguntaran… ¿Cuál es la carpeta de ejecución del assembly? Bien, si registramos el assembly en el GAC la carpeta sería %windir%\assembly\GAC\Assembly\version_publictoken\Assembly.dll, luego de saber esto la pregunta obligada es, ¿entonces ya se empieza a complicar el asunto, como grabo el archivo Xml en esa carpeta? La respuesta es &lt;B&gt;SI&lt;/B&gt; y &lt;B&gt;NO&lt;/B&gt;. &lt;B&gt;No&lt;/B&gt; por que en este caso no es se registraría el assembly en el GAC para que BizTalk Server pueda reconocerlo, y &lt;B&gt;SI&lt;/B&gt; por que de alguna forma es necesario mostrarle el assembly a BizTalk Server para que lo reconozca.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Entonces, ¿como hacer que BizTalk Server reconozca el assembly? Nuevamente esta solucion involucra la modificacion del archivo BTSNTSvc.exe.config, en esta ocasión se especificaria una nueva carpeta en la cual el servicio buscaria assemblies relacionado con la ejecución de BizTalk Server. Para ello seria necesario modificar la seccion del &lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#0000ff&gt;&amp;lt;&lt;/FONT&gt;&lt;FONT color=#800000&gt;probing /&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt; &lt;/FONT&gt;archivo, asi: &lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;TABLE cellSpacing=1 cellPadding=1 border=1&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;configuration&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;runtime&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;FONT color=#800000&gt;assemblyBinding&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000&gt;xmlns&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;=&lt;/FONT&gt;"&lt;FONT color=#0000ff&gt;urn:schemas-microsoft-com:asm.v1&lt;/FONT&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT size=1&gt;&amp;lt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=1&gt;&lt;FONT face=Arial&gt;&lt;FONT color=#800000&gt;probing&lt;/FONT&gt;&lt;FONT color=#0000ff&gt; &lt;/FONT&gt;&lt;FONT color=#ff0000&gt;privatePath&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;=&lt;/FONT&gt;"&lt;FONT color=#0000ff&gt;BizTalk Assemblies;Developer Tools;Tracking;Tracking\interop;Nuevos Assemblies&lt;/FONT&gt;"&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial&gt;&lt;FONT size=1&gt; /&amp;gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000 size=2&gt;assemblyBinding&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial color=#800000&gt;runtime&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&lt;FONT face=Arial size=2&gt;&amp;gt;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;………&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;………&lt;BR&gt;&lt;/FONT&gt;&lt;FONT face=Arial size=2&gt;&amp;lt;/&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face=Arial&gt;&lt;FONT size=2&gt;&lt;FONT color=#800000&gt;configuration&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;En esta ocasión, se ha especificado que también busque los assemblies en la carpeta &lt;/FONT&gt;&lt;FONT face=Arial color=#0000ff&gt;Nuevos Assemblies&lt;/FONT&gt;&lt;FONT face=Arial&gt; la cual deberá crearse como subdirectorio de la carpeta donde se encuentra el servicio &lt;B&gt;BTSNTSvc.exe.config&lt;/B&gt;. Por lo tanto, bastaría guardar nuestro assemblie de lectura de información en dicha carpeta junto con el archivo Xml de configuración.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta alternativa de resolución de assemblies hace parte de la arquitectura de .Net para la localización de assemblies, para mayor información visitar &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/en-us/cpguide/html/cpconassemblyplacement.asp" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Assembly Placement&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt; y &lt;/FONT&gt;&lt;A href="http://msdn.microsoft.com/library/en-us/cpgenref/html/gngrfProbing.asp" target=_blank&gt;&lt;FONT face=Arial size=2&gt;&amp;lt;probing&amp;gt; Element&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;FONT face=Arial size=2&gt;&lt;STRONG&gt;Un servicio externo&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/U&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Una tercera opción, es tener una aplicación externa que almacene todos los parámetros o variables de configuración, llámese Web Service, SQL Server, Oracle, Web Page, entre otros. En esta oportunidad, podríamos tener un proceso de orquestación que se pueda invocar desde otros procesos de orquestación y obtener los datos requeridos.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta opción seria la mejor para un compañía con una arquitectura SOA, ya que basados en servicios se podrían obtener los parámetros ya centralizados para las demás aplicaciones. En este caso, el despliegue seria de una manera sencilla ya que se utilizarían los elementos nativos de BizTalk Server (puertos) para la localización del repositorio de parámetros y su mantenimiento seria por medio de las mismas herramientas de BizTalk Server en caso tal que la ubicación del servicio cambiase (consola administrativa u otros).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;***&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Como se puede leer, existen varios lugares donde se puede almacenar los parámetros de configuración de la aplicación. ¿Cuál aplicar? Todo depende del tipo de arquitectura diseñada en la compañía, y que tipo de arquitectura tendrá la solución de EAI con BizTalk Server para que se la decisión a tomar sea la mas adecuada. En cualquier caso, si la decisión es editar el archivo &lt;B&gt;BTSNTSvc.exe.config&lt;/B&gt; siempre se hace necesario tener mucho cuidado ya que este archivo, nuevamente, es vital para el correcto funcionamiento de BizTalk Server.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Esta información aplica tanto para la versión BizTalk Server 2004 y BizTalk Server 2006 Beta 2. Sin embargo, no se garantiza su funcionalidad para la versión final de BizTalk Server 2006.&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face=Arial size=2&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;STRONG&gt;Autor&lt;/STRONG&gt;: &lt;STRONG&gt;&lt;FONT color=#ff9900&gt;Carlos Medina&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a9a9a9&gt;&lt;FONT face=Arial size=1&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=496720" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2006/default.aspx">Base de Conocimiento BTS 2006</category></item><item><title>Nuevos artículos de KB en el sitio de soporte de MS (Octubre)</title><link>http://blogs.msdn.com/biztalklatam/archive/2005/11/02/488373.aspx</link><pubDate>Wed, 02 Nov 2005 23:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:488373</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/488373.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=488373</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Durante el mes de septiembre MS publicó algunos artículos de soporte para BizTalk Server 2004, estos articulo incluyen correcciones (Fix) o recomendaciones de funcionalidades para mejorar la implementación de nuestros procesos. A la fecha estos son los artículos publicados por MS:&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Fix: The Business Activity Services Messaging Adapter does not work as expected in BizTalk Server 2004 after you install Windows SharePoint Services Service Pack 2&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/908359/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/908359/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;You may receive a "The following platform components failed to install and will need to be manually installed before setup can proceed Enterprise Single Sign-On Server" error message when you try to install BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/905725/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/905725/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;The Tracking_Spool1 or Tracking_Spool2 tables in the BiztalkMsgBoxDb database become very large in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/907661/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/907661/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Fix: An "Enterprise Single Sign-On is offline" error message may be logged in the Configuration log when you try to use the "Configframework /s" command to silently reconfigure BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/904168/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/904168/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Fix: Event ID 5719 may occur when you use a custom receive pipeline to validate a document structure in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/901028/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/901028/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;You must run the Configuration Wizard when you move an installation of BizTalk Server 2004 from one domain to another domain&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/904356/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/904356/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Information about handling incoming data streams in pipeline components in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/905517/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/905517/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Fix: You may receive a "Failed to create project" error message when you try to publish an orchestration as a Web service in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/kb/907344/en-us" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Cualquier duda que se tenga acerca del funcionamiento o rendimiento de nuestras aplicaciones en BizTalk Server 2004 podemos preguntar en el grupo de discusión news:microsoft.public.es.biztalk.server o ir directamente al centro de soporte tal como se explica en el &lt;/FONT&gt;&lt;a href="https://blogs.msdn.com:443/biztalklatam/archive/2005/07/13/438487.aspx" target=_blank&gt;&lt;FONT face=Arial size=2&gt;anterior post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Y para aquellas personas que les gusta mantenerse al día de los artículos de soporte publicados por MS acerca de BizTalk Server pueden registrar en sus blogs este rss &lt;/FONT&gt;&lt;B&gt;&lt;FONT face=Arial&gt;http://support.microsoft.com/common/rss.aspx?rssid=1444&amp;amp;ln=en-us&lt;/FONT&gt;&lt;/B&gt;&lt;FONT face=Arial&gt; que los mantendrá actualizados.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=488373" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Entrenamiento+_2600_+Recursos+BTS+2004/default.aspx">Entrenamiento &amp; Recursos BTS 2004</category><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category></item><item><title>Artículos de KB en el sitio de soporte de MS (Septiembre)</title><link>http://blogs.msdn.com/biztalklatam/archive/2005/10/06/477876.aspx</link><pubDate>Thu, 06 Oct 2005 19:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:477876</guid><dc:creator>BizTalkLATAM</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/biztalklatam/comments/477876.aspx</comments><wfw:commentRss>http://blogs.msdn.com/biztalklatam/commentrss.aspx?PostID=477876</wfw:commentRss><description>&lt;P&gt;&lt;FONT face=Arial size=2&gt;Durante el mes de septiembre MS publicó algunos artículos de soporte para BizTalk Server 2004, estos articulo incluyen correcciones (FIX) o recomendaciones de funcionalidades para mejorar la implementación de nuestros procesos. A la fecha estos son los artículos publicados por MS:&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;You may receive a "Repository was locked on host" error message when you try to validate an EDI schema in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;904847&amp;amp;sd=rss&amp;amp;spid=1444" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/904847/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Fix: The rule engine may return incorrect values in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;905290&amp;amp;sd=rss&amp;amp;spid=1444" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/905290/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Fix: the XLANG engine may not report a failed DTC transaction and may not end the transaction in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;905830&amp;amp;sd=rss&amp;amp;spid=1444" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/905830/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Applications that use Enterprise Single Sign-On cannot log on to remote applications if the ENTSSO service cannot communicate with SSO credential database for 5 or more minutes&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;904702&amp;amp;sd=rss&amp;amp;spid=1444" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/904702/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;&lt;B&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Fix: The performance of a singleton orchestration that contains a Call Orchestration shape may decrease over time in BizTalk Server 2004&lt;/FONT&gt;&lt;/P&gt;&lt;/B&gt;
&lt;P&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;904950&amp;amp;sd=rss&amp;amp;spid=1444" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en ingles&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;. &lt;/FONT&gt;&lt;A href="http://support.microsoft.com/kb/904950/es" target=_blank&gt;&lt;FONT face=Arial size=2&gt;Articulo en español&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Cualquier duda que se tenga acerca del funcionamiento o rendimiento de nuestras aplicaciones en BizTalk Server 2004 podemos preguntar en el grupo de discusión news:microsoft.public.es.biztalk.server o ir directamente al centro de soporte tal como se explica en el &lt;/FONT&gt;&lt;a href="https://blogs.msdn.com:443/biztalklatam/archive/2005/07/13/438487.aspx" target=_blank&gt;&lt;FONT face=Arial size=2&gt;anterior post&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial size=2&gt;.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial size=2&gt;Y para aquellas personas que les gusta mantenerse al día de los artículos de soporte publicados por MS acerca de BizTalk Server pueden registrar en sus blogs este rss &lt;B&gt;http://support.microsoft.com/common/rss.aspx?rssid=1444&amp;amp;ln=en-us&lt;/B&gt; que los mantendrá actualizados.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;STRONG&gt;Autor&lt;/STRONG&gt;: &lt;STRONG&gt;&lt;FONT color=#ff9900&gt;Carlos Medina&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#a9a9a9&gt;&lt;FONT face=Arial size=1&gt;Este mensaje se proporciona "como está" sin garantías de ninguna clase, y no otorga ningún derecho&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=477876" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/biztalklatam/archive/tags/Base+de+Conocimiento+BTS+2004/default.aspx">Base de Conocimiento BTS 2004</category></item></channel></rss>