<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4464501935573158049</id><updated>2017-01-22T10:54:37.313-02:00</updated><category term="BizTalk"/><category term="Biztalk 2010"/><category term="Erros"/><category term="Biztalk 2006"/><category term="Schemas"/><category term="WCF"/><category term="Biztalk 2009"/><category term="Manutenção"/><category term="Administração"/><category term="Pipeline"/><category term="FILE Adapter"/><category term="Maps"/><category term="Utilitários"/><category term="Configuração"/><category term="PowerShell"/><category term="Instalação"/><category term="Orchestration"/><category term="WCF-Oracle"/><category term="WCF-SAP"/><category term="XML"/><category term="Comunidade"/><category term="Dinamica"/><category term="Monitorização"/><category term="Transformações"/><category term="BizTalk Server 2013"/><category term="Curso BizTalk"/><category term="Functoid"/><category term="LOB Adapter"/><category term="Deploy"/><category term="Documentação"/><category term="EDI"/><category term="HTTP Adapter"/><category term="Livros"/><category term="Pattern"/><category term="RFC"/><category term="SOAP Adapter"/><category term="WCF-BasicHttp"/><category term="WCF-SQL"/><category term="Certificado"/><category term="DB2 Adapter"/><category term="Developer"/><category term="Disassembler"/><category term="Envelope"/><category term="Exceptions"/><category term="IDOC"/><category term="MCTS"/><category term="MVP"/><category term="Off-Topic"/><category term="SQL Adapter"/><category term="Xpath"/><category term="Adaptadores"/><category term="Azure"/><category term="BRE"/><category term="BizTalk as PaaS"/><category term="Debug"/><category term="EDIFACT"/><category term="FTP Adapter"/><category term="IIS 7"/><category term="Mercado"/><category term="Oracle ODBC Adapter"/><category term="SAP Adapter"/><category term="SMTP Adapter"/><category term="UDDI"/><category term="VS2008"/><category term="hotfix"/><category term="Beta"/><category term="BizTalk Server 2013 R2"/><category term="EAI"/><category term="Fault Message"/><category term="Nuvem"/><category term="Service Bus"/><category term="VS2010"/><category term="Vídeos"/><category term="WWF"/><title type='text'>BizTalk Brasil</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Ruth Resende</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>198</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-2699782980300494142</id><published>2016-10-11T17:35:00.001-03:00</published><updated>2016-10-11T17:35:31.053-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="Documentação"/><category scheme="http://www.blogger.com/atom/ns#" term="Utilitários"/><title type='text'>COLECÇÃO Microsoft Integration Stencils para VISIO 2016/2013</title><content type='html'>&lt;p&gt;É bom estar de volta a este blog e a escrever em português após algum tempo de ausência. E desta vez para partilhar com vocês a minha nova colecção de stencils para Visio 2016 e 2013. Este pacote contém um conjunto de aproximadamente 911 símbolos/ícones que o irão ajudar a representar diagramas conceptuais com a visão geral das suas soluções, funcionalidades ou processos de integração usando BizTalk Server, Microsoft Azure e tecnologias relacionadas, assim como a arquitectura dos seus ambientes: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;BizTalk Server &lt;/li&gt;    &lt;li&gt;Microsoft Azure      &lt;ul&gt;       &lt;li&gt;BizTalk Services &lt;/li&gt;        &lt;li&gt;Azure App Service (API Apps, Web Apps, Mobile Apps, PowerApps and Logic Apps) &lt;/li&gt;        &lt;li&gt;Microsoft Flow &lt;/li&gt;        &lt;li&gt;Event Hubs &lt;/li&gt;        &lt;li&gt;Service Bus &lt;/li&gt;        &lt;li&gt;API Management, IoT and Docker &lt;/li&gt;        &lt;li&gt;Machine Learning, Stream Analytics, Data Factory, Data Pipelines &lt;/li&gt;        &lt;li&gt;and so on &lt;/li&gt;     &lt;/ul&gt;   &lt;/li&gt;    &lt;li&gt;PowerBI &lt;/li&gt;    &lt;li&gt;PowerShell &lt;/li&gt;    &lt;li&gt;And many more &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Este pacote é composto por 8 ficheiros: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Microsoft Integration Stencils v2.3 (406 Shapes) &lt;/li&gt;    &lt;li&gt;MIS Apps and Systems Logo Stencils v2.3 (109 shapes) &lt;/li&gt;    &lt;li&gt;MIS IoT Devices Stencils v2.3 (131 shapes) &lt;/li&gt;    &lt;li&gt;MIS Support Stencils v2.3 (108 shapes) &lt;/li&gt;    &lt;li&gt;MIS Servers and Hardware v2.3 (45 shapes) &lt;/li&gt;    &lt;li&gt;MIS Originals v2.3 (42 shapes) &lt;/li&gt;    &lt;li&gt;MIS Users v2.3 (40 shapes) &lt;/li&gt;    &lt;li&gt;MIS Devices v2.3 (30 shapes) &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Que você pode usar e redimensionar sem perder a qualidade. &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://lh3.googleusercontent.com/-1cOHoTIFmUQ/V_1NA-q8VAI/AAAAAAAAA6o/9QDYaL2Ht0E/s1600-h/Microsoft-Integration-Stencils-Pack-v2.3-new-shapes%25255B9%25255D.png&quot;&gt;&lt;img title=&quot;Microsoft-Integration-Stencils-Pack-v2.3-new-shapes&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;Microsoft-Integration-Stencils-Pack-v2.3-new-shapes&quot; src=&quot;https://lh3.googleusercontent.com/-cOANz4aFEpk/V_1NBq6b-5I/AAAAAAAAA6s/eQdZB4h0Zuw/Microsoft-Integration-Stencils-Pack-v2.3-new-shapes_thumb%25255B5%25255D.png?imgmax=800&quot; width=&quot;334&quot; height=&quot;134&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://lh3.googleusercontent.com/-yLbJbQrGvUw/V_1NCLUMndI/AAAAAAAAA6w/NIUrfgwSckI/s1600-h/MIS-Stencils-Pack-BizTalk-Server%25255B4%25255D.png&quot;&gt;&lt;img title=&quot;MIS-Stencils-Pack-BizTalk-Server&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;MIS-Stencils-Pack-BizTalk-Server&quot; src=&quot;https://lh3.googleusercontent.com/-0aXt6doG0-o/V_1NC7sZZEI/AAAAAAAAA60/yHG-cuGN5BI/MIS-Stencils-Pack-BizTalk-Server_thumb%25255B2%25255D.png?imgmax=800&quot; width=&quot;334&quot; height=&quot;146&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://lh3.googleusercontent.com/-f6GIUvEk6_4/V_1NDUc-ncI/AAAAAAAAA64/pUamVqNuxBs/s1600-h/MIS-Stencils-Pack-App-Services%25255B4%25255D.png&quot;&gt;&lt;img title=&quot;MIS-Stencils-Pack-App-Services&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;MIS-Stencils-Pack-App-Services&quot; src=&quot;https://lh3.googleusercontent.com/-TWWgsn4IWdw/V_1NDkaM-pI/AAAAAAAAA68/g0vu1PHcYes/MIS-Stencils-Pack-App-Services_thumb%25255B2%25255D.png?imgmax=800&quot; width=&quot;334&quot; height=&quot;141&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;https://lh3.googleusercontent.com/-OJsedXgPbM4/V_1NED6uFuI/AAAAAAAAA7A/qlCyIPK5Wm0/s1600-h/MIS-Stencils-Pack-Azure%25255B4%25255D.png&quot;&gt;&lt;img title=&quot;MIS-Stencils-Pack-Azure&quot; style=&quot;border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; display: block; padding-right: 0px; border-top-width: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;MIS-Stencils-Pack-Azure&quot; src=&quot;https://lh3.googleusercontent.com/-7OuCluTgQYg/V_1NEtIi4MI/AAAAAAAAA7E/vUr22mQgH7s/MIS-Stencils-Pack-Azure_thumb%25255B2%25255D.png?imgmax=800&quot; width=&quot;334&quot; height=&quot;135&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;Instruções:&lt;/h3&gt;  &lt;ul&gt;   &lt;li&gt;Descarregar o arquivo e copiar para a pasta &amp;quot; C:\Users\you_user\Documents\My Shapes&amp;quot; (que é a pasta padrão para as formas personalizados do Visio) &lt;/li&gt;    &lt;li&gt;Para acrescentar estas novas shapes, seleccione a partir da janela Shapes: More Shapes -&amp;gt; My Shapes -&amp;gt; Microsoft Integration Stencils v2.3” &lt;/li&gt;    &lt;li&gt;Repita o passo anterior para os restantes ficheiros &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Poderá obter esta shapes a através do Microsoft TechNet Gallery: &lt;a href=&quot;https://gallery.technet.microsoft.com/Collection-of-Integration-e6a3f4d0&quot; target=&quot;_blank&quot;&gt;Microsoft Integration Stencils Pack for Visio 2016/2013&lt;/a&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/2699782980300494142/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2016/10/coleccao-microsoft-integration-stencils.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2699782980300494142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2699782980300494142'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2016/10/coleccao-microsoft-integration-stencils.html' title='COLECÇÃO Microsoft Integration Stencils para VISIO 2016/2013'/><author><name>Sandro Pereira</name><uri>http://www.blogger.com/profile/09569531933702984523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-1lsezKYlZqE/TjawDZJstsI/AAAAAAAAAC0/ZrQCoMJzdBU/s220/_DSC2075-vi.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh3.googleusercontent.com/-cOANz4aFEpk/V_1NBq6b-5I/AAAAAAAAA6s/eQdZB4h0Zuw/s72-c/Microsoft-Integration-Stencils-Pack-v2.3-new-shapes_thumb%25255B5%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-932195550001710502</id><published>2016-07-06T16:41:00.001-03:00</published><updated>2016-07-06T16:42:09.174-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Schemas"/><title type='text'>VERMAS D16A XSD for BizTalk Server 2013 R2</title><content type='html'>O VERMAS é uma nova mensagem EDIFACT, criada pela UNECE para atender a definição do SOLAS de que todo container cheio antes de embarcar deve ser pesado e informado aos responsáveis pelo planejamento do Navio.&lt;br /&gt;&lt;br /&gt;Então a UNECE publicou no dia 13/06/2016 a Guia de Implementação final da versão VERMAS D16A.&lt;br /&gt;&lt;br /&gt;A questão é que como tudo é muito novo o Biztalk Server não tem schema criado para suportar esse novo mapa e poder trabalhar com essa mensagem.&lt;br /&gt;&lt;br /&gt;Então por isso, baseado &lt;a href=&quot;http://www.smdg.org/assets/assets/VERMAS-10.pdf&quot; target=&quot;_blank&quot;&gt;nessa versão&lt;/a&gt;, criamos um schema EFACT_D16A_VERMAS que é aceito e reconhecido pelo BizTalk.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: &amp;quot;trebuchet ms&amp;quot; , &amp;quot;trebuchet&amp;quot; , sans-serif; font-size: 14.3px; line-height: 20.8px;&quot;&gt;Você pode fazer o download dessa versão no MSDN Code Gallery aqui:&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;https://code.msdn.microsoft.com/VERMAS-D16A-XSD-for-d5d8f663&quot; target=&quot;_blank&quot;&gt;VERMAS D16A XSD for BizTalk Server 2013 R2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Depois de publicar o schema no seu projeto, podemos configurar o EDIFACT Agreement normalmente:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://4.bp.blogspot.com/-P5fHY64QKJM/V31elVf3t_I/AAAAAAAAIVs/SVh3mKCIid4ju7kS6z-f-K2ZsF_k7-K1ACLcB/s1600/Vermas.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;330&quot; src=&quot;https://4.bp.blogspot.com/-P5fHY64QKJM/V31elVf3t_I/AAAAAAAAIVs/SVh3mKCIid4ju7kS6z-f-K2ZsF_k7-K1ACLcB/s400/Vermas.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://4.bp.blogspot.com/--27mZOamCNU/V31elTcS48I/AAAAAAAAIVo/gbwu0HJnQxQNerMqoyk9TvTshFC5s-14ACLcB/s1600/Vermas2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;332&quot; src=&quot;https://4.bp.blogspot.com/--27mZOamCNU/V31elTcS48I/AAAAAAAAIVo/gbwu0HJnQxQNerMqoyk9TvTshFC5s-14ACLcB/s400/Vermas2.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/932195550001710502/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2016/07/vermas-d16a-xsd-for-biztalk-server-2013.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/932195550001710502'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/932195550001710502'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2016/07/vermas-d16a-xsd-for-biztalk-server-2013.html' title='VERMAS D16A XSD for BizTalk Server 2013 R2'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-P5fHY64QKJM/V31elVf3t_I/AAAAAAAAIVs/SVh3mKCIid4ju7kS6z-f-K2ZsF_k7-K1ACLcB/s72-c/Vermas.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-4838264597072202907</id><published>2016-05-25T13:34:00.001-03:00</published><updated>2016-05-25T13:57:00.558-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Schemas"/><title type='text'>BAPLIE 1911 XSD for BizTalk Server 2013 R2</title><content type='html'>Ola Pessoal  BAPLIE é um tipo de mensagem no formato EDIFACT utilizado para ajudar a planejar o embarque do navio.&lt;br /&gt;&lt;br /&gt;Então nessa mensagem tem informações sobre tudo o que é referente ao navio, como: número do container, o tipo, tamanho e peso, qual a carga que contem aquele container e por ai vai.&lt;br /&gt;&lt;br /&gt;A versão mais utilizada no mercado é a D95B, e a documentação dessa versão pode ser encontrado no site oficial da&amp;nbsp;&lt;a href=&quot;http://www.unece.org/trade/untdid/d95b/trmd/baplie_c.htm&quot;&gt;UNECE&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Porém muitos terminais ainda utilizam a versão 1911, que não existe nenhum tipo de documentação oficial.&lt;br /&gt;&lt;br /&gt;Consequentemente o BizTalk não suporta essa versão, por padrão não consegue ler esse tipo de mensagem.&lt;br /&gt;&lt;br /&gt;Então para atender ao processo, foi necessário criarmos um schema XSD que se adequasse ao arquivo enviado, que pudesse ser lido pelo BizTalk.&lt;br /&gt;Essa versão não é oficial e talvez tenha que ser feitos ajustes para cada caso.&lt;br /&gt;&lt;br /&gt;Espero que possa ajudar!&lt;br /&gt;&lt;br /&gt;Você pode fazer o download dessa versão no MSDN Code Gallery aqui:&lt;br /&gt;&lt;a href=&quot;https://code.msdn.microsoft.com/BAPLIE-1911-XSD-for-a91702f9&quot; target=&quot;_blank&quot;&gt;BAPLIE 1911 XSD for BizTalk Server 2013 R2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;br /&gt;&lt;br /&gt;E você? Já ajudou a comunidade hoje?</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/4838264597072202907/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2016/05/baplie-1911-xsd-for-biztalk-server-2013.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/4838264597072202907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/4838264597072202907'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2016/05/baplie-1911-xsd-for-biztalk-server-2013.html' title='BAPLIE 1911 XSD for BizTalk Server 2013 R2'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-4129490629313135080</id><published>2016-02-18T15:39:00.001-02:00</published><updated>2016-09-15T10:26:25.100-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Curso BizTalk"/><title type='text'>Modulo 3 - Criando um mapa no BizTalk</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Na maioria das Integrações entre Sistemas será necessário criar uma mensagem a partir de uma outra.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Por exemplo: Ao receber uma mensagem representando um pedido, eu preciso verificar se o produto realmente existe. O que envolve banco de dados e execução de procedures.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Existem várias formas de atingir esse objetivo, e um deles é criando um mapeamento entre as mensagens.&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;BizTalk Map&lt;/h3&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;BizTalk Mapper:&lt;/b&gt; Ferramenta visual que faz parte do pacote do Visual Studio, utilizado para contruir os mapas, que define as transformações de dados.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Transformação de Dados&lt;/b&gt;: Processo de transformar um documento XML baseado em um schema de entrada em outro documento XML completamente diferente.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;BizTalk Map:&lt;/b&gt; Arquivo .btm que vai executar o mapeamento propriamente dito. É baseado na linguagem de mercado &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;XML Extensible Stylesheet Language Transformations (XSLT).&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt;  &lt;w:View&gt;Normal&lt;/w:View&gt;  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;  &lt;w:TrackMoves/&gt;  &lt;w:TrackFormatting/&gt;  &lt;w:PunctuationKerning/&gt;  &lt;w:ValidateAgainstSchemas/&gt;  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;  &lt;w:DoNotPromoteQF/&gt;  &lt;w:LidThemeOther&gt;EN-US&lt;/w:LidThemeOther&gt;  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;  &lt;w:Compatibility&gt;   &lt;w:BreakWrappedTables/&gt;   &lt;w:SnapToGridInCell/&gt;   &lt;w:WrapTextWithPunct/&gt;   &lt;w:UseAsianBreakRules/&gt;   &lt;w:DontGrowAutofit/&gt;   &lt;w:SplitPgBreakAndParaMark/&gt;   &lt;w:EnableOpenTypeKerning/&gt;   &lt;w:DontFlipMirrorIndents/&gt;   &lt;w:OverrideTableStyleHps/&gt;  &lt;/w:Compatibility&gt;  &lt;m:mathPr&gt;   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;   &lt;m:brkBin m:val=&quot;before&quot;/&gt;   &lt;m:brkBinSub m:val=&quot;--&quot;/&gt;   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;   &lt;m:dispDef/&gt;   &lt;m:lMargin m:val=&quot;0&quot;/&gt;   &lt;m:rMargin m:val=&quot;0&quot;/&gt;   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;   DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;   LatentStyleCount=&quot;267&quot;&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;    UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt; &lt;/w:LatentStyles&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;&lt;style&gt; /* Style Definitions */  table.MsoNormalTable  {mso-style-name:&quot;Table Normal&quot;;  mso-tstyle-rowband-size:0;  mso-tstyle-colband-size:0;  mso-style-noshow:yes;  mso-style-priority:99;  mso-style-parent:&quot;&quot;;  mso-padding-alt:0in 5.4pt 0in 5.4pt;  mso-para-margin:0in;  mso-para-margin-bottom:.0001pt;  mso-pagination:widow-orphan;  font-size:10.0pt;  font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;} &lt;/style&gt;&lt;![endif]--&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;Extensible Stylesheet Language Transformations (XSLT)&lt;/span&gt;&lt;/b&gt;: Linguagem de tranformação entre dois documentos definido pelo World Wide Web Consortium (WC3).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;b&gt;Tradução de Dados:&lt;/b&gt; Caso especial de Transformação de dados, tipicamente usado quando envolve transformação do formato da mensagem de XML para EDI ou Flat File. Um exemplo pratico é a função do pipeline que setamos na receive e/ou send port.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;b&gt;Functoids:&lt;/b&gt; Pedaços de código em XLST ou C# para facilitar visualmente a transformação dos dados entre dois documentos.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;Criando um &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;M&lt;/span&gt;apa &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;utilizando&lt;/span&gt; o BizTalk Mapper&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;A ferramenta BizTalk Mapper, que é integrada ao Visual Studio irá iniciar automaticamente quando criarmos um novo mapa ou adicionarmos um mapa existente (Arquivo *.btm) &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;dentro do projeto&lt;/span&gt;. Ao criar um novo mapa, devemos especificar o schema de origem e o schema de destino que devem &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;fazer parte do mesmo projeto ou ser &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;referenciado &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;em uma dll.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Ga3WICdrmuE/VktbNh5EI9I/AAAAAAAAHJo/ItqbfH4Ca0w/s1600/Mapa1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;463&quot; src=&quot;https://4.bp.blogspot.com/-Ga3WICdrmuE/VktbNh5EI9I/AAAAAAAAHJo/ItqbfH4Ca0w/s640/Mapa1.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&amp;nbsp;Ao &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;abrir u&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;m novo mapa &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;no BizTalk Mapper temos esses 3 paineis.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;Painel do Schema de Entr&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;ada&lt;/b&gt; - Onde será seta&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;do o sc&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;hema de or&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;igem, a mensagem de entrada que va&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;i ser transformada.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;Painel do Grid do Ma&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;p&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;a&lt;/b&gt; - Mostr&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;a os links e os functoids que ir&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;ão control&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;ar como a mensagem de origem será trans&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;formada na mensagem de &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;destino.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;Painel do&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt; Sc&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;hema de Sa&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;b&gt;ida &lt;/b&gt;- Onde s&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;erá&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; setado o schema de sa&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;ída, a mensagem de dest&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;ino. Será o nosso resultado final.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;É importante sabermos &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;que&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt; o mapa é &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;na verdade escrito em linguagem X&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;SLT, &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;o&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt; que nos permite uma grande liberdade na hora de criar trans&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;formações customizad&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;as.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;; font-size: 11pt;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;Recomendo for&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;te&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;mente a leitura &lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/03/biztalk-server-principios-basicos-dos.html&quot; target=&quot;_blank&quot;&gt;d&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/03/biztalk-server-principios-basicos-dos.html&quot; target=&quot;_blank&quot;&gt;este artigo&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;, &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;do grande Sandro Pereira, que tra&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;z&lt;/span&gt; uma &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;explicação mais detalh&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;ada sobre &lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;a construção dos mapas&lt;span style=&quot;font-family: &amp;quot;calibri&amp;quot; , &amp;quot;sans-serif&amp;quot;;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/4129490629313135080/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2016/02/criando-um-mapa-no-biztalk.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/4129490629313135080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/4129490629313135080'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2016/02/criando-um-mapa-no-biztalk.html' title='Modulo 3 - Criando um mapa no BizTalk'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://4.bp.blogspot.com/-Ga3WICdrmuE/VktbNh5EI9I/AAAAAAAAHJo/ItqbfH4Ca0w/s72-c/Mapa1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-9215392660357618490</id><published>2014-10-02T11:32:00.001-03:00</published><updated>2014-10-02T11:32:52.291-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk Server 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Developer"/><category scheme="http://www.blogger.com/atom/ns#" term="Livros"/><category scheme="http://www.blogger.com/atom/ns#" term="Maps"/><category scheme="http://www.blogger.com/atom/ns#" term="Transformações"/><title type='text'>BizTalk Mapping Patterns and Best Practices – O livro está disponível para download gratuito</title><content type='html'>&lt;p&gt;Sandro Pereira anunciou durante o evento BizTalk Innovation Day Oslo, que ocorreu no passado dia 25 de Setembro, o lançamento e disponibilidade do livro &quot;BizTalk Mapping Patterns and Best Practices&quot; de forma gratuita, uma livro com aproximadamente 400 páginas com vários exemplos práticos e dicas para programadores desenvolver os seus mapas de uma forma mais eficaz, robustos e organizados. &lt;/p&gt; &lt;p&gt;&lt;a href=&quot;http://lh6.ggpht.com/-vmd_vwosNFw/VC1iDlSalmI/AAAAAAAAA3o/CLdk4BDl0vU/s1600-h/BizTalk-Mapping-Patterns-And-Best-Practices%25255B5%25255D.png&quot;&gt;&lt;img title=&quot;BizTalk-Mapping-Patterns-And-Best-Practices&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;BizTalk-Mapping-Patterns-And-Best-Practices&quot; src=&quot;http://lh3.ggpht.com/-Rw0UpCKKq6g/VC1iEuWvUnI/AAAAAAAAA3w/02EJC9sid-k/BizTalk-Mapping-Patterns-And-Best-Practices_thumb%25255B1%25255D.png?imgmax=800&quot; width=&quot;174&quot; height=&quot;244&quot;&gt;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Autor&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;Sandro Pereira &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Descrição do livro&lt;/strong&gt; &lt;/p&gt; &lt;p&gt;O livro &quot;BizTalk Mapping Patterns and Best Practices&quot; é um guia prático cheio de receitas e cenários reais que podem ser usados ​​como um guia de referência para seu trabalho do dia-a-dia e destinado principalmente para programadores de BizTalk. O foco técnico do livro vai faze-lo menos aplicável para arquitetos ou administradores de BizTalk pois obriga a um conhecimento técnico mais profundo, mas poderá ser útil para eles de forma a garantir que sua equipe implemente algumas boas práticas de desenvolvimento permitindo uma maior eficácia, robustez, organização e uma melhor documentação dos seus mapas. &lt;p&gt;Este livro requer que o leitor tenha um conhecimento básico de BizTalk Server e Visual Studio. Destinado principalmente para programadores de BizTalk de nível intermédio e avançado, e que tenha experiência anterior no desenvolvimento de mapas de BizTalk por forma a que possam aprender alguns novos truques ou poderem melhorar o seu já extenso conhecimento. Mas, como todas as exemplos e padrões presentes neste livro são muito detalhados e o mesmo contêm um capítulo para descrever os princípios básicos dos mapas, o livro também pode ser usado por programadores que estão a começar a sua atividade em projetos de BizTalk. &lt;p&gt;Com este livro você pode ganhar alguns insights sobre como as transformações podem ser realizadas, quais são os padrões mais comuns e como funcionam os Mapas e você pode usar este livro como um guia de referência para suas transformações do dia-a-dia. &lt;p&gt;Padrões abordados: &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Direct Translation Pattern &lt;li&gt;Data Translation Pattern &lt;li&gt;Content Enricher Pattern &lt;li&gt;Aggregator Pattern &lt;li&gt;Content Filter Pattern &lt;li&gt;Splitter Pattern &lt;li&gt;Grouping Pattern &lt;li&gt;Sorting Pattern &lt;li&gt;Conditional Pattern &lt;li&gt;Looping Pattern &lt;li&gt;Canonical Data Model Pattern &lt;li&gt;Name-Value Transformation Pattern &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;Revisores Técnicos &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Steef-Jan Wiggers, Nino Crudele, Michael Stephenson e José António Silva &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;Saiba mais sobre o livro e descarregue a sua copia de forma gratuita aqui: &lt;a href=&quot;http://www.biztalk360.com/biztalk-mapping-patterns/&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;http://www.biztalk360.com/biztalk-mapping-patterns/&lt;/strong&gt;&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/9215392660357618490/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/10/biztalk-mapping-patterns-and-best.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/9215392660357618490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/9215392660357618490'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/10/biztalk-mapping-patterns-and-best.html' title='BizTalk Mapping Patterns and Best Practices – O livro está disponível para download gratuito'/><author><name>Sandro Pereira</name><uri>http://www.blogger.com/profile/09569531933702984523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-1lsezKYlZqE/TjawDZJstsI/AAAAAAAAAC0/ZrQCoMJzdBU/s220/_DSC2075-vi.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/-Rw0UpCKKq6g/VC1iEuWvUnI/AAAAAAAAA3w/02EJC9sid-k/s72-c/BizTalk-Mapping-Patterns-And-Best-Practices_thumb%25255B1%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-510270169400778013</id><published>2014-09-18T11:29:00.001-03:00</published><updated>2014-09-18T11:32:56.400-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Curso BizTalk"/><title type='text'>Modulo 2 – Criando Schemas XML e Flat File</title><content type='html'>No Biztalk podemos criar um schema XSD de várias formas:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Criar um schema sem uma instancia da mensagem. &lt;/li&gt;&lt;li&gt;Criar um schema através de uma instancia bem formada de XML. &lt;/li&gt;&lt;li&gt;Utilizar o Wizard para criar schemas de um arquivo Flat File (txt). &lt;/li&gt;&lt;li&gt;Utilizar o Wizard para consumir um serviço WCF e criar o respectivo schema. &lt;/li&gt;&lt;li&gt;Importar ao projeto um schema, arquivo xsd, já pronto, como no caso dos schemas EDI. &lt;/li&gt;&lt;/ol&gt;Ao longo desses anos, postamos aqui no blog vários exemplos de como criar esses tipos de schema:&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Flat File&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2014/09/criando-schema-flat-file.html&quot;&gt;Criar schema Flat File Posicional&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/05/biztalk-server-transformar-arquivos-de_30.html&quot;&gt;Criar schema Flat File baseado em símbolos&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;SQL Adapter&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2009/11/trabalhando-com-biztalk-sql-adapter-e.html&quot;&gt;Criando schema do SQL Adapter através de procedure&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2011/10/como-inserir-pedido-e-seus-items-com-o.html&quot;&gt;Criando schema do SQL Adapter com Updategram&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;WCF-SAP &lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2011/06/como-receber-mensagens-do-sap-partir-de.html&quot;&gt;Criando schema RFC Destination&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;WCF-SQL&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2014/06/criar-schema-para-procedure-com-for-xml.html&quot;&gt;Criando Schema WCF-SQL procedure FOR XML&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/03/criando-schema-procedure-receive-port.html&quot;&gt;Criando schema Procedure na ReceivePort&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/06/inserindo-varios-registros-com.html&quot;&gt;Inserir Varios registros com procedure na SendPort&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/03/como-fazer-debatching-com-wcf-sql.html&quot;&gt;Como fazer debatching na Receive Port&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;WCF-Oracle&lt;/h3&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/05/criando-schemas-com-o-wcf-oracledb.html&quot;&gt;Criando schemas&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/05/criando-procedure-tipada-no-oraclewcf.html&quot;&gt;Criando procedure Tipada&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/05/configurando-receive-port-polling-do.html&quot;&gt;Configurando Receive Port&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;EDI&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Os schemas dos arquivos no padrão EDI já vem pré-instalados junto com o BizTalk.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Então para utiliza-los basta executar o arquivo MicrosoftEdiXSDTemplates.exe, que irá descompactar os schemas e criar uma pasta com o mesmo nome do seguinte diretório:&lt;/div&gt;&lt;blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;C:\Program Files (x86)\Microsoft BizTalk Server 2013\XSD_Schema\EDI&lt;/div&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Dentro dessa pasta vamos encontrar todos os schemas que o BizTalk suporta. A partir daí, basta copiar e adicioná-los ao nosso projeto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: justify;&quot;&gt;Testando os Schemas&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://www.biztalkbrasil.com.br/2014/09/criando-e-testando-schemas-biztalk.html&quot;&gt;Criar e Testar schemas a partir de uma Instancia XML.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nesse artigo vimos como criar vários tipos de schemas.&lt;br /&gt;&lt;br /&gt;Até a próxima.&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/510270169400778013/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/09/modulo-2criando-schemas-xml-e-flat-file.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/510270169400778013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/510270169400778013'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/09/modulo-2criando-schemas-xml-e-flat-file.html' title='Modulo 2 – Criando Schemas XML e Flat File'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-202824329866255807</id><published>2014-09-18T10:59:00.001-03:00</published><updated>2014-09-18T11:06:41.719-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Schemas"/><category scheme="http://www.blogger.com/atom/ns#" term="XML"/><title type='text'>Criando e Testando Schemas BizTalk Editor</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;No BizTalk podemos criar schemas de várias maneiras, nesse artigo vou demonstrar como criar um schema a partir de um XML bem formado e utilizando o BizTalk Schema Editor.&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Criando Schema a Partir de uma Instancia XML&lt;/h3&gt;&lt;br /&gt;Vamos considerar a seguinte Instancia de XML&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;  &lt;br /&gt;&lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   1:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Root&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;xmlns:ns0&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;http://CriandoSchemas.schInstanciaXML&quot;&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   2:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Funcionarios&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   3:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Codigo&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Codigo&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   4:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Nome&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Ruth Resende&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Nome&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   5:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Cargo&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Analista de Sistemas&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Cargo&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   6:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Funcionarios&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   7:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Root&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;1 - Salve esse arquivo em algum diretório.&lt;br /&gt;&lt;br /&gt;2 - Crie um projeto de BizTalk &lt;br /&gt;&lt;br /&gt;3 - Clique com o botão direito em cima do Projeto e em &lt;strong&gt;Add&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Add Generated Items&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;4 - No painel esquerdo clique em &lt;strong&gt;Generate Schemas&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Generate Schemas&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-Y-uBShX2H8U/VBrkuHGvgCI/AAAAAAAAFaU/_ENPsCZyyPY/s1600-h/image%25255B4%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-HUFmE-tTn1w/VBrkv4K1lsI/AAAAAAAAFac/hQIoOVaJdKE/image_thumb%25255B2%25255D.png?imgmax=800&quot; height=&quot;327&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;528&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;5 - Clique em &lt;strong&gt;Add&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;6 - Em &lt;strong&gt;Document type&lt;/strong&gt;, escolha &lt;strong&gt;Well-Formed XML&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;7 - Em &lt;strong&gt;Input file&lt;/strong&gt;, procure o arquivo XML.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-Uc9V8vOjXNE/VBrkxUi6XiI/AAAAAAAAFak/DBHNAKlvAwM/s1600-h/image%25255B8%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-EsSIkuCdEsc/VBrkzB9Dl9I/AAAAAAAAFas/cw8HAt68EIc/image_thumb%25255B4%25255D.png?imgmax=800&quot; height=&quot;375&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;491&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;8 - Clique em &lt;strong&gt;OK&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Segue o Schema criado a partir da mensagem.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-hfin-svr5no/VBrk0xYwG1I/AAAAAAAAFa0/FEX-QCf3p40/s1600-h/image%25255B13%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-wNojNwmy4WA/VBrk2qLAhfI/AAAAAAAAFa8/ceqf9GwNbTU/image_thumb%25255B7%25255D.png?imgmax=800&quot; height=&quot;220&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;628&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Criando schema pelo Biztalk Editor&lt;/h3&gt;&lt;br /&gt;1 - Vamos criar o mesmo schema, mas na munheca usando o&lt;strong&gt; BizTalk Schema Editor&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;2 - Clique com o botão direito em cima do Projeto e em &lt;strong&gt;Add&lt;/strong&gt; –&amp;gt; &lt;strong&gt;New Item&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;3 – Escolha a opção Schema e de um nome para o arquivo. Nesse caso nomeei schFuncionario.xsd&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-B9Bk0CTb9Ug/VBrk4eG7-FI/AAAAAAAAFbE/M6zDIWEgL9k/s1600-h/image%25255B17%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-rDeQw5niUkQ/VBrk5wYnoTI/AAAAAAAAFbM/JPxQ18g2tDU/image_thumb%25255B9%25255D.png?imgmax=800&quot; height=&quot;302&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;488&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4 – Clique em &lt;strong&gt;Add&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Como podemos notar o arquivo foi criado, ele tem um Root Node que por padrão é chamado de Root (o que pode ser alterado) e também foi dado um Namespace padrão pra ele ( o que também pode ser alterado).&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;5 – Clique com o botão direito em cima do &lt;strong&gt;Root Node&lt;/strong&gt; e em &lt;strong&gt;Insert Schema Node&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Child Record&lt;/strong&gt;.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-4g63WR7gXF8/VBrk7BnWktI/AAAAAAAAFbU/RIps4f3I5Bc/s1600-h/image%25255B21%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-6k7fojqi4Ls/VBrk83pkSVI/AAAAAAAAFbc/iRED0YObT1A/image_thumb%25255B11%25255D.png?imgmax=800&quot; height=&quot;233&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;462&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Esse Node, é criado quando queremos agrupar informações (campos), que podem ou não se repetir.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;6 – Coloque o nome de Funcionarios.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Cada Node do Schema tem suas próprias propriedades. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;7 – Clique no Node Funcionarios e na Opção Max Occurs, coloque um ‘&lt;strong&gt;*’ &lt;/strong&gt;(asterisco) , ou escreva &lt;strong&gt;unbounded&lt;/strong&gt;.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-qZBefJMNY-s/VBrk_I0dnyI/AAAAAAAAFbk/dBZdDe4qjTk/s1600-h/image%25255B25%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-Wc_N1a63pmk/VBrlAuW2LcI/AAAAAAAAFbs/G6Dn-S5zcsA/image_thumb%25255B13%25255D.png?imgmax=800&quot; height=&quot;214&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;453&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Isso indica que o Node Funcionarios pode se repetir infinitamente.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;8 – Clique com o botão direito no &lt;strong&gt;Node Funcionarios&lt;/strong&gt; e em &lt;strong&gt;Insert Schema Node&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Child Field Element&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Essa opção &lt;strong&gt;Child Field Element&lt;/strong&gt; criará um elemento abaixo do &lt;strong&gt;Node Funcionarios&lt;/strong&gt;. Para criar um atributo basta escolher &lt;strong&gt;Child Field Atributte&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;9 –&lt;strong&gt; &lt;/strong&gt;Coloque o Nome do Campo de &lt;strong&gt;Codigo.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;10 – Repita o passo 8 e 9 para os campos &lt;strong&gt;Nome&lt;/strong&gt; e &lt;strong&gt;Cargo&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;11 – Salve o Schema.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-XzpunCpQlvE/VBrlBnpMy1I/AAAAAAAAFb0/R-CFZ2QkP_0/s1600-h/image%25255B30%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-cYZZ6LNZm60/VBrlDUIlklI/AAAAAAAAFb8/xSerR-_b7Sg/image_thumb%25255B16%25255D.png?imgmax=800&quot; height=&quot;265&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;340&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Gerando uma Intancia XML do Schema&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;É possível gerar um modelo do Schema e para verificar como deveriamos receber a mensagem do BizTalk.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;1 – Clique com o botão direiro em cima do schema &lt;strong&gt;schFuncionario.xsd&lt;/strong&gt; e em &lt;strong&gt;Generate Instance.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Isso irá criar uma Instancia do XML daquele Schema.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;2 – Para visualizar a Instancia criada, visualize no Painel Inferior do Visual Studio, janela Output, o link com o caminho do XML. Com a tecla CTRL pressionada, clique nesse link.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;O Visual Studio mostra o arquivo em um tipo de Pagina Html, a qual não conseguimos fazer qualquer tipo de alteração com o arquivo.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-475SV5nCcNs/VBrlFL9fgaI/AAAAAAAAFcE/tU93CyMuhzE/s1600-h/image%25255B35%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-hTJyYmlvCY8/VBrlGyeFjeI/AAAAAAAAFcM/t3xEufY9AdE/image_thumb%25255B19%25255D.png?imgmax=800&quot; height=&quot;289&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;478&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;3 – Em cima do text em XML, clique com o botão direito e em &lt;strong&gt;View Source&lt;/strong&gt;. Agora sim o arquivo poderá ser editado.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-64EmnOmV2gE/VBrlIMjW-EI/AAAAAAAAFcU/mxLQC1Zy10M/s1600-h/image%25255B40%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh4.ggpht.com/-R_VMYqG7EX4/VBrlJ_bKMaI/AAAAAAAAFcc/ln7zanvgDdo/image_thumb%25255B22%25255D.png?imgmax=800&quot; height=&quot;258&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;484&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Testando a Instancia de XML contra o Schema&lt;/h3&gt;O BizTalk disponibiliza alguns recursos muito úteis quando queremos testar e ver se uma determinada instancia de XML combina com o schema que temos.&lt;br /&gt;&lt;br /&gt;1 – Clique no schema &lt;strong&gt;schFuncionario.xsd&lt;/strong&gt; e configure as seguinte propriedades:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Generate Instance Output Type&lt;/b&gt; – &lt;strong&gt;XML&lt;/strong&gt; ou &lt;strong&gt;Native. &lt;/strong&gt;Essa propriedade configura o tipo de saida dessa mensagem, se for &lt;strong&gt;Native&lt;/strong&gt;, a saída será em TXT ou EDI, e XML será em XML mesmo.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Input Instance FileName&lt;/b&gt; – Aponte uma instancia do XML que precisa ser testada.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Output Instance FileName&lt;/b&gt; – Apontar um caminho de saida da mensagem.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Validate Instance Input Type&lt;/b&gt; – &lt;strong&gt;XML&lt;/strong&gt; ou &lt;strong&gt;Native. &lt;/strong&gt;Essa propiedade configura o tipo de Entrada que queremos testar. &lt;strong&gt;Native&lt;/strong&gt; pode ser Txt ou EDI.&lt;/li&gt;&lt;/ul&gt;&lt;a href=&quot;http://lh4.ggpht.com/-WD6sJPr_AsQ/VBrlLRG47tI/AAAAAAAAFck/ee_yQVHGWIc/s1600-h/image%25255B44%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-_asRkve8JuI/VBrlMxrVoEI/AAAAAAAAFcs/2hQ6qrrkXME/image_thumb%25255B24%25255D.png?imgmax=800&quot; height=&quot;293&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;259&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2 – Clique com o botão direito no Schema&amp;nbsp; e em &lt;strong&gt;Validate Instance.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;O BizTalk vai validar a Instancia e o resultado vai aparecer na tela &lt;strong&gt;Output&lt;/strong&gt; do Visual Studio, que normalmente fica no Painel inferior.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-ocL2NhajHfU/VBrlPomCgvI/AAAAAAAAFc0/0P5U4wCXhVo/s1600-h/image%25255B48%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-DM5hOsOjkHE/VBrlSGVTQEI/AAAAAAAAFc8/GNQeKONJv2Q/image_thumb%25255B26%25255D.png?imgmax=800&quot; height=&quot;277&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;416&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Nesse meu caso deu erro porque o Namespace da minha Instancia está errado.&lt;br /&gt;&lt;br /&gt;Alterando o Namespace da minha Instancia&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-wkjBmYvlTaY/VBrlUK56ifI/AAAAAAAAFdE/CnNb8YbBHwg/s1600-h/image%25255B52%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-gctvln7TpU4/VBrlWGOr-NI/AAAAAAAAFdM/Wnn0tpHe9Kw/image_thumb%25255B28%25255D.png?imgmax=800&quot; height=&quot;274&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;422&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Hoje vimos como criar schemas a partir de Instancias de XML, como também Criar Schemas utilizando o Biztalk Schema Editor além de gerar uma Instancia e testar o Schema.&lt;/div&gt;&lt;br /&gt;Até a próxima.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/202824329866255807/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/09/criando-e-testando-schemas-biztalk.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/202824329866255807'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/202824329866255807'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/09/criando-e-testando-schemas-biztalk.html' title='Criando e Testando Schemas BizTalk Editor'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/-HUFmE-tTn1w/VBrkv4K1lsI/AAAAAAAAFac/hQIoOVaJdKE/s72-c/image_thumb%25255B2%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-6404544178434724722</id><published>2014-09-17T14:47:00.001-03:00</published><updated>2014-09-17T14:59:29.648-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FILE Adapter"/><category scheme="http://www.blogger.com/atom/ns#" term="Schemas"/><title type='text'>Criando Schema Flat File Posicional</title><content type='html'>Vamos imaginar que precisamos criar schemas para receber um arquivo Flat File do tipo posicional.&lt;br /&gt;Como esse:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-M4NKxxbm8EU/VBnIYqBmBDI/AAAAAAAAFVM/N8y7S92-i8c/s1600-h/image%25255B4%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-kQKd-AjCzZo/VBnIaGaR5ZI/AAAAAAAAFVU/FJjWvtif1po/image_thumb%25255B2%25255D.png?imgmax=800&quot; height=&quot;104&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;333&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Então o arquivo tem um cabeçalho, e o corpo como texto. &lt;br /&gt;&lt;br /&gt;Esse arquivo contem 3 campos:&lt;br /&gt;&lt;br /&gt;CODIGO – Posicao 0 a 6&lt;br /&gt;PRODUTO – Posicao 7 a 20&lt;br /&gt;QUANTIDADE – Posicao 21 a 30&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Importando o Schema&lt;/span&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;Crie um projeto do tipo Biztalk.&lt;br /&gt;Esse arquivo vai se dividir em dois schemas, um representando o Header e o outro representando o Body.&lt;br /&gt;1 - Clique com o botão direito em cima do projeto e em &lt;strong&gt;Add&lt;/strong&gt; –&amp;gt;; &lt;strong&gt;New Item&lt;/strong&gt;. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-MuTN7r76dBU/VBnIbbjcnRI/AAAAAAAAFVc/gEJWkX-bkz4/s1600-h/image%25255B32%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-ScJxdwBfg40/VBnIciUarAI/AAAAAAAAFVk/Lk2Qalol_J4/image_thumb%25255B16%25255D.png?imgmax=800&quot; height=&quot;347&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;515&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;2 - Escolha a opção &lt;strong&gt;Flat File Schema Wizard&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;3 - De um nome para o schema, aqui usei o &lt;strong&gt;schHeaderProduto.xsd.&lt;/strong&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;4 - Clique em &lt;strong&gt;Add&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;5 - A tela BizTalk &lt;strong&gt;Flat File Schema Wizard&lt;/strong&gt; vai aparecer. Clique em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;6 - No campo Instance file, procure a instancia do Arquivo que queremos importar.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;7 - No campo Record Name, esse vai ser o Root do nosso schema. Nesse caso, coloquei Header.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;8 - No campo Target namespace, podemos escolher o Namespace que o schema terá. Como o arquivo do Body deverá ter o mesmo namespace que o arquivo do Header, coloquei o valor &lt;a href=&quot;http://biztalk_server_project1.schproduto/&quot; title=&quot;http://BizTalk_Server_Project1.schProduto&quot;&gt;http://BizTalk_Server_Project1.schProduto&lt;/a&gt;&amp;nbsp;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;9 - No campo Code Page, deixei o &lt;strong&gt;UTF-8&lt;/strong&gt; que é o padrão. Porém se o arquivo contiver caracteres especiais sugiro escolher o &lt;strong&gt;Western-European (1252). &lt;/strong&gt;Pois podemos ter problemas como descrito &lt;a href=&quot;http://www.biztalkbrasil.com.br/2009/10/resolvendo-problema-de-caracteres.html&quot;&gt;aqui&lt;/a&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://lh6.ggpht.com/-n-yxvQi7Mzg/VBnIe1fpt0I/AAAAAAAAFVs/2OqU3upVF4Y/s1600-h/image%25255B38%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/--aKklKXW8P8/VBnIgbmQvOI/AAAAAAAAFV0/LWT4fiXHyBc/image_thumb%25255B20%25255D.png?imgmax=800&quot; height=&quot;402&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;509&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;10 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;11 - Nessa tela devemos selecionar os dados que devem ser considerados. Útil quando o arquivo tem muitos registros.&lt;br /&gt;12 - Selecione apenas o Header. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-lD6cFWwuL-8/VBnIhHIUeSI/AAAAAAAAFV8/1qAxl6S2L_E/s1600-h/image%25255B44%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-7k7IeqPpl5k/VBnIiagDm9I/AAAAAAAAFWE/YzmEyLZd5dk/image_thumb%25255B24%25255D.png?imgmax=800&quot; height=&quot;360&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;455&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;13 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;14 - Nessa tela ele pergunta como queremos identificar os registros, como o arquivo é baseado em posição, Escolha a opção &lt;strong&gt;By relative positions&lt;/strong&gt;. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-m-syq8nVQ_Q/VBnIjV943gI/AAAAAAAAFWM/k2uItJcB5Tw/s1600-h/image%25255B49%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-wra9zH0nryI/VBnIk4ut23I/AAAAAAAAFWU/zIBrxUlhROw/image_thumb%25255B27%25255D.png?imgmax=800&quot; height=&quot;358&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;454&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;15 - Clique em&lt;strong&gt; Next.&lt;/strong&gt;&lt;br /&gt;16 - Clicando na posição, delimite os campos, como no exemplo a seguir:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-eGnkc4LXw6k/VBnImN4IHGI/AAAAAAAAFWc/v4rMWJDaHio/s1600-h/image%25255B54%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-GlH1Plcxy4A/VBnInoTdkLI/AAAAAAAAFWg/lJxUcQu9QEM/image_thumb%25255B30%25255D.png?imgmax=800&quot; height=&quot;348&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;443&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;17 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;18 - Nessa tela nomeie os campos com nomes sugestivos. &lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-18LYspnlG1s/VBnIo38kFpI/AAAAAAAAFWk/m05yTWcl8tE/s1600-h/image%25255B58%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-tYU3QFbuRR0/VBnIqNtDo9I/AAAAAAAAFW0/QWT53QnCAwo/image_thumb%25255B32%25255D.png?imgmax=800&quot; height=&quot;349&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;445&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;19 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-avhHOiAAr4k/VBnIrYgtkFI/AAAAAAAAFW8/om7Gdkj8OT8/s1600-h/image%25255B63%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-j9c4uAV6o2s/VBnIsmyGN8I/AAAAAAAAFXE/kmaZ2BxgQtU/image_thumb%25255B35%25255D.png?imgmax=800&quot; height=&quot;351&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;446&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;20 - Clique em Finish. O arquivo &lt;strong&gt;schHeaderProduto.xsd&lt;/strong&gt; foi criado.&lt;br /&gt;21 – Repita os passos de 1 ao 9 para criar o arquivo de &lt;strong&gt;schBodyProduto.xsd&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;a href=&quot;http://lh6.ggpht.com/-bytkH8m_mUE/VBnItneakmI/AAAAAAAAFXM/_evAA1YtUjI/s1600-h/image%25255B67%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-oDptBLKH7To/VBnIuz98eLI/AAAAAAAAFXU/_vmVQPbElZc/image_thumb%25255B37%25255D.png?imgmax=800&quot; height=&quot;353&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;450&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;22 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;23 - Selecione somente os registros que representam o corpo do arquivo.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-vsLEaYMxzkI/VBnIwIpEOzI/AAAAAAAAFXc/AYJBrJQpzE8/s1600-h/image%25255B72%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-ax1OaQJdv6A/VBnIxb7IiEI/AAAAAAAAFXg/DyJg51wXL_k/image_thumb%25255B40%25255D.png?imgmax=800&quot; height=&quot;354&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;450&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;24 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;25 - Como vamos criar um Record que se repete, escolha a opção &lt;strong&gt;By delimiter positions&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-g9JNyLCbE1E/VBnIynfs5ZI/AAAAAAAAFXs/eQNmKLDaF2E/s1600-h/image%25255B84%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-IUsCNC66Ts4/VBnI0HahXFI/AAAAAAAAFX0/r9ydoZKIdnE/image_thumb%25255B46%25255D.png?imgmax=800&quot; height=&quot;363&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;457&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;26 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;27 - Nessa tela escolha o simbolo que delimita o registro. Aqui será o &lt;strong&gt;ENTER&lt;/strong&gt;, representado pelo &lt;strong&gt;{CR}{LF}&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;a href=&quot;http://lh3.ggpht.com/-wnbocdn1iS8/VBnI1TwcKrI/AAAAAAAAFX8/XjHkhhJLaGA/s1600-h/image%25255B88%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-gXPbi7XRoGI/VBnI21zwwgI/AAAAAAAAFYE/j2-Do_B_3zo/image_thumb%25255B48%25255D.png?imgmax=800&quot; height=&quot;364&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;463&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;28 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;29 - No primeiro registro, no campo &lt;strong&gt;Element Name&lt;/strong&gt;, coloque um nome para o &lt;strong&gt;Record&lt;/strong&gt;, no caso &lt;strong&gt;Produtos&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;30 - No campo &lt;strong&gt;Element Type&lt;/strong&gt;, escolha o tipo &lt;strong&gt;Repeating record&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;31 - E nos outros registros no campo &lt;strong&gt;Element Type&lt;/strong&gt;, escolha &lt;strong&gt;Ignore&lt;/strong&gt;.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-scpKRqYaReA/VBnI38R3cxI/AAAAAAAAFYM/8fzlik-pJHo/s1600-h/image%25255B93%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-GMUJznxapi4/VBnI5bPKVqI/AAAAAAAAFYU/P0FyrGvsW2A/image_thumb%25255B51%25255D.png?imgmax=800&quot; height=&quot;366&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;458&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;32 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;33 - Ficará assim:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-mjNtv563Xs0/VBnI6j5Um1I/AAAAAAAAFYc/lfdvf_LXmjo/s1600-h/image%25255B98%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-mjZPi2cmFYU/VBnI8DizwMI/AAAAAAAAFYk/VAPHNrislrc/image_thumb%25255B54%25255D.png?imgmax=800&quot; height=&quot;361&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;462&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;34 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;35 - Selecione o primeiro registro.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-tYJCfaOhE9I/VBnI9b1MYkI/AAAAAAAAFYo/iOSfSPGRQAo/s1600-h/image%25255B103%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-o9nxXLrn8pA/VBnI-20y9jI/AAAAAAAAFY0/1fsPpMDYES0/image_thumb%25255B57%25255D.png?imgmax=800&quot; height=&quot;368&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;463&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;36 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;37 - Escolha a opção &lt;strong&gt;By relative positions.&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;a href=&quot;http://lh5.ggpht.com/-OaQzxEQ2-Tw/VBnI_xTQCsI/AAAAAAAAFY8/BlJYJrC437A/s1600-h/image%25255B107%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh4.ggpht.com/-dKgk6wao9GQ/VBnJBBgqa0I/AAAAAAAAFZE/qYXbujrHrVY/image_thumb%25255B59%25255D.png?imgmax=800&quot; height=&quot;362&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;464&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;38 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;39 - Clique no posição para delimitar os campos.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-Z4gfjS4KB1o/VBnJCfQNAOI/AAAAAAAAFZI/7fD7Rw9JrJo/s1600-h/image%25255B112%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-cqruVqRy9LI/VBnJDtHymVI/AAAAAAAAFZM/muYJNNTtItA/image_thumb%25255B62%25255D.png?imgmax=800&quot; height=&quot;364&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;461&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;40 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;41 - No campo &lt;strong&gt;Element Name&lt;/strong&gt;, coloque nomes sugestivos.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-6XBMxHtL_XI/VBnJEh130FI/AAAAAAAAFZY/cGUEnLenrLw/s1600-h/image%25255B116%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-p5tEj8Qs2j4/VBnJF7eILwI/AAAAAAAAFZk/7WhxlXoTypk/image_thumb%25255B64%25255D.png?imgmax=800&quot; height=&quot;371&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;468&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;42 - Clique em &lt;strong&gt;Next&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-B6lrN3nAvig/VBnJGyS2JSI/AAAAAAAAFZo/T0YG7Asa3LU/s1600-h/image%25255B120%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-Adza74GG9uU/VBnJIQMzfHI/AAAAAAAAFZw/4mjGfpcFB-Q/image_thumb%25255B66%25255D.png?imgmax=800&quot; height=&quot;365&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;463&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;43 - Clique em &lt;strong&gt;Finish&lt;/strong&gt;. E o arquivo &lt;strong&gt;schBodyProduto.xsd&lt;/strong&gt; foi criado no seu projeto.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Ao abrirmos esse arquivo no &lt;strong&gt;Visual Studio&lt;/strong&gt;, podemos notar que o &lt;strong&gt;Record&lt;/strong&gt; &lt;strong&gt;Produtos&lt;/strong&gt; foi criado com a propriedade &lt;strong&gt;Max Occurs&lt;/strong&gt; igual &lt;strong&gt;unbounded&lt;/strong&gt;. Isso quer dizer que esse &lt;strong&gt;Node&lt;/strong&gt; pode se repetir várias vezes.&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-HIx7q8d2iBs/VBnJJjT2BjI/AAAAAAAAFZ8/C8zobQdBh2s/s1600-h/image%25255B124%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-6eNDPD1y6OE/VBnJLO_XKxI/AAAAAAAAFaA/GrVJNQiMflY/image_thumb%25255B68%25255D.png?imgmax=800&quot; height=&quot;235&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;494&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Hoje vimos como criar um schema de um arquivo Flat File Posicional. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Mas somente criar o schema que representa o Arquivo não basta, para o BizTalk conseguir traduzir isso tudo para o XML, precisamos criar um Pipeline Customizado, como ensina meu amigo Sandro Pereira &lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/05/biztalk-server-transformar-arquivos-de_823.html&quot;&gt;neste Post.&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Até a próxima.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/6404544178434724722/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/09/criando-schema-flat-file.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/6404544178434724722'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/6404544178434724722'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/09/criando-schema-flat-file.html' title='Criando Schema Flat File Posicional'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/-kQKd-AjCzZo/VBnIaGaR5ZI/AAAAAAAAFVU/FJjWvtif1po/s72-c/image_thumb%25255B2%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-6866091477158956703</id><published>2014-08-29T10:02:00.001-03:00</published><updated>2014-09-01T11:01:21.184-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Curso BizTalk"/><title type='text'>Modulo 2 – Introducao ao Biztalk Schema</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;O Biztalk pode receber as mensagens no formato, XML, Flat File (txt) ou EDI (Electronic Document Interchange), mas sempre vai processar e trabalhar com as mensagem em formato XML.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Isso quer dizer que devemos ter um “esqueleto”, um modelo da mensagem, para saber quais campos esperar e qual estrutura poder validar.&lt;br /&gt;No Visual Studio, utilizamos o Biztalk Schema Editor para criar um schema que representa esse modelo de mensagem. O resultado é um arquivo XSD (XML Schema Definition), onde criar esse arquivo é um dos primeiros passos no desenvolvimento de um novo projeto em Biztalk.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2&gt;Terminologia do XML&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;No XML nós temos:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;strong&gt;Root:&lt;/strong&gt; É o elemento Pai do schema. Por definição, o schema de um projeto em Biztalk, sempre deve conter um &lt;strong&gt;Root Node.&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;strong&gt;Namespace:&lt;/strong&gt; É usado para identificar o schema de forma única, conforme padrão do W3C. Dentro do Biztalk, a mensagem é identificada pelo &lt;strong&gt;Namespace + Root Node.&lt;/strong&gt; É recomendado que essa combinação seja única dentre todos os projetos publicados.&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;strong&gt;Elemento:&lt;/strong&gt; Usado para armazenar um dado de forma hierarquica.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;strong&gt;Atributo&lt;/strong&gt;: Usado para associar uma informação adicional ao Elemento e não pode ser aninhado.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Como no exemplo:&lt;/div&gt;&lt;span class=&quot;kwrd&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Cliente&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;ID&lt;/span&gt;=”&lt;span class=&quot;attr&quot;&gt;12345&lt;/span&gt;”&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Contoso&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Cliente&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Nesse exemplo,&amp;nbsp; dentro do schema a tag &lt;strong&gt;Cliente&lt;/strong&gt; seria o &lt;strong&gt;Elemento&lt;/strong&gt; e o &lt;strong&gt;ID&lt;/strong&gt; dentro da tag, seria o &lt;strong&gt;Atributo&lt;/strong&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;strong&gt;XSDL&lt;/strong&gt; (&lt;strong&gt;XML Schema Definition Language): &lt;/strong&gt;É uma linguagem usada para criar schemas, a qual representa o formato da mensagem que o Biztalk irá processar.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;strong&gt;XPath&lt;/strong&gt; (&lt;strong&gt;XML Path Language): &lt;/strong&gt;É uma linguagem usada para navegar através da hierarquia de um documento XML.&lt;/div&gt;&lt;br /&gt;&lt;h2&gt;Biztalk XML Schema&lt;/h2&gt;&lt;br /&gt;Dentro do nosso projeto no Visual Studio, um schema é representado visualmente da seguinte forma:&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-RK6mILlZSjo/VAB53l6pSqI/AAAAAAAAFLo/AgsCY275xp0/s1600-h/image%25255B4%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh4.ggpht.com/-76krr4qr7HQ/VAB54q09K5I/AAAAAAAAFLw/6eFYRTfH6Ck/image_thumb%25255B2%25255D.png?imgmax=800&quot; height=&quot;237&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;612&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Se abrirmos o arquivo Schema1.xsd em um editor de texto, vamos encontrar:&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;csharpcode&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xml&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;version&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;1.0&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;encoding&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;utf-16&quot;&lt;/span&gt;?&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:schema&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;xmlns&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;http://POC_EDI_ACK.Schema1&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;xmlns:b&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;http://schemas.microsoft.com/BizTalk/2003&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;targetNamespace&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;http://POC_EDI_ACK.Schema1&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;xmlns:xs&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;http://www.w3.org/2001/XMLSchema&quot;&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:element&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;Root&quot;&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:complexType&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:sequence&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:element&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;POC&quot;&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;          &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:complexType&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:sequence&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;              &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:element&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;Teste&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;xs:string&quot;&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;              &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:element&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;Teste2&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;type&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;xs:string&quot;&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;br /&gt;            &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:sequence&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;          &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:complexType&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;        &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:element&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;      &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:sequence&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:complexType&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:element&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;xs:schema&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Nesse schema, reparem no &lt;strong&gt;Root Node&lt;/strong&gt;, que eu chamei de &lt;strong&gt;Root&lt;/strong&gt; e no &lt;strong&gt;namespace&lt;/strong&gt; que é &lt;span class=&quot;kwrd&quot;&gt;&lt;a href=&quot;http://poc_edi_ack.schema1/&quot;&gt;http://POC_EDI_ACK.Schema1&lt;/a&gt;. Nesse schema tenho um &lt;strong&gt;Elemento &lt;/strong&gt;que eu chamei de &lt;strong&gt;POC&lt;/strong&gt; e dentro dele tenho mais dois &lt;strong&gt;elementos&lt;/strong&gt;, que eu chamei de &lt;strong&gt;Teste&lt;/strong&gt; e &lt;strong&gt;Teste2&lt;/strong&gt;.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span class=&quot;kwrd&quot;&gt;Segue o equivalente de uma mensagem baseado nesse schema:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;csharpcode&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Root&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;xmlns:ns0&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;http://POC_EDI_ACK.Schema1&quot;&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;POC&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Teste&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Teste_0&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Teste&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Teste2&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Teste2_0&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Teste2&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;POC&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ns0:Root&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span class=&quot;kwrd&quot;&gt;Essa mensagem é o que chamamos de &lt;strong&gt;Instância de XML&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;No &lt;strong&gt;Biztalk Schema Editor,&lt;/strong&gt; conseguimos facilmente alterar qualquer propriedade do schema e seus elementos. Segue a propriedade que representa o &lt;strong&gt;Namespace&lt;/strong&gt; no schema.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-bbLdYQcdbN0/VAB55x7c_KI/AAAAAAAAFL4/T3vIgZE81dc/s1600-h/image%25255B8%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh6.ggpht.com/-G4Blm6dzgJg/VAB56hyPpSI/AAAAAAAAFL8/k_8a6NkXWMU/image_thumb%25255B4%25255D.png?imgmax=800&quot; height=&quot;261&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;532&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;Como já falei no post anterior, esse &lt;strong&gt;Biztalk Schema Editor&lt;/strong&gt; é muito útil e uso mesmo em outros projetos, pois posso criar meu schema de uma maneira bem facil e intuitiva e depois posso usar o &lt;strong&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/x6c1kb0s(v=vs.110).aspx&quot;&gt;XSD.exe&lt;/a&gt;&lt;/strong&gt; para transformar esse schema em classes .NET.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;h2&gt;Namespaces dentro do Biztalk &lt;/h2&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;No nosso exemplo anterior o &lt;strong&gt;Namespace&lt;/strong&gt; aparece na tag &lt;strong&gt;xmlns&lt;/strong&gt; com o seguinte valor &lt;a href=&quot;http://poc_edi_ack.schema1/&quot;&gt;http://POC_EDI_ACK.Schema1&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Podemos notar também que a mensagem tem um &lt;strong&gt;Root Node&lt;/strong&gt;, o qual está representada pelo elemento &lt;strong&gt;Root&lt;/strong&gt;, mas poderia ser qualquer outro nome.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;Para o Biztalk processar as mensagens corretamente, ele deve conseguir identifica-las e assim endereçá-las para o seu destinatario. Dessa forma,&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt; conseguimos identificar as mensagens através do seu &lt;strong&gt;Namespace#Root Node&lt;/strong&gt;. Os valores são concatenados com o caracter especial &lt;strong&gt;‘#’. &lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Voltando ao nosso exemplo, a nossa mensagem seria identificada da seguinte maneira:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;a href=&quot;http://poc_edi_ack.schema1/#Root&quot;&gt;http://POC_EDI_ACK.Schema1#Root&lt;/a&gt;&lt;/blockquote&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Se a mensagem for enviada com o &lt;strong&gt;Namespace&lt;/strong&gt; ou &lt;strong&gt;Root Node&lt;/strong&gt; diferente do que foi publicado, o Biztalk vai lançar uma série de erros e não vai processar a instancia.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Por esse motivo é muito importante e recomendado que nossos schemas sempre tenha um Namespace. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Ao criar um novo schema o Biztalk já sugere um Namespace apropriado, e se esse Namespace gerado não for o ideal, basta mudá-lo na propriedade &lt;strong&gt;Target Namespace&lt;/strong&gt;. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Agora vamos, repita comigo:&lt;/div&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;DEVO SEMPRE INCLUIR NAMESPACES NO MEU SCHEMA.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;DEVO SEMPRE INCLUIR NAMESPACES NO MEU SCHEMA.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Nesse artigo, vimos uma pequena introdução aos Schemas do Biztalk e as mensagens XMLs, além de aprender a importancia de se usar os Namespaces no schema.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/6866091477158956703/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/08/modulo-2introducao-biztalk-schema.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/6866091477158956703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/6866091477158956703'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/08/modulo-2introducao-biztalk-schema.html' title='Modulo 2 – Introducao ao Biztalk Schema'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/-76krr4qr7HQ/VAB54q09K5I/AAAAAAAAFLw/6eFYRTfH6Ck/s72-c/image_thumb%25255B2%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-2029526975968879652</id><published>2014-08-26T16:54:00.001-03:00</published><updated>2014-08-26T16:54:53.158-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Curso BizTalk"/><title type='text'>Modulo 1 - Ambiente de Desenvolvimento</title><content type='html'>Hoje vamos conhecer o ambiente de desenvolvimento do Biztalk   &lt;br /&gt;&lt;br /&gt;Como falado anteriormente, para instalar o Biztalk Precisamos:   &lt;br /&gt;&lt;ul style=&quot;background-color: white; color: #333333; font-family: &#39;Trebuchet MS&#39;, trebuchet, sans-serif; font-size: 13px; line-height: 1.4em; margin: 0px; padding-bottom: 12px; padding-left: 30px; padding-right: 0px; padding-top: 12px;&quot;&gt;&lt;li style=&quot;line-height: 1.5em; margin: 0px 0px 0px 35px; padding-bottom: 0.6em; padding-left: 10px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, verdana, arial, helvetica, sans-serif; line-height: 18px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Windows Server 2012, Windows Server 2008 R2 SP1, Windows 7 SP1, Windows 8.&lt;/span&gt; &lt;/li&gt;&lt;li style=&quot;line-height: 1.5em; margin: 0px 0px 0px 35px; padding-bottom: 0.6em; padding-left: 10px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, verdana, arial, helvetica, sans-serif; line-height: 18px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;IIS Instalado.&lt;/span&gt; &lt;/li&gt;&lt;li style=&quot;line-height: 1.5em; margin: 0px 0px 0px 35px; padding-bottom: 0.6em; padding-left: 10px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, verdana, arial, helvetica, sans-serif; line-height: 18px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;.NET Framework 4.5&lt;/span&gt; &lt;/li&gt;&lt;li style=&quot;line-height: 1.5em; margin: 0px 0px 0px 35px; padding-bottom: 0.6em; padding-left: 10px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, verdana, arial, helvetica, sans-serif; line-height: 18px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Visual Studio 2012.&lt;/span&gt; &lt;/li&gt;&lt;li style=&quot;line-height: 1.5em; margin: 0px 0px 0px 35px; padding-bottom: 0.6em; padding-left: 10px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, verdana, arial, helvetica, sans-serif; line-height: 18px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;Microsoft Visual C++ 2010 Redistributable Package&lt;/span&gt; &lt;/li&gt;&lt;li style=&quot;line-height: 1.5em; margin: 0px 0px 0px 35px; padding-bottom: 0.6em; padding-left: 10px; padding-right: 0px; padding-top: 0px;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, verdana, arial, helvetica, sans-serif; line-height: 18px; margin: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;SQL Server 2012 ou SQL Server 2008 R2 SP1&lt;/span&gt; &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: small;&quot;&gt;Isso porque o Biztalk é instalado como se fosse um Add-in para o Visual Studio, então nos nossos projetos vamos sempre usar essa ferramenta para criar novos artefatos.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;     &lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;&lt;h2 align=&quot;justify&quot;&gt;Artefatos&lt;/h2&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;/div&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;     &lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;&lt;div align=&quot;justify&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, verdana, arial, helvetica, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Calibri; font-size: small;&quot;&gt;Biztalk Schema Editor&lt;/span&gt;&lt;/b&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: small;&quot;&gt;Essa ferramenta é onde vamos criar os nossos schemas, que vamos comentar no próximo post. Ele gera um arquivo XSD (Schema Definition Language) escrito em XML. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: small;&quot;&gt;Muito útil, acabo usando mesmo para projetos que não são em Biztalk.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #2a2a2a; font-family: segoe ui, lucida grande, verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;http://lh5.ggpht.com/-svbQ9HT6zYE/U_zgrPmcBhI/AAAAAAAAFFI/_rAZTrU9AE4/s1600-h/image%25255B3%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh4.ggpht.com/-DiGjBfMZdmo/U_zgsmQVXKI/AAAAAAAAFFM/hTvb9H7A9CA/image_thumb%25255B1%25255D.png?imgmax=800&quot; height=&quot;309&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;572&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;Schema de uma mensagem em EDIFACT.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;b&gt;Biztalk Mapper&lt;/b&gt; &lt;br /&gt;&lt;div align=&quot;justify&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Utilizada para transformar (mapear) uma mensagem de entrada em outra mensagem de saída. &lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Gera um arquivo .map, que nada mas é do que a representação visual do XSL (&lt;span style=&quot;background-color: white; font-family: arial, sans-serif; font-size: x-small; line-height: 18px;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Extensible Stylesheet Language), que é um padrão de mercado para transformações de conteúdo&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;O bacana é que consigo testar a mensagem no próprio VS.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;http://lh4.ggpht.com/-Q_3MwOUIyxE/U_zgtqyNzfI/AAAAAAAAFFU/2ahq7fGGCFI/s1600-h/image%25255B7%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh5.ggpht.com/-sttCMttHYr8/U_zguqnWxPI/AAAAAAAAFFg/FFTYjPNnc1E/image_thumb%25255B3%25255D.png?imgmax=800&quot; height=&quot;289&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;534&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Representação de mapa utilizando os schemas de entrada (esquerda) e saida (direita).&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;strong&gt;Biztalk Pipeline Designer&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Dentro do Biztalk as mensagens são todas em XML, quando eu tenho uma mensagem em Flat File (txt) ou EDIFACT, é necessário utilizar algum conversor para transformar essa mensagem em XML também.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;É ai que usamos essa ferramenta.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Gera um arquivo btp, e é utilizado nas Receive e Send Ports. Vamos detalhar esse artefato mais pra frente.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;http://lh6.ggpht.com/-zWbLVN0dxkk/U_zgv7FGEhI/AAAAAAAAFFo/BZOO2HGwOa4/s1600-h/image%25255B11%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-nwEF5IOONZ4/U_zgxLCCLFI/AAAAAAAAFFw/IFFdISD_SOU/image_thumb%25255B5%25255D.png?imgmax=800&quot; height=&quot;314&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;419&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Receive Pipeline pronto pra ler um arquivo texto e transformá-lo em XML.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;strong&gt;Biztalk Orchestration Designer&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Onde a mágica acontece, rs. Essa ferramenta é parecida com um fluxograma e vamos programando as ações que a Interface vai ter.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;As ações são representadas por “caixas” que são arrastadas visualmente. Bem fácil de se trabalhar.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Gera um arquivo .odx e se abrirmos esse arquivo em um note pad, veremos as instruções escritas em C#.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;http://lh6.ggpht.com/-4K-UQfS9VdA/U_zgycBgpvI/AAAAAAAAFF4/u6GdEPB5Hro/s1600-h/image%25255B15%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh4.ggpht.com/-RzHECqtuArQ/U_zgz9ooWLI/AAAAAAAAFGA/krK2F6inQLE/image_thumb%25255B7%25255D.png?imgmax=800&quot; height=&quot;266&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;447&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Orchestration arquivo.odx&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;b&gt;Biztalk Administration Console&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Uma ferramenta muito importante, onde monitoramos o que está acontecendo com as interfaces. É uma ferramenta que acessamos fora do Visual Studio e também deve ser instalada no ambiente de produção.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Aqui vemos qual interface deu erro, qual interface está sendo executada, e etc.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Podemos pegar as mensagens (XML) que estão sendo trafegadas, parar/iniciar um serviço, fazer Deploy/Remover uma aplicação. &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Ou seja, sem essa ferramenta eu não vivo. :)&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;http://lh4.ggpht.com/-s5gML2KlrwM/U_zg1foyRCI/AAAAAAAAFGI/6dDVfa57OJI/s1600-h/image%25255B19%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-vwqRV1VjgBM/U_zg2ScZc_I/AAAAAAAAFGQ/T10026OVtTY/image_thumb%25255B9%25255D.png?imgmax=800&quot; height=&quot;227&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;447&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;strong&gt;BRE – Business Rule Engine&lt;/strong&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Utilizado para armazenar as regras de negocio que podem mudar frequentemente.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Feito de uma forma intuitiva, com a proposta de qualquer usuário pode entender e alterar essas regras sem a ajuda do desenvolvedor ou analista de sistemas.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Eu particularmente, uso para armazenar parametros, como servidor de email, email do destinatário para ser enviado em caso de erros, e etc.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;a href=&quot;http://lh6.ggpht.com/-nDLMwv7qaks/U_zg3bzoKRI/AAAAAAAAFGY/3vB-HO3CKLY/s1600-h/image%25255B23%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; src=&quot;http://lh3.ggpht.com/-61C9xbrYYtQ/U_zg4d4tnaI/AAAAAAAAFGg/jHLlJ3LG6tw/image_thumb%25255B11%25255D.png?imgmax=800&quot; height=&quot;333&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;453&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Agora vocês já conhecem um pouco mais o ambiente de desenvolvimento e as ferramentas utilizadas pelo desenvolvedor. &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Bons projetos!&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/2029526975968879652/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/08/modulo-1-ambiente-de-desenvolvimento.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2029526975968879652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2029526975968879652'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/08/modulo-1-ambiente-de-desenvolvimento.html' title='Modulo 1 - Ambiente de Desenvolvimento'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh4.ggpht.com/-DiGjBfMZdmo/U_zgsmQVXKI/AAAAAAAAFFM/hTvb9H7A9CA/s72-c/image_thumb%25255B1%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-5302292262126471873</id><published>2014-08-06T14:53:00.001-03:00</published><updated>2014-09-18T13:14:28.538-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Curso BizTalk"/><title type='text'>Modulo 1 - Introdução ao Biztalk Server 2013</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;O que é o Biztalk? Bem, na nossa página &lt;a href=&quot;http://www.biztalkbrasil.com.br/p/sobre.html&quot; target=&quot;_blank&quot;&gt;Sobre&lt;/a&gt;, já respondi a essa pergunta.&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Quais Cenários o Biztalk Consegue Resolver?&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Vou listar aqui uma compilação de situações reais, as quais tive a oportunidade de vivenciar, nas empresas por onde passei, durante esses 7 anos de experiência, trabalhando com o produto.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Cenário 1&lt;/b&gt; - Uma grande empresa lider de mercado, precisava enviar seus pedidos de compras feito no seu ERP, para uma empresa de e-Procurement, a qual recebia e enviava as mensagens através do protocolo HTTP. Nesse projeto usamos os adaptadores SAP e HTTP.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Cenario 2 &lt;/b&gt;- Uma Empresa, precisava sincronizar o cadastro de seus clientes, que estavam no seu ERP, com o cadastro de um fornecedor externo. Usamos os adaptadores SAP e SOAP.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Cenario 3&lt;/b&gt; - Uma Empresa do Comercio varejista, precisava enviar o pagamento de suas vendas feita com cartão de crédito para o seu ERP. Usamos os adaptadores WCF-SAP e WCF-Oracle.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Cenario 4&lt;/b&gt; - Uma empresa de Transportes Maritimos recebe a movimentação de seus parceiros via arquivo EDIFACT e precisa enviar essas mensagens para seu ERP. Usamos os adaptadores EDIFACT e WCF-SQL.&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Quais as Vantagens de se usar Biztalk?&lt;/h3&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Novamente falamos sobre a necessidade de se usar um ESB para contemplar os cenários listados acima. Infelizmente o SOA, aqui no Brasil ainda é visto com certa desconfiança.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Com certeza as empresam não querem investir numa ferramenta paga como o BizTalk, sendo que é possível resolver o mesmo problema de uma forma mais barata, ou até mesmo com custo zero.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Mas com o BizTalk ganhamos:&lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Segurança&lt;/li&gt;&lt;li&gt;Rastreabilidade da Integração.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Menor tempo de desenvolvimento.&amp;nbsp;&lt;/li&gt;&lt;li&gt;Facilidade em ajustar o código.&lt;/li&gt;&lt;li&gt;Garantia que nenhuma mensagem será perdida.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Nesses meus anos trabalhando com Integração, o que mais sofro é quando algum sistemas da ponta diz que não recebeu a mensagem. Então, tenho que provar que a mensagem foi enviada pelo Biztalk, o sistema deles é que está descartando a mensagem, ou retornando algum tipo de erro que nem o time de desenvolvimento consegue ver.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Ao meu ver essa é uma das grandes vantagens do BizTalk: Provar que a culpa é dos outros. :P&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Biztalk Server 2013 Editions&lt;/h3&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Enterprise &lt;/b&gt;- Essa versão é a mais cara, e é utilizada por grandes empresas, a qual tenha muitas integrações a serem feitas, e suporta cluster.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Standard &lt;/b&gt;- Utilizada por pequena e médias empresas. Podem ser instaladas 5 Aplicações e não suporta cluster.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Branch &lt;/b&gt;- Para pequenas empresas. Pode instalar apenas 1 aplicação, e não suporta cluster. Também não está disponivel o Biztalk Adapter Pack que inclui os adaptadores WCF-SAP, WCF-Oracle, e etc.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Developer &lt;/b&gt;- Para uso do desenvolvedor.&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Requisitos de Instalação&amp;nbsp;&lt;/h3&gt;&lt;br /&gt;&lt;b&gt;Minimo de Hardware&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Processador com 1 GHz ou mais para single core.&lt;/li&gt;&lt;li&gt;Processador com 900 MHz ou mais para dual core.&lt;/li&gt;&lt;li&gt;Processador com 700 MHz para quad core.&lt;/li&gt;&lt;li&gt;2 GB de memória - (esse valor é o que a Microsoft recomenda, mas é pouco, por experiencia no minimo 4 GB)&lt;/li&gt;&lt;li&gt;10 GB livres no HD&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Minimo de Software&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Windows Server 2012, Windows Server 2008 R2 SP1, Windows 7 SP1, Windows 8.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;IIS Instalado.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;.NET Framework 4.5&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Visual Studio 2012.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Microsoft Visual C++ 2010 Redistributable Package&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;SQL Server 2012 ou SQL Server 2008 R2 SP1&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: &#39;Segoe UI&#39;, &#39;Lucida Grande&#39;, Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;A lista completa pode ser vista em&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;http://msdn.microsoft.com/en-us/library/jj248697(v=bts.80).aspx&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #2a2a2a; font-family: Segoe UI, Lucida Grande, Verdana, Arial, Helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Nesse post vimos uma pequena introdução ao Biztalk Server 2013.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/5302292262126471873/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/08/modulo-1-introducao-ao-biztalk-server.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/5302292262126471873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/5302292262126471873'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/08/modulo-1-introducao-ao-biztalk-server.html' title='Modulo 1 - Introdução ao Biztalk Server 2013'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-8854234122161222010</id><published>2014-07-24T14:17:00.001-03:00</published><updated>2014-07-24T14:17:53.094-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Administração"/><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="Configuração"/><category scheme="http://www.blogger.com/atom/ns#" term="Manutenção"/><title type='text'>Gestão e limpeza das tabelas de MarkLog existentes nas base de dados de BizTalk Server</title><content type='html'>&lt;p&gt;Todas as base de dados de BizTalk Server para as quais o “Backup BizTalk Server” job faz o backup, ou seja todas à excepção do BAM Star Schema (BAMStarSchema), tem uma tabela chamada &amp;quot;MarkLog&amp;quot;.&lt;/p&gt;  &lt;p&gt;Estas tabelas contêm registos de todas as transacções de backups de logs efectuados (que na realidade são timestamps em formato de string) criados pelo 3º passo presente no job “Backup BizTalk Server” (MarkAndBackUpLog), para uma determinada base de dados de BizTalk. Este passo, MarkAndBackupLog, é responsável pela registo que um determinado backup do ficheiro de log será efectuado nestas tabelas e depois efectuar o respectivo backup. Isto significa que cada vez que este passo é executado, por defeito de 15 em 15 minutos, uma string é armazenada nessa tabela com a seguinte convenção de nomenclatura:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Log_&amp;lt;yyyy&amp;gt;_&amp;lt;MM&amp;gt;_&amp;lt;dd&amp;gt;_&amp;lt;HH&amp;gt;_&amp;lt;mm&amp;gt;_&amp;lt;ss&amp;gt;_&amp;lt;fff&amp;gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Onde:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;“Log”: é uma string constante&lt;/li&gt;    &lt;li&gt;yyyy: A representação dos 4 dígitos do ano.&lt;/li&gt;    &lt;li&gt;MM: A representação do mês de 01 a 12&lt;/li&gt;    &lt;li&gt;dd: O respectivo dia do mês, de 01 a 31.&lt;/li&gt;    &lt;li&gt;HH: A representação da hora usando a nomenclatura de um relógio de 24 horas, ou seja os valores vão de 00 a 23&lt;/li&gt;    &lt;li&gt;mm: A representação dos minutos de 00 a 59.&lt;/li&gt;    &lt;li&gt;ss: A representação dos segundos de 00 a 59.&lt;/li&gt;    &lt;li&gt;fff: A representação dos milisegundos&lt;b&gt; &lt;/b&gt;de uma determinada data.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Exemplo: BTS_2014_05_06_14_15_01_327&lt;/p&gt;  &lt;p&gt;Mas infelizmente o BizTalk Server não providencia nenhuma funcionalidade out-of-the-box para limpar estas tabelas. E o procedimento normal é executar a ferramenta BizTalk Terminator para limpar essas tabelas. Podemos ver mais informações sobre esta tarefa aqui: &lt;a href=&quot;http://www.biztalkadminsblogging.com/index.php/item/48-clean-up-the-marklog-table-with-terminator&quot;&gt;Clean up the MarkLog table with Terminator&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;BizTalk Terminator é uma excelente ferramenta que permite endereçar e resolver os problemas mais comuns atravês de scripts disponibilizados pela equipa de produto e que deve ser usado com cuidado e por utilizadores que compreendam o que realmente estão a fazer.&lt;/p&gt;  &lt;p&gt;No entanto têm uma limitação duas limitações bastante grave: &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Para executar em segurança esta ferramenta o ambiente terá de ser parado, o que significa downtime da nossa plataforma de integração.&lt;/li&gt;    &lt;li&gt;E se validar-mos a descrição dessa tarefa “PURGE Marklog table“ efectuada pelo BizTalk verificamos que a operação chama um script SQL que limpa completamente todos os registos destas tabelas - e que talvez não seja uma boa prática pois perdemos algumas informações que nos poderão ser interessantes!&lt;/li&gt; &lt;/ul&gt;  &lt;h3&gt;&lt;b&gt;A&lt;/b&gt;&lt;b&gt; informação (timestamps) presente na tabela de MarkLog são úteis para administradores BizTalk? Devo limpar todos os dados deste tabelas ou devo manter um histórico?&lt;/b&gt;&lt;/h3&gt;  &lt;p&gt;Pela mesmas razões que nós mantemos um histórico de backup na tabela Adm_BackupHistory controlada pelo passo &amp;quot;Clear History Backup&amp;quot; do job &#39;Backup BizTalk Server&#39;. Esta informação é importante, por exemplo, para manter um histórico sobre os backups de logs efectuados, por forma a validar se as tarefas de limpeza e manutenção estão a funcionar correctamente e por forma a garantir quais os backups que necessitam de ser restaurados em caso de falhas.&lt;/p&gt;  &lt;p&gt;Segundo as boas práticas, nós deveremos manter ou garantir que estas tabelas contêm os registos referentes ao período que se encontra definido no ultimo passo do “Backup BizTalk Server” job. Ou seja se definirmos que queremos manter um registo do histórico de backup na tabela Adm_BackupHistory de 15 dias, isso significa que deveremos também manter todos os registos referentes a esses 15 dias nas tabelas de MarkLog. O resto dos registos podemos excluir com segurança.&lt;/p&gt;  &lt;p&gt;E é por isso que, na minha opinião, você não deve usar o BizTalk Terminator para realizar esta operação!&lt;/p&gt;  &lt;h3&gt;&lt;b&gt;É&lt;/b&gt;&lt;b&gt; seguro limpar estas informações em runtime, ou seja sem necessidade de parar a minha plataforma?&lt;/b&gt;&lt;/h3&gt;  &lt;p&gt;Sim, as linhas na tabela Marklog não são &amp;quot;necessárias&amp;quot; e podem ser limpas sempre que você quiser, desde que “Backup BizTalk Server” job não esteja a ser executado.&lt;/p&gt;  &lt;h3&gt;Tarefa para limpar as tabelas de MarkLog segundo as boas práticas&lt;/h3&gt;  &lt;p&gt;Por forma a resolver este simples problema decidi recriar o stored procedure “sp_DeleteBackupHistory” (que se encontra configurado no ultimo passo do “Backup BizTalk Server (BizTalkMgmtDb)” job), com um nome diferente “sp_DeleteBackupHistoryAndMarkLogsHistory” e configurar este procedimento para executar também a tarefa de limpeza das tabelas de MarkLog:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;&lt;font face=&quot;Colonna MT&quot;&gt;DECLARE @BackupServer sysname, @BackupDB sysname, @RealServerName sysname         &lt;br /&gt;DECLARE @tsql nvarchar(1024)          &lt;br /&gt;DECLARE @ret int          &lt;br /&gt;/* Create a cursor */          &lt;br /&gt;DECLARE BackupDB_Cursor insensitive cursor for          &lt;br /&gt;&amp;#160;&amp;#160; SELECT ServerName, DatabaseName          &lt;br /&gt;&amp;#160;&amp;#160; FROM admv_BackupDatabases          &lt;br /&gt;&amp;#160;&amp;#160; ORDER BY ServerName          &lt;br /&gt;&amp;#160; &lt;br /&gt;open BackupDB_Cursor          &lt;br /&gt;fetch next from BackupDB_Cursor into @BackupServer, @BackupDB          &lt;br /&gt;WHILE (@@FETCH_STATUS = 0)          &lt;br /&gt;&amp;#160;&amp;#160; BEGIN          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; -- Get the proper server name          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; EXEC @ret = sp_GetRemoteServerName @ServerName = @BackupServer, @DatabaseName = @BackupDB, @RemoteServerName = @RealServerName OUTPUT          &lt;br /&gt;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; /* Create the delete statement */          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; select @tsql =          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &#39;DELETE FROM [&#39; + @RealServerName + &#39;].[&#39; + @BackupDB + &#39;].[dbo].[MarkLog]          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; WHERE DATEDIFF(day, REPLACE(SUBSTRING([MarkName],5,10),&#39;&#39;_&#39;&#39;,&#39;&#39;&#39;&#39;), GETDATE()) &amp;gt; &#39; + cast(@DaysToKeep as nvarchar(5) )          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; /* Execute the delete statement */          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; exec (@tsql)          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; /* Get the next DB. */          &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; fetch next from BackupDB_Cursor into @BackupServer, @BackupDB          &lt;br /&gt;&amp;#160;&amp;#160; END          &lt;br /&gt;close BackupDB_Cursor          &lt;br /&gt;deallocate BackupDB_Cursor&lt;/font&gt;&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h3&gt;&lt;font color=&quot;#000000&quot;&gt;&lt;font style=&quot;font-weight: bold&quot;&gt;Passos necessários para instalar e configurar esta tarefa&lt;/font&gt;&lt;/font&gt;&lt;/h3&gt;  &lt;ul&gt;   &lt;li&gt;Criar o stored procedure “sp_DeleteBackupHistoryAndMarkLogsHistory” disponível para download aqui: &lt;a href=&quot;http://gallery.technet.microsoft.com/BizTalk-Server-Cleaning-15a1b070&quot;&gt;BizTalk Server: Cleaning MarkLog Tables According to Some of the Best Practices&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;·Alterar a configuração do 4 º passo do trabalho do “Backup BizTalk Server (BizTalkMgmtDb)” job por forma a que este passe a invocar este novo procedimento&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;b&gt;Nota&lt;/b&gt;: não elimine o “sp_DeleteBackupHistory”&lt;/p&gt;  &lt;p&gt;Um obrigado especial ao &lt;a href=&quot;http://biztalkadmin.com/&quot;&gt;Tord Glad Nordahl&lt;/a&gt; e ao &lt;a href=&quot;http://pt.linkedin.com/in/pmsousa&quot;&gt;Pedro Sousa&lt;/a&gt; que me ajudaram a elaborar este SQL Script.&lt;/p&gt;  &lt;p&gt;Download: &lt;a href=&quot;http://gallery.technet.microsoft.com/BizTalk-Server-Cleaning-15a1b070&quot;&gt;BizTalk Server: Cleaning MarkLog Tables According to Some of the Best Practices&lt;/a&gt; |Microsoft TechNet Gallery&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/8854234122161222010/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/gestao-e-limpeza-das-tabelas-de-marklog.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8854234122161222010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8854234122161222010'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/gestao-e-limpeza-das-tabelas-de-marklog.html' title='Gestão e limpeza das tabelas de MarkLog existentes nas base de dados de BizTalk Server'/><author><name>Sandro Pereira</name><uri>http://www.blogger.com/profile/09569531933702984523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-1lsezKYlZqE/TjawDZJstsI/AAAAAAAAAC0/ZrQCoMJzdBU/s220/_DSC2075-vi.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-2744437957589713038</id><published>2014-07-22T15:57:00.000-03:00</published><updated>2014-07-22T16:07:50.401-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="EDI"/><category scheme="http://www.blogger.com/atom/ns#" term="EDIFACT"/><category scheme="http://www.blogger.com/atom/ns#" term="FILE Adapter"/><title type='text'>Erros Conhecidos Arquivo EDIFACT</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;Trabalhar com arquivos no formato EDIFACT pode ser um pouco complicado.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Como falamos anteriormente &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/12/recebendo-e-trabalhando-com-mensagens.html&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt;, cada parceiro pode enviar a mensagem do seu jeito.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;E isso pode acarretar vários tipos de erros, que são difíceis de identificar.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Por isso resolvi aqui compilar os erros mais comuns, aos quais tive o prazer de pesquisar na internet pra tentar achar uma solução. #sqn&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Vamos lá:&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;[4]      Invalid Segment Terminator&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;b&gt;Causa&lt;/b&gt;: O UNA6 Sufix esta configurado para receber CR LF, (enter) e o arquivo veio somente com LF ou outro caracter.&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-LUuhIaI5suA/U86w_3JfW9I/AAAAAAAAEy0/vMja0sDfXls/s1600/Blog1.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-LUuhIaI5suA/U86w_3JfW9I/AAAAAAAAEy0/vMja0sDfXls/s1600/Blog1.JPG&quot; height=&quot;51&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;b&gt;Solução&lt;/b&gt;: Colocar no&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Edifact Delimeters do Pipeline para o Biztalk aceitar outro terminador alem do CR LF&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;b&gt;0x3A, 0x2B, 0x2C, 0x3F, 0x20, 0x27, 0x0A&lt;/b&gt; sem CR (Configuração no Pipeline para parceiros que enviam somente o LF)&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11.0pt; margin: 0in;&quot;&gt;&lt;b&gt;0x3A, 0x2B, 0x2C, 0x3F, 0x20, 0x27, 0x0d, 0x0a&lt;/b&gt; com CR e LF&amp;nbsp; (Configuração no Pipeline para parceiros que enviam&amp;nbsp; o CR LF)&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;----------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[21]:      Invalid character found&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;Causa&lt;/b&gt;: Caracter especial não permitido.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;No segmento UNB existe o enconding que o biztalk deve usar. O padrão é UNOA que não aceita caracteres especiais.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;O parceiro deve enviar UNOC no segmento UNB se realmente precisar enviar caracteres especiais como Ç ou Ã.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;UNB+&lt;/span&gt;&lt;span style=&quot;background: yellow; font-family: Calibri; font-size: 11pt;&quot;&gt;UNOC&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;:1+PARCEIROA+MINHAEMPRESA+131104:2120+134457&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;---------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[26]:      Duplicate transaction set detected&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;Causa&lt;/b&gt;: No segmento UNH, o mesmo número que identifica a mensagem, esta sendo usada em outra mensagem no mesmo arquivo.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;UNH+&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; font-family: Calibri; font-size: 11pt;&quot;&gt;SN000000012190&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;+CODECO:D:95B:UN&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;-------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[29] Invalid      count specified at interchange, group or message level&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;Causa 1&lt;/b&gt;: Número total de segmentos errado. O Biztalk faz uma contagem entre o segmento UNH e o UNT.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.75pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.75pt;&quot;&gt;UNT+&lt;/span&gt;&lt;span style=&quot;background: yellow; font-family: Consolas; font-size: 9.75pt;&quot;&gt;22&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.75pt;&quot;&gt;+&lt;/span&gt;&lt;span style=&quot;font-family: Consolas; font-size: 9.75pt;&quot;&gt;33999&lt;/span&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.75pt;&quot;&gt;&#39;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Consolas; font-size: 9.75pt; margin: 0in;&quot;&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;b&gt;Causa 2&lt;/b&gt;: Número total de mensagens dentro do arquivo errado. No final do arquivo no segmento UNZ, é preciso colocar a quantidade certa de &amp;nbsp;mensagens dentro do arquivo.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Consolas; font-size: 9.75pt; margin: 0in;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-size: 11pt; margin: 0in;&quot;&gt;UNZ+&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;23&lt;/span&gt;+000000007&#39;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;------------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[33]:      Invalid occurence outside message, package or group.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;Causa&lt;/b&gt;: Falta colocar o CRLF como terminador no pipeline&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;0x0d, 0x0a&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-XbDPlBlTVHQ/U86yTlB7-oI/AAAAAAAAEzA/zxoh_V-YseI/s1600/Blog2.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-XbDPlBlTVHQ/U86yTlB7-oI/AAAAAAAAEzA/zxoh_V-YseI/s1600/Blog2.JPG&quot; height=&quot;110&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;---------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[45]:      Trailing separator found&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;Solução&lt;/b&gt;: Permitir no Agreement do Parceiro que venha com espaços.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-FFbdM-Cp5y0/U86zUHlIacI/AAAAAAAAEzM/FZc3GX6N3C0/s1600/Blog3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-FFbdM-Cp5y0/U86zUHlIacI/AAAAAAAAEzM/FZc3GX6N3C0/s1600/Blog3.PNG&quot; height=&quot;341&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;---------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[&lt;/span&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;71] Transaction Set or Group Control Number Mismatch.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;en-US&quot; style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Causa&lt;/b&gt;: Número de identificação da mensagem diferente entre os segmentos. O segmento UNH e o UNZ são segmentos de controle e devem ter um número que identifica a mensagem dentro do arquivo EDI.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;UNH+&lt;/span&gt;&lt;span style=&quot;background: yellow;&quot;&gt;33999&lt;/span&gt;&lt;span style=&quot;background: white;&quot;&gt;+CODECO:D:95B:UM:ITG010&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;UNT++&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: yellow; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;33999&lt;/span&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.75pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.75pt;&quot;&gt;----------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[72]:      Unrecognized segment ID&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;Causa&lt;/b&gt;: Arquivo com terminador inválido. Nesse caso, esse parceiro, envia o arquivo com o terminador de segmento sendo aspas simpes &quot; &#39; &quot; e tinha duas aspas simples, no meio do arquivo, como terminador ao invés de uma.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;TDT+20++1+13+LAP:172:20+++9619440:::AAAA BBBB&lt;span style=&quot;background-color: yellow;&quot;&gt;&#39;&#39;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span lang=&quot;pt-BR&quot; style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;font-size: 15px;&quot;&gt;--------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt; font-weight: bold;&quot;&gt;[76]: Too      few data elements&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;b&gt;Causa&lt;/b&gt;: Faltando segmento obrigatório dentro do arquivo EDIFACT. No schema alguns segmentos estão configurados para serem obrigatórios e devem ser enviados.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;--------------------&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: 11pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background: white; font-family: Consolas; font-size: 9.75pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Consolas; font-size: 9.75pt; margin: 0in 0in 0in 0.375in;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div lang=&quot;pt-BR&quot; style=&quot;font-family: Consolas; font-size: 9.75pt; margin: 0in 0in 0in 0.375in;&quot;&gt;&lt;span style=&quot;background: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/2744437957589713038/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/erros-conhecidos-arquivo-edifact.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2744437957589713038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2744437957589713038'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/erros-conhecidos-arquivo-edifact.html' title='Erros Conhecidos Arquivo EDIFACT'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-LUuhIaI5suA/U86w_3JfW9I/AAAAAAAAEy0/vMja0sDfXls/s72-c/Blog1.JPG" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Santos - São Paulo, República Federativa do Brasil</georss:featurename><georss:point>-23.9540376 -46.3354875</georss:point><georss:box>-24.0701251 -46.496849 -23.8379501 -46.174126</georss:box></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-1552787452976969281</id><published>2014-07-19T11:21:00.001-03:00</published><updated>2014-07-19T11:21:42.801-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk Server 2013 R2"/><category scheme="http://www.blogger.com/atom/ns#" term="Utilitários"/><title type='text'>Logótipo do BizTalk Server 2013 R2 em formato vectorial</title><content type='html'>&lt;p&gt;Na sequência do que tenho feito no passado (&lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/03/logotipo-do-biztalk-server-2013-em.html&quot; target=&quot;_blank&quot;&gt;BizTalk Server 2013&lt;/a&gt; e &lt;a href=&quot;http://www.biztalkbrasil.com.br/2012/07/logotipo-do-biztalk-server-2010-em.html&quot; target=&quot;_blank&quot;&gt;BizTalk Server 2010&lt;/a&gt;) eu resolvi disponibilizar a nova versão do logotipo BizTalk Server 2013 R2 também ele em formato vectorial.&lt;/p&gt;  &lt;p&gt;Uma vez mais, esta é uma colecção de 4 diferentes formatos de imagem do logotipo do BizTalk Server 2013 R2, dois deles estão disponíveis em formato vectorial em que podemos trabalhar com ele (redimensionamento, por exemplo) sem que este perca qualidade e ideal para usar em banner ou cartazes para algum evento:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;BizTalkServer2013R2.ai (formato vectorial)&lt;/li&gt;    &lt;li&gt;BizTalkServer2013R2.eps (formato vectorial)&lt;/li&gt;    &lt;li&gt;BizTalkServer2013R2.pdf&lt;/li&gt;    &lt;li&gt;BizTalkServer2013R2.png&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.ggpht.com/-weCNTvjEtj8/U8p-8W7wBlI/AAAAAAAAA3A/ZrHWo_aQyRk/s1600-h/BizTalkServer2013R2%25255B4%25255D.png&quot;&gt;&lt;img title=&quot;BizTalkServer2013R2&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;BizTalkServer2013R2&quot; src=&quot;http://lh3.ggpht.com/-NOTpJvvaaqI/U8p-9OHoSZI/AAAAAAAAA3E/OeEGi3xs02s/BizTalkServer2013R2_thumb%25255B2%25255D.png?imgmax=800&quot; width=&quot;361&quot; height=&quot;158&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;No entanto desta vez temos uma versão adicional, às vezes queremos usar o logotipo com fundos pretos ou escuros em que não podemos usar o logotipo normal, desta forma criamos uma versão ideal para estas situações:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;BizTalkServer2013R2-white.png&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Obrigado à &lt;a href=&quot;http://ideiasaoscaracois.com/&quot; target=&quot;_blank&quot;&gt;Sónia Gomes&lt;/a&gt; (UI/UX Designer na DevScope) por me ter ajudado.&lt;/p&gt;  &lt;p&gt;Poderá obter este componente a partir de:&lt;/p&gt;  &lt;p&gt;Download: &lt;a href=&quot;http://gallery.technet.microsoft.com/BizTalk-Server-2013-R2-fa475bb4&quot; target=&quot;_blank&quot;&gt;BizTalk Server 2013 R2 logo in vector format&lt;/a&gt; |Microsoft TechNet Gallery&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/1552787452976969281/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/logotipo-do-biztalk-server-2013-r2-em.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/1552787452976969281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/1552787452976969281'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/logotipo-do-biztalk-server-2013-r2-em.html' title='Logótipo do BizTalk Server 2013 R2 em formato vectorial'/><author><name>Sandro Pereira</name><uri>http://www.blogger.com/profile/09569531933702984523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-1lsezKYlZqE/TjawDZJstsI/AAAAAAAAAC0/ZrQCoMJzdBU/s220/_DSC2075-vi.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/-NOTpJvvaaqI/U8p-9OHoSZI/AAAAAAAAA3E/OeEGi3xs02s/s72-c/BizTalkServer2013R2_thumb%25255B2%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-4586091818409541861</id><published>2014-07-17T13:32:00.001-03:00</published><updated>2014-07-17T13:32:11.272-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IIS 7"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF-BasicHttp"/><title type='text'>Publicar Orchestration WCF-BasicHttp com certificado Https</title><content type='html'>Olá Pessoal,&lt;br /&gt;&lt;br /&gt;Hoje vou falar sobre publicar uma Orchestration como serviço WCF usando o protocolo Https.&lt;br /&gt;&lt;br /&gt;Há um tempinho atrás falamos sobre como publicar uma Orchestration como Serviço WCF, que pode ser &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/12/publicando-orchestration-como.html&quot; target=&quot;_blank&quot;&gt;visto aqui&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Então eu vou pegar o mesmo projeto e continuar a partir dai.&lt;br /&gt;&lt;br /&gt;Pra utilizar o protocolo Https, e proteger o envio e recebimento de nossas mensagens, precisamos instalar um certificado no servidor.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;h4&gt;&lt;b&gt;Criar Certificado Auto Assinado&lt;/b&gt;&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Um certificado auto assinado, é um certificado que não precisa ser emitido por uma entidade certificadora. É usado apenas em POCs e testes, evitando o desperdício de grana.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;1 - Abrir o IIS 7&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;2 - No painel esquerdo, clicar na raiz, no nome do servidor, e no painel direito clicar em &lt;b&gt;Criar um Certificado Auto Assinado.&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-pfa8JYDYjQs/U8fY09jfHPI/AAAAAAAAEws/LBoZyIGqoDA/s1600/Blog1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-pfa8JYDYjQs/U8fY09jfHPI/AAAAAAAAEws/LBoZyIGqoDA/s1600/Blog1.png&quot; height=&quot;73&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;3 - Irá abrir um Assistente, coloque um nome amigavel para o certificado, no meu caso, vou colocar o nome do servidor. E clicar em OK.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Pronto, a partir dai o certificado já esta instalado nessa maquina.&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Intalando o Certificado no Serviço WCF&lt;/h4&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;1 - Ainda no IIS, clique no site onde o seu serviço WCF foi instalado, no meu caso é o &lt;b&gt;Default Web Site&lt;/b&gt;.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;2 - No Painel esquerdo, clicar em &lt;b&gt;Bindings&lt;/b&gt;.&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-3NPZTi_8My4/U8faMDokgtI/AAAAAAAAEw4/SchRNppQYSA/s1600/Blog2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://4.bp.blogspot.com/-3NPZTi_8My4/U8faMDokgtI/AAAAAAAAEw4/SchRNppQYSA/s1600/Blog2.png&quot; height=&quot;78&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;3 - Ao abrir a tela &lt;b&gt;Site Bindings&lt;/b&gt;, clicar no Botão &lt;b&gt;Add&lt;/b&gt;.&lt;/div&gt;4 - Na propriedade &lt;b&gt;Type&lt;/b&gt;, escolher o tipo &lt;b&gt;Https&lt;/b&gt;, e em &lt;b&gt;SSL Certificate&lt;/b&gt;, escolher o certificado que acabamos de instalar.&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-BDuL5V0K6_Y/U8fxv_6RX8I/AAAAAAAAExk/tk9dE3IcRTk/s1600/Blog3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-BDuL5V0K6_Y/U8fxv_6RX8I/AAAAAAAAExk/tk9dE3IcRTk/s1600/Blog3.png&quot; height=&quot;168&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;5 - Clicar no Botão &lt;b&gt;OK&lt;/b&gt;, e em &lt;b&gt;Close&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;6 - Clicar em cima do Serviço WCF, e no painel do meio, categoria &lt;b&gt;IIS&lt;/b&gt;, clicar em &lt;b&gt;SSL Settings&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-jcSLHZ_fOFo/U8fcSSjAZMI/AAAAAAAAExM/UpDdkczx8d4/s1600/Blog4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-jcSLHZ_fOFo/U8fcSSjAZMI/AAAAAAAAExM/UpDdkczx8d4/s1600/Blog4.png&quot; height=&quot;267&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;7 - E Clicar em &lt;b&gt;Require SSL&lt;/b&gt;, e então no painel direito clicar no botão &lt;b&gt;Apply&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-wrWfCzbAJeE/U8fc2eMlvmI/AAAAAAAAExU/9ogQk8VTbw0/s1600/Blog5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-wrWfCzbAJeE/U8fc2eMlvmI/AAAAAAAAExU/9ogQk8VTbw0/s1600/Blog5.png&quot; height=&quot;123&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 style=&quot;clear: both; text-align: justify;&quot;&gt;Configurar o Web.Config&lt;/h4&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;1 - Abrir o Web.Config do serviço WCF.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;2 - Procurar pela tag&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 13px; text-indent: 48px;&quot;&gt;httpsGetEnabled&lt;/span&gt;&lt;span style=&quot;background-color: white; color: red; font-family: Verdana, sans-serif; font-size: 13px; text-indent: 48px;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 13px; text-indent: 48px;&quot;&gt;e alterar para true.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 13px; text-indent: 48px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt; &lt;br /&gt;&lt;pre class=&quot;csharpcode&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;serviceMetadata&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;httpGetEnabled&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;false&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;httpsGetEnabled&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;true&quot;&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;3 - Habilitar o HttpsMexEndpoint&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt; &lt;pre class=&quot;csharpcode&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;endpoint&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;HttpsMexEndpoint&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;address&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;mex&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;binding&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;mexHttpsBinding&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;bindingConfiguration&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;&quot;&lt;/span&gt; &lt;span class=&quot;attr&quot;&gt;contract&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;=&quot;IMetadataExchange&quot;&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;csharpcode&quot;&gt;&lt;span class=&quot;kwrd&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;csharpcode&quot;&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Configurar a Receive Location do Biztalk&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;1 - Abrir o BizTalk Server Administration Console&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;2 - Editar a Receive Location que recebe do Serviço WCF&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;3 - Na aba &lt;b&gt;Security&lt;/b&gt;, alterar o &lt;b&gt;Security mode&lt;/b&gt; para &lt;b&gt;Transport&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-m-TVNA4-Yt8/U8f4O0nukQI/AAAAAAAAEx0/SHUZAvXpPlI/s1600/Blog6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-m-TVNA4-Yt8/U8f4O0nukQI/AAAAAAAAEx0/SHUZAvXpPlI/s1600/Blog6.png&quot; height=&quot;320&quot; width=&quot;231&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Depois disso, basta reiniciar o IIS e ao acessar o Serviço pelo https, deve mostrar o wsdl.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Então hoje vimos como implementar o protocolo Https em um serviço WCF hospedado no IIS 7.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Até mais. E você? Já ajudou a comunidade hoje?&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/4586091818409541861/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/publicar-orchestration-wcf-basichttp.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/4586091818409541861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/4586091818409541861'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/07/publicar-orchestration-wcf-basichttp.html' title='Publicar Orchestration WCF-BasicHttp com certificado Https'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-pfa8JYDYjQs/U8fY09jfHPI/AAAAAAAAEws/LBoZyIGqoDA/s72-c/Blog1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-8842372510419864244</id><published>2014-06-26T13:24:00.000-03:00</published><updated>2014-07-17T17:27:49.606-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adaptadores"/><category scheme="http://www.blogger.com/atom/ns#" term="Schemas"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF-SQL"/><title type='text'>Criar Schema para Procedure com FOR XML - WCF SQL</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;Com o novo (nem tão novo assim) adaptador WCF-SQL, criar os schemas das  procedures ficou simples, não é preciso usar o FOR XML como antigamente.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Mas as vezes precisamos trazer resultados da query aninhados (subquerys), e o  FOR XML ainda é util e necessário.&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Então vamos pegar o exemplo de uma venda qualquer, assim teremos uma Nota  Fiscal e seus itens. Segue uma figura:&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-6VKq5P7tg5Q/U6wwVlynFQI/AAAAAAAAEkk/ISxFA80U7Qc/s1600/blog1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-6VKq5P7tg5Q/U6wwVlynFQI/AAAAAAAAEkk/ISxFA80U7Qc/s1600/blog1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Notem que o registro principal, que é a Nota Fiscal, se repete várias vezes,  esse tipo de resultado dentro do BizTalk fica muito trabalhoso de fazer o  mapeamento. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Então teriamos que ter algo mais parecido com a seguinte imagem:&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/--DFPeSclgio/U6xEKiKSPqI/AAAAAAAAEk4/FYHIawym8Ak/s1600/blog2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/--DFPeSclgio/U6xEKiKSPqI/AAAAAAAAEk4/FYHIawym8Ak/s1600/blog2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Agora o registro principal só vemos uma única vez e temos uma subquery, já em  XML, representando os Itens da Venda. &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Como ficaria a procedure na integra:&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt; &lt;br /&gt;&lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   1:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;CREATE&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;PROCEDURE&lt;/span&gt; spPocSchemaForXml&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   2:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;AS&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   3:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;begin&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   4:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   5:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;BEGIN&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;TRAN&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   6:  &lt;/span&gt;    &lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   7:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;WITH&lt;/span&gt; xmlnamespaces(&lt;span class=&quot;kwrd&quot;&gt;DEFAULT&lt;/span&gt; &lt;span class=&quot;str&quot;&gt;&#39;http://POC_SchemaForXml/spPocSchemaForXml&#39;&lt;/span&gt;) &lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   8:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;SELECT&lt;/span&gt; NF.NumNotaFiscal, NF.DataVenda, NF.CodCliente, NF.ValorTotal, &lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   9:  &lt;/span&gt;             (&lt;span class=&quot;kwrd&quot;&gt;SELECT&lt;/span&gt; &lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  10:  &lt;/span&gt;                    P.Descricao,&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  11:  &lt;/span&gt;                    P.ValorUnitario,&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  12:  &lt;/span&gt;                    V.Quantidade,&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  13:  &lt;/span&gt;                    (V.Quantidade * P.ValorUnitario) &lt;span class=&quot;kwrd&quot;&gt;AS&lt;/span&gt; ValorTotalItem&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  14:  &lt;/span&gt;            &lt;span class=&quot;kwrd&quot;&gt;FROM&lt;/span&gt; tbVendas V &lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  15:  &lt;/span&gt;            &lt;span class=&quot;kwrd&quot;&gt;INNER&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;JOIN&lt;/span&gt; tbProdutos P &lt;span class=&quot;kwrd&quot;&gt;ON&lt;/span&gt; V.CodItem = P.CodItem&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  16:  &lt;/span&gt;            &lt;span class=&quot;kwrd&quot;&gt;WHERE&lt;/span&gt; NF.NumNotaFiscal = V.NumNotaFiscal&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  17:  &lt;/span&gt;            &lt;span class=&quot;kwrd&quot;&gt;FOR&lt;/span&gt; XML &lt;span class=&quot;kwrd&quot;&gt;PATH&lt;/span&gt;(&lt;span class=&quot;str&quot;&gt;&#39;ITENS&#39;&lt;/span&gt;), TYPE)&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  18:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;FROM&lt;/span&gt; tbNotaFiscal NF&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  19:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;order&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;by&lt;/span&gt; NumNotaFiscal&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  20:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;FOR&lt;/span&gt; XML &lt;span class=&quot;kwrd&quot;&gt;PATH&lt;/span&gt;(&lt;span class=&quot;str&quot;&gt;&#39;Vendas&#39;&lt;/span&gt;), TYPE&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  21:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  22:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;COMMIT&lt;/span&gt; &lt;span class=&quot;kwrd&quot;&gt;TRAN&lt;/span&gt;;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  23:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  24:  &lt;/span&gt;end&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;E o resultado dessa procedure seria um xml: &lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt; &lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   1:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Vendas&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   2:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;NumNotaFiscal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;123&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;NumNotaFiscal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   3:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;DataVenda&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;2014-04-29T15:15:17.400&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;DataVenda&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   4:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;CodCliente&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;CodCliente&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   5:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;172&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   6:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   7:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Mouse&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   8:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;6&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   9:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;2&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  10:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;12&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  11:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  12:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  13:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Teclado&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  14:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;30&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  15:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  16:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;30&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  17:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  18:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  19:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Memoria&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  20:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;130&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  21:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  22:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;130&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  23:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  24:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Vendas&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  25:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Vendas&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  26:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;NumNotaFiscal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;456&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;NumNotaFiscal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  27:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;DataVenda&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;2014-04-29T15:16:55.197&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;DataVenda&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  28:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;CodCliente&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;2&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;CodCliente&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  29:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;594&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotal&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  30:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  31:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Monitor&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  32:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;245&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  33:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  34:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;245&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  35:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  36:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  37:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;HD Externo&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  38:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;249&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  39:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  40:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;249&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  41:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  42:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  43:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;Gabinete&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Descricao&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  44:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;100&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorUnitario&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  45:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;1&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Quantidade&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  46:  &lt;/span&gt;    &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;100&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ValorTotalItem&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;  47:  &lt;/span&gt;  &lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;ITENS&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;  48:  &lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span class=&quot;html&quot;&gt;Vendas&lt;/span&gt;&lt;span class=&quot;kwrd&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;kwrd&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;kwrd&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2&gt;Como puxar o schema dessa procedure no BizTalk para ser usado na Send Port:&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;Crie um Novo Projeto de Biztalk. &lt;/li&gt;&lt;li&gt;Clique com o botão direito na aplicação &lt;strong&gt;Add –&amp;gt; Add Generated Items&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;Escolha a opção &lt;strong&gt;Consume Adapter Service&lt;/strong&gt; e no &lt;strong&gt;botão Add.&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;No Wizard Consume Adapter Service, no combo &lt;strong&gt;Select a binding&lt;/strong&gt;, escolha o &lt;strong&gt;sqlBinding.&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Clique no botão Configure. Na aba URI Properties, coloque as informações do Banco de Dados. &lt;/li&gt;&lt;li&gt;Na aba Security, coloque as informações do usuário para se conectar no Banco. &lt;/li&gt;&lt;li&gt;Clique no &lt;strong&gt;Botão Ok&lt;/strong&gt; e em &lt;strong&gt;Connect&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;No combo &lt;strong&gt;Select Contract Type&lt;/strong&gt;, deixa a opção &lt;strong&gt;Client (Outbound Operations).&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Na Janela &lt;strong&gt;Select a Category&lt;/strong&gt;,&lt;strong&gt; &lt;/strong&gt;escolha a opção &lt;strong&gt;Procedures.&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Clique em cima da procedure criada e no&lt;strong&gt; botão Add.&lt;/strong&gt; &lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-YwpmdK6sYFg/U6xF1NWDh-I/AAAAAAAAElE/0_9hjJ8RxF8/s1600/blog3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-YwpmdK6sYFg/U6xF1NWDh-I/AAAAAAAAElE/0_9hjJ8RxF8/s1600/blog3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Agora é só clicar no &lt;strong&gt;botão OK&lt;/strong&gt; e o nosso schema esta criado.  Segue imagem:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-rXRq9pP5ZeE/U6xGGCFx22I/AAAAAAAAElM/kuD7Gv16Qd8/s1600/blog4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-rXRq9pP5ZeE/U6xGGCFx22I/AAAAAAAAElM/kuD7Gv16Qd8/s1600/blog4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Nesse schema que foi criado, só precisamos do Request, o node  &lt;strong&gt;spPocSchemaForXmlResponse&lt;/strong&gt; não será usado, então podemos apagar.  Ficará assim:&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Hs3mumSmVsE/U6xGR3ThRMI/AAAAAAAAElU/RbIno4rn88s/s1600/blog5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-Hs3mumSmVsE/U6xGR3ThRMI/AAAAAAAAElU/RbIno4rn88s/s1600/blog5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2&gt;Criando o schema a partir de um Arquivo XML Bem Formado.&lt;/h2&gt;&lt;div&gt;Essa segunda parte serve também pra quem vai usar essa técnica na Receive  Port.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Execute a procedure que foi criada.  &lt;/li&gt;&lt;li&gt;Salve o Xml em um arquivo POC.xml  &lt;/li&gt;&lt;li&gt;No Visual Studio, Clique com o botão direito na aplicação e em &lt;strong&gt;Add  –&amp;gt; Add Generated Items&lt;/strong&gt;.  &lt;/li&gt;&lt;li&gt;Escolha a opção &lt;strong&gt;Generated Schema &lt;/strong&gt;e no &lt;strong&gt;botão  Add.&lt;/strong&gt;  &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Em Document Type, &lt;/strong&gt;deixe a opção &lt;strong&gt;Well-Formed XML  &lt;/strong&gt;e clique no &lt;strong&gt;Botão Browse.&lt;/strong&gt;  &lt;/li&gt;&lt;li&gt;Procure o arquivo gerado no passo 3.  &lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Open&lt;/strong&gt; e em &lt;strong&gt;OK&lt;/strong&gt;.&lt;/li&gt;&lt;/ol&gt;O schema gerado deve ficar parecido com a imagem a seguir:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-QKn7rf9Mmb8/U6xGnW8IvCI/AAAAAAAAElc/qPsQHH-w7f0/s1600/blog6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-QKn7rf9Mmb8/U6xGnW8IvCI/AAAAAAAAElc/qPsQHH-w7f0/s1600/blog6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Clique com o botão direito no node &lt;schema&gt;, e em&lt;strong&gt; Insert  Schema Node&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Child Record&lt;/strong&gt;.  &lt;/schema&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Esse schema será o nosso Response, então sugiro que coloquem o nome do node  de Request+Response, no meu caso seria o node  &lt;strong&gt;spPocSchemaForXmlResponse&lt;/strong&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Recorte o node Vendas e cole no node que acabou de ser criado, de uma forma  que ele fique abaixo desse node:&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-39U48QEtwxc/U6xG7dIzTkI/AAAAAAAAElk/UMcrg_TExyM/s1600/blog7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-39U48QEtwxc/U6xG7dIzTkI/AAAAAAAAElk/UMcrg_TExyM/s1600/blog7.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;Clique no node &lt;strong&gt;Vendas&lt;/strong&gt; e altere sua propriedade &lt;strong&gt;Max  Occurs&lt;/strong&gt; para &lt;strong&gt;unbounded.&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;b&gt;OBS: Caso alguns dos campos retornem vazios na execução da procedure, o campo  não será criado no schema. Depois é só criar normalmente, respeitando a ordem em  que eles aparecem no resultado.&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;h2&gt;Configurando a Send Port.&lt;/h2&gt;&lt;div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Com os novos adaptadores WCF, ao gerar um schema, também é criado um binding  que nos ajuda a configurar a Receive ou Send Port. &lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;a href=&quot;https://www.blogger.com/blogger.g?blogID=4464501935573158049&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;/a&gt;Utilizando a técnica FOR XML temos que configurar as portas a moda antiga, ou  seja, na munheca. :)&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;No &lt;/span&gt;&lt;strong style=&quot;text-align: justify;&quot;&gt;Administration Console&lt;/strong&gt;&lt;span style=&quot;text-align: justify;&quot;&gt; crie uma &lt;/span&gt;&lt;strong style=&quot;text-align: justify;&quot;&gt;Send  Port&lt;/strong&gt;&lt;span style=&quot;text-align: justify;&quot;&gt; do tipo &lt;/span&gt;&lt;strong style=&quot;text-align: justify;&quot;&gt;Request Response&lt;/strong&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Escolha o &lt;strong&gt;Adaptador WCF-SQL&lt;/strong&gt; e clique em  &lt;strong&gt;Configure&lt;/strong&gt;.  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na Guia &lt;strong&gt;General&lt;/strong&gt;, seção &lt;strong&gt;Endpoint Address&lt;/strong&gt;,  clique em &lt;strong&gt;Configure&lt;/strong&gt; e coloque as informações pertinentes ao  banco.  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;No &lt;strong&gt;Action&lt;/strong&gt;, digite:&lt;/li&gt;&lt;/ol&gt;&lt;div style=&quot;text-align: center;&quot;&gt;XmlProcedure/dbo/spPocSchemaForXml.&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-L17d_P__rtc/U6xHjIleFFI/AAAAAAAAElw/DmVNfGq7BGs/s1600/blog8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-L17d_P__rtc/U6xHjIleFFI/AAAAAAAAElw/DmVNfGq7BGs/s1600/blog8.png&quot; height=&quot;302&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na aba bingind, na seção &lt;strong&gt;FOR XML&lt;/strong&gt;, digite o node de response  do nosso schema na propriedade &lt;strong&gt;XmlStoredProcedureRootNodeName.&lt;/strong&gt;  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na propriedade&lt;strong&gt; XmlStoredProcedureRootNodeNameNamespace  &lt;/strong&gt;digite o namespace do schema criado&lt;strong&gt;.&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Vt4oQs7sS0w/U6xH1CGSZLI/AAAAAAAAEl4/TJrZwGZ2H2s/s1600/blog9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-Vt4oQs7sS0w/U6xH1CGSZLI/AAAAAAAAEl4/TJrZwGZ2H2s/s1600/blog9.png&quot; height=&quot;272&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;h2&gt;Configurando a Receive Port.&lt;/h2&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;/div&gt;&lt;ol&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Para usar um schema com FOR XML não é preciso seguir a primeira parte do  post.  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;No Administration Console, crie uma Receive Port e Receive Location do tipo  One-Way.  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Escolha o &lt;strong&gt;Adaptador WCF-SQL&lt;/strong&gt; e clique em  &lt;strong&gt;Configure&lt;/strong&gt;.  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na Guia &lt;strong&gt;General&lt;/strong&gt;, seção &lt;strong&gt;Endpoint Address&lt;/strong&gt;,  clique em &lt;strong&gt;Configure&lt;/strong&gt; e coloque as informações pertinentes ao  banco.  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na aba bingind, na seção &lt;strong&gt;FOR XML&lt;/strong&gt;, digite o node de request  do schema na propriedade &lt;strong&gt;XmlStoredProcedureRootNodeName.&lt;/strong&gt;  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na propriedade&lt;strong&gt; XmlStoredProcedureRootNodeNameNamespace  &lt;/strong&gt;digite o namespace do schema criado&lt;strong&gt;.&lt;/strong&gt;  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na seção &lt;strong&gt;Inbound&lt;/strong&gt; no combo  &lt;strong&gt;InboundOperationType&lt;/strong&gt;, escolha &lt;strong&gt;XmlPooling.&lt;/strong&gt;  &lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;Na seção &lt;strong&gt;Pooling (Inbound)&lt;/strong&gt;, preencha as propriedades  &lt;strong&gt;PooledDataAvailableStatement&lt;/strong&gt; e  &lt;strong&gt;PoolingStatement&lt;/strong&gt;, com a query para verificar se existe dados  disponiveis e com o nome da procedure respectivamente.&amp;nbsp;&lt;/li&gt;&lt;/ol&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-s70oZ2PaXOI/U6xIQSL44fI/AAAAAAAAEmA/KhjCEhr9m_E/s1600/blog10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-s70oZ2PaXOI/U6xIQSL44fI/AAAAAAAAEmA/KhjCEhr9m_E/s1600/blog10.png&quot; height=&quot;400&quot; width=&quot;321&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Então é isso. Fácil ne?&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Neste artigo vimos como criar um schema a partir de uma procedure com a clausula FOR XML.&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;Até a próxima.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;E voce? Já ajudou a comunidade hoje?&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/8842372510419864244/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2014/06/criar-schema-para-procedure-com-for-xml.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8842372510419864244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8842372510419864244'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2014/06/criar-schema-para-procedure-com-for-xml.html' title='Criar Schema para Procedure com FOR XML - WCF SQL'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-6VKq5P7tg5Q/U6wwVlynFQI/AAAAAAAAEkk/ISxFA80U7Qc/s72-c/blog1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-8132380847118497373</id><published>2013-12-04T16:40:00.001-02:00</published><updated>2013-12-04T16:40:02.941-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Erros"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF-BasicHttp"/><title type='text'>Erro ao Acessar Servico WCF - Receive location for address MyService.svc&quot; not found. (The BizTalk receive location may be disabled.)</title><content type='html'>&lt;p align=&quot;justify&quot;&gt;Como vimos &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/12/publicando-orchestration-como.html&quot;&gt;anteriormente&lt;/a&gt;, publicar uma orchestration como Serviço pode ser um pouco delicado.&lt;/p&gt;  &lt;p align=&quot;justify&quot;&gt;Isso porque os adaptadores WCF-BasicHttp ou qualquer outro que configurado na Receive Location, esteja apontando para um serviço hospedado no ISS, exige que esssa Receive Location esteja ativa para funcionar.&lt;/p&gt;  &lt;p align=&quot;justify&quot;&gt;Mas também esse erro pode acontecer caso o adaptador seja diferente daquele usado ao publicar o serviço.&lt;/p&gt;  &lt;p align=&quot;justify&quot;&gt;Isso significa que somos obrigados a usar o mesmo adaptador na Receive Location, que usamos para publicar a orchestration com o Biztalk WCF Service Publishing Wizard:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/-0nfX79jbQXw/Up927nGNLQI/AAAAAAAADqc/JwVMqD5UuGI/s1600-h/image_thumb6%25255B3%25255D.png&quot;&gt;&lt;img title=&quot;image_thumb6&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image_thumb6&quot; src=&quot;http://lh5.ggpht.com/-7qbkA3EUt8Y/Up929JeJ7KI/AAAAAAAADqk/fI1JYU6Pm-4/image_thumb6_thumb.png?imgmax=800&quot; width=&quot;472&quot; height=&quot;371&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Receive Location utilizando o mesmo Adaptador:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh6.ggpht.com/-_qCGqbeq3Pg/Up92-XaVCLI/AAAAAAAADqs/kc_lUkm-m2c/s1600-h/image%25255B4%25255D.png&quot;&gt;&lt;img title=&quot;image&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-lwbkR-j3oAM/Up93AJCKfyI/AAAAAAAADq0/9kHxuc2kJYQ/image_thumb%25255B2%25255D.png?imgmax=800&quot; width=&quot;468&quot; height=&quot;379&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Nesse artigo vimos que as configurações que usamos para publicar a orchestration como Serviço WCF, devem ser as mesmas da Receive Location.&lt;/p&gt;  &lt;p&gt;E por hoje é só.&lt;/p&gt;  &lt;p&gt;Até.&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/8132380847118497373/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/erro-ao-acessar-servico-wcf-receive.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8132380847118497373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8132380847118497373'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/erro-ao-acessar-servico-wcf-receive.html' title='Erro ao Acessar Servico WCF - Receive location for address MyService.svc&amp;quot; not found. (The BizTalk receive location may be disabled.)'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-7qbkA3EUt8Y/Up929JeJ7KI/AAAAAAAADqk/fI1JYU6Pm-4/s72-c/image_thumb6_thumb.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-3749790971841084941</id><published>2013-12-04T16:22:00.001-02:00</published><updated>2013-12-04T16:29:53.063-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Erros"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF-BasicHttp"/><title type='text'>Erro ao Autenticar um usuario WCF: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http]</title><content type='html'>No &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/12/publicando-orchestration-como.html&quot;&gt;Post Anterior&lt;/a&gt;, falamos sobre Autenticar o usuário em um serviço WCF. &lt;br /&gt;&lt;br /&gt;Ainda naquele contexto, em uma Receive Location configurada com o adaptador WCF-BasicHttp e uma orchestration publicada como serviço no IIS, estava aparecendo o erro abaixo, ao acessar o serviço no Browser:&lt;br /&gt;&lt;blockquote&gt;Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http].&lt;/blockquote&gt;Pesquisando na Internet, vi muitos blogs, artigos falando que faltava o binding BasicHttpBinding no web.config do serviço.&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Porém quando publicamos uma orchestration como serviço, o web.config é um pouco diferente. O Biztalk não usa as tags BasicHttpBinding ou a tag servicemodel dentro do desse arquivo. &lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Todas essas configurações estão encapsuladas na Receive Location, nas configurações do Adaptador, nesse caso no WCF-BasicHttp.&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;Então aqui nessa situação, eu estava configurando minha Receive Location de forma errada:&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-0QnQ5_-E0Bc/Up9y8-CmrKI/AAAAAAAADqI/PiWz050gtIk/s1600-h/image%25255B4%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;464&quot; src=&quot;http://lh5.ggpht.com/-h3Az_UMS4M8/Up9y-FG5cRI/AAAAAAAADqQ/HdDMpWQHMfQ/image_thumb%25255B2%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom: 0px; border-left: 0px; border-right: 0px; border-top: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;333&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Eu estava usando a opção no &lt;strong&gt;Security mode&lt;/strong&gt; como &lt;strong&gt;Transport&lt;/strong&gt;. Quando eu deveria estar usando &lt;strong&gt;TransportCredentialOnly&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;É isso. Até mais.</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/3749790971841084941/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/erro-ao-autenticar-um-usuario-wcf-could.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/3749790971841084941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/3749790971841084941'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/erro-ao-autenticar-um-usuario-wcf-could.html' title='Erro ao Autenticar um usuario WCF: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http]'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-h3Az_UMS4M8/Up9y-FG5cRI/AAAAAAAADqQ/HdDMpWQHMfQ/s72-c/image_thumb%25255B2%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-2389133727058552594</id><published>2013-12-04T15:56:00.001-02:00</published><updated>2013-12-04T16:07:39.538-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="WCF"/><category scheme="http://www.blogger.com/atom/ns#" term="WCF-BasicHttp"/><title type='text'>Publicando Orchestration como Serviço - WCF-BasicHttp</title><content type='html'>&lt;div align=&quot;justify&quot;&gt;Olá Pessoal, &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Hoje vou mostrar como transformar uma orchestration em um serviço WCF e configurar esse serviço para trabalhar com autenticação básica do usuário.&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Sobre o WCF, o Richard Seroter escreveu uma série de &lt;a href=&quot;http://seroter.wordpress.com/biztalk-wcf-article-series/&quot;&gt;artigos&lt;/a&gt; que vale a pena serem conferidos. &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;O Biztalk disponibiliza vários adaptadores baseados em WCF, e já falamos bastante sobre alguns deles por aqui, como o &lt;a href=&quot;http://www.biztalkbrasil.com.br/search/label/WCF-Oracle&quot;&gt;WCF-Oracle&lt;/a&gt;, o &lt;a href=&quot;http://www.biztalkbrasil.com.br/search/label/WCF-SQL&quot;&gt;WCF-SQL&lt;/a&gt; e o &lt;a href=&quot;http://www.biztalkbrasil.com.br/search/label/WCF-SAP&quot;&gt;WCF-SAP&lt;/a&gt;. &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Mas ainda faltava falar sobre o &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb246055.aspx&quot;&gt;WCF-BasicHttp&lt;/a&gt;. Esse adaptador é o mais indicado quando precisamos nos comunicar com plataformas que não são .NET através da internet e é o que promove mais compatibilidade.&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;Publicando o Projeto no GAC.&lt;/h3&gt;Primeiro vou criar um projeto dummy, só para poder publicá-lo como WCF.&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-MSdaJWcEgaY/Up9r5i1VEpI/AAAAAAAADmQ/ofC5SMlVmUM/s1600-h/image%25255B3%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;187&quot; src=&quot;http://lh3.ggpht.com/-8fmM_az6nys/Up9r67MsDJI/AAAAAAAADmY/TEHQsVzoW5E/image_thumb%25255B1%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;466&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ao criar a &lt;strong&gt;Receive Logical Port&lt;/strong&gt;, a propriedade &lt;strong&gt;Type Modifier&lt;/strong&gt; da &lt;strong&gt;Port Type&lt;/strong&gt; tem que estar como &lt;strong&gt;Public&lt;/strong&gt;.&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-9MILtxMp9hk/Up9r7vVlKvI/AAAAAAAADmg/fFZKysK5etY/s1600-h/image%25255B7%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;351&quot; src=&quot;http://lh6.ggpht.com/-EfJJrU16IcU/Up9r85eTY-I/AAAAAAAADmo/MntE3xB2868/image_thumb%25255B3%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;227&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;Feito isso já podemos usar o Wizard que irá publicar essa Orchestration.&lt;/div&gt;&lt;ol&gt;&lt;li&gt;     &lt;div align=&quot;justify&quot;&gt;Clique em &lt;strong&gt;Tools&lt;/strong&gt; –&amp;gt;; &lt;strong&gt;Biztalk WCF Service Publish Wizard&lt;/strong&gt;, para abrir o Wizard &lt;/div&gt;&lt;/li&gt;&lt;li&gt;     &lt;div align=&quot;justify&quot;&gt;Clique em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;     &lt;div align=&quot;justify&quot;&gt;Na opção &lt;strong&gt;Adapter Name&lt;/strong&gt;, escolha &lt;strong&gt;WCF-BasicHttp&lt;/strong&gt; &lt;/div&gt;&lt;/li&gt;&lt;li&gt;     &lt;div align=&quot;justify&quot;&gt;Habilite a opção &lt;strong&gt;Enable on-premise metadata exchange&lt;/strong&gt;. &lt;/div&gt;&lt;/li&gt;&lt;li&gt;     &lt;div align=&quot;justify&quot;&gt;Se quiser que o &lt;strong&gt;Wizard&lt;/strong&gt; crie a &lt;b&gt;Receive Location&lt;/b&gt; deixe essa opção habilitada. &lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href=&quot;http://lh5.ggpht.com/-i3RUIX4mObc/Up9r9ikvI4I/AAAAAAAADmw/hX0ZGw9tKCM/s1600-h/image%25255B12%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;371&quot; src=&quot;http://lh6.ggpht.com/-N_z-x9JeYks/Up9r-_QL-LI/AAAAAAAADm4/3vzxKEG6kTs/image_thumb%25255B6%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;472&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Next&lt;/strong&gt;.       &lt;a href=&quot;http://lh4.ggpht.com/-jLPrhxDU20w/Up9r_6zZxvI/AAAAAAAADnA/u6wz2HKr46A/s1600-h/image%25255B17%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;361&quot; src=&quot;http://lh3.ggpht.com/-OI-uBpvp3zQ/Up9sBJQLfgI/AAAAAAAADnI/Ylmu-d2PKtE/image_thumb%25255B9%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;460&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Deixe a primeira opção Publish &lt;strong&gt;Biztalk Orchestration as WCF Service&lt;/strong&gt; habilitada.       &lt;a href=&quot;http://lh5.ggpht.com/-4pLWeYvPykw/Up9sCXO8BQI/AAAAAAAADnQ/Ni5_sRdZ-xA/s1600-h/image%25255B22%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;355&quot; src=&quot;http://lh4.ggpht.com/-Nel08AnBhLg/Up9sIujycDI/AAAAAAAADnY/LjyiNu5HB70/image_thumb%25255B12%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;455&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Next.&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Procure pela Dll do projeto. &lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Next&lt;/strong&gt;.       &lt;a href=&quot;http://lh3.ggpht.com/-C_c-QlDfQh0/Up9sRwhQoUI/AAAAAAAADng/2fNB66B0qdM/s1600-h/image%25255B27%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;354&quot; src=&quot;http://lh4.ggpht.com/-2pbZY5xiDM0/Up9sUy211PI/AAAAAAAADno/TWKeWYN0zzM/image_thumb%25255B15%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;456&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Clique em Next.      &lt;a href=&quot;http://lh5.ggpht.com/-qLf4x3LumYU/Up9sXUzwH0I/AAAAAAAADnw/gQ1aaYr20Ok/s1600-h/image%25255B32%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;360&quot; src=&quot;http://lh3.ggpht.com/-lJeJa2ffYLY/Up9sbr9FvSI/AAAAAAAADn4/UTE3z-wWyPM/image_thumb%25255B18%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;456&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Aqui ele sugere colocar o namespace &lt;a href=&quot;http://tempuri.org/&quot; title=&quot;http://POC_WCF_Authentication/&quot;&gt;http://tempuri.org/&lt;/a&gt;, mas eu costumo colocar o nome do projeto.&lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Next&lt;/strong&gt;.       &lt;a href=&quot;http://lh5.ggpht.com/-YnrtWFymcUs/Up9scpcn0wI/AAAAAAAADoA/uVTNAJg43eY/s1600-h/image%25255B37%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;358&quot; src=&quot;http://lh3.ggpht.com/-GuliKFOSZpw/Up9seSPqC3I/AAAAAAAADoI/dNYOBhki5Vg/image_thumb%25255B21%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;456&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Deixe a opção &lt;strong&gt;Allow anonymous acces to WCF service&lt;/strong&gt; desmarcada&lt;strong&gt;.&lt;/strong&gt; &lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Next.&lt;/strong&gt;       &lt;a href=&quot;http://lh5.ggpht.com/-vtmobvx6mzU/Up9sg4qWX1I/AAAAAAAADoQ/qE-kSU9Yj4Y/s1600-h/image%25255B41%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;356&quot; src=&quot;http://lh4.ggpht.com/-yDjKA9Gjhew/Up9si1_JBVI/AAAAAAAADoY/D2f1UPMcBUo/image_thumb%25255B23%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;456&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;Clique em &lt;strong&gt;Create&lt;/strong&gt;. &lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;h3 align=&quot;justify&quot;&gt;Configurando a Autenticação do Usuário&lt;/h3&gt;&lt;div align=&quot;justify&quot;&gt;O WCF permite diversas formas de autenticação do usuário. &lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Optei pela mais simples, que é a Basic Authentication, onde o usuário deve ser um usuário da rede, criado no AD e deve passar o seu usuário e senha na chamada do serviço.&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Depois de feito o Deploy do projeto e publicarmos a Orchestration como um serviço, devemos ir no &lt;strong&gt;Biztalk Administration Console&lt;/strong&gt;.&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align=&quot;justify&quot;&gt;Podemos notar que uma Receive Port e Receive Location foram criadas.&lt;/div&gt;&lt;a href=&quot;http://lh6.ggpht.com/-gorB9iGbF08/Up9ske-xZqI/AAAAAAAADog/mj7KpLT6kR8/s1600-h/image%25255B45%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;167&quot; src=&quot;http://lh4.ggpht.com/-Px98hsZbLhk/Up9smA9sV7I/AAAAAAAADoo/Btqdy7fYA20/image_thumb%25255B25%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;455&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Clique 2x nessa porta para alterá-la. &lt;/li&gt;&lt;li&gt;No Adaptador WCF-BasicHttp clique em &lt;strong&gt;Configure&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;Na aba &lt;strong&gt;Security&lt;/strong&gt;, na opção &lt;strong&gt;Security mode&lt;/strong&gt;, escolha &lt;strong&gt;TransportCredentialOnly&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;Na opção &lt;strong&gt;Transport client credential type&lt;/strong&gt;, escolha &lt;strong&gt;Basic&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;Clique em OK.      &lt;a href=&quot;http://lh6.ggpht.com/-N30XyN7nbKk/Up9soBFSMWI/AAAAAAAADow/1MnzUuw21Ac/s1600-h/image%25255B50%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;430&quot; src=&quot;http://lh4.ggpht.com/-YYJTDyOsPAA/Up9srWTzQRI/AAAAAAAADo4/XHcKgOKtrEM/image_thumb%25255B28%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;311&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;Abra o &lt;strong&gt;IIS&lt;/strong&gt;. Clique em Iniciar –&amp;gt;; Todos os Programas –&amp;gt;; Ferramentas Administrativas e em &lt;strong&gt;Internet Information Service (IIS) Manager&lt;/strong&gt;. &lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;Clique em cima do projeto e em Feature View.&lt;/span&gt;       &lt;a href=&quot;http://lh6.ggpht.com/-2xBGppFjilM/Up9ssZe5EUI/AAAAAAAADpA/_miFL4Gwo94/s1600-h/image%25255B54%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;179&quot; src=&quot;http://lh6.ggpht.com/-PhE-9SyHKAE/Up9sudw9ZwI/AAAAAAAADpI/nRNIgoOGAu4/image_thumb%25255B30%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;450&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;   &lt;/li&gt;&lt;li&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt;Clique 2x em &lt;strong&gt;Authentication&lt;/strong&gt;.&lt;/span&gt; &lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Depois clique com o botão direito em cima de &lt;strong&gt;Basic Authentication&lt;/strong&gt; e em &lt;strong&gt;Enable&lt;/strong&gt;.&lt;/span&gt; &lt;/li&gt;&lt;/ol&gt;&lt;a href=&quot;http://lh3.ggpht.com/-Pp3xrYoQKWk/Up9svi0dT-I/AAAAAAAADpQ/NBnZ2UsPN9c/s1600-h/image%25255B58%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;216&quot; src=&quot;http://lh6.ggpht.com/-MFRVLwBOWuM/Up9sxmR4QiI/AAAAAAAADpY/k60u4p66y1g/image_thumb%25255B32%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;346&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Está feito.&lt;br /&gt;Ao tentar acessar o Serviço pelo Browser Internet Explorer, vai aparecer uma telinha para colocar o nome do usuário e senha.&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-_gJkt5G8Z2c/Up9sy2fCWZI/AAAAAAAADpg/FSJoDRb11FU/s1600-h/image%25255B61%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;208&quot; src=&quot;http://lh4.ggpht.com/-SXQ-WZjHC9Q/Up9szzvhhLI/AAAAAAAADpo/GvcOIyjfEIk/image_thumb%25255B33%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;244&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Depois de colocar as informações. Está ai, serviço configurado e funcionando.&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-n1Idh8QpYms/Up9s1a2qL_I/AAAAAAAADpw/dmwqBG-mUMQ/s1600-h/image%25255B69%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;322&quot; src=&quot;http://lh3.ggpht.com/-4ZObenqMg5c/Up9s2qTlQwI/AAAAAAAADp4/e6BSkpjec68/image_thumb%25255B37%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;623&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div align=&quot;justify&quot;&gt;&lt;span style=&quot;color: black; font-size: small;&quot;&gt; Nesse post vimos como Autenticar o usuário através do WCF-BasicHttp.&lt;/span&gt;&lt;/div&gt;Espero ter ajudado. &lt;br /&gt;&lt;br /&gt;Até a próxima.</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/2389133727058552594/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/publicando-orchestration-como.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2389133727058552594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/2389133727058552594'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/publicando-orchestration-como.html' title='Publicando Orchestration como Serviço - WCF-BasicHttp'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/-8fmM_az6nys/Up9r67MsDJI/AAAAAAAADmY/TEHQsVzoW5E/s72-c/image_thumb%25255B1%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-8673201794228382976</id><published>2013-12-02T10:12:00.001-02:00</published><updated>2013-12-02T10:17:51.938-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Dinamica"/><category scheme="http://www.blogger.com/atom/ns#" term="EDIFACT"/><category scheme="http://www.blogger.com/atom/ns#" term="FILE Adapter"/><title type='text'>Setando Porta Dinamica - EDI</title><content type='html'>Olá Pessoal.&lt;br /&gt;&lt;br /&gt;Hoje vou falar sobre setar porta dinamica para enviar uma mensagem EDI dentro da orchestration. Já postei &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/12/recebendo-e-trabalhando-com-mensagens.html&quot;&gt;aqui&lt;/a&gt; um pouco sobre o EDI.&lt;br /&gt;&lt;br /&gt;Considerem o seguinte cenario:&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;FABRIKAM envia a mensagem EDIFACT para CONTOSO.&lt;/li&gt;&lt;li&gt;CONTOSO por sua vez recebe essa mensagem e faz algum processamento.&lt;/li&gt;&lt;li&gt;CONTOSO envia mensagem EDIFACT para diretório dinamico, para ser processada por sistema Interno.&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;Então eu estou usando uma porta dinamica comum dentro da orchestration e que poderia setar dessa forma.&lt;br /&gt;&lt;br /&gt;&lt;!-- code formatted by http://manoli.net/csharpformat/ --&gt;  &lt;br /&gt;&lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;port_Dynamic_EDIFACT(Microsoft.XLANGs.BaseTypes.Address) = &lt;span class=&quot;str&quot;&gt;@&quot;file://&quot;&lt;/span&gt;+strPath+&lt;span class=&quot;str&quot;&gt;&lt;a href=&quot;file://%25sourcefilename%25/&quot;&gt;\\%SourceFileName%&lt;/a&gt;&lt;/span&gt;;&lt;/pre&gt;&lt;br /&gt;&lt;/div&gt;Até aqui nenhuma novidade, o problema é que o sistema Interno só aceita EDIFACT, e dessa forma eu não estou usando os Agreements configurados no Console do Biztalk.&lt;br /&gt;&lt;br /&gt;Então a mensagem não setava corretamente o parceiro, sendo gravada no diretório dinamico dessa maneira:&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-6WiGR174utM/Upx5HqMAfHI/AAAAAAAADk4/B9OrX-uS7KM/s1600-h/image4.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;290&quot; src=&quot;http://lh3.ggpht.com/-COHwZiozEeI/Upx5IgGkwoI/AAAAAAAADlA/PKLjc2dNDnA/image_thumb2.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;470&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Notem o BTS-SENDER e o RECEIVE-PARTNER.&lt;br /&gt;&lt;br /&gt;Isso quer dizer que o Biztalk não identificou o parceiro daquela mensagem, e jogou o parceiro padrão do sistema.&lt;br /&gt;&lt;br /&gt;Para evitar isso devemos setar também o parceiro na mensagem. Segue:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;csharpcode&quot;&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   1:  &lt;/span&gt;msgOUT = msgIN;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   2:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   3:  &lt;/span&gt;Port_2(Microsoft.XLANGs.BaseTypes.Address) = &lt;span class=&quot;str&quot;&gt;@&quot;file://C:\\Ruth\\%SourceFileName%&quot;&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   4:  &lt;/span&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   5:  &lt;/span&gt;msgOUT(EDI.DestinationPartySenderIdentifier) = &lt;span class=&quot;str&quot;&gt;&quot;7654321&quot;&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   6:  &lt;/span&gt;msgOUT(EDI.DestinationPartySenderQualifier) = &lt;span class=&quot;str&quot;&gt;&quot;&quot;&lt;/span&gt;;&lt;/pre&gt;&lt;pre class=&quot;alt&quot;&gt;&lt;span class=&quot;lnum&quot;&gt;   7:  &lt;/span&gt;msgOUT(EDI.DestinationPartyReceiverIdentifier) = &lt;span class=&quot;str&quot;&gt;&quot;1234567&quot;&lt;/span&gt;;&lt;/pre&gt;&lt;pre&gt;&lt;span class=&quot;lnum&quot;&gt;   8:  &lt;/span&gt;msgOUT(EDI.DestinationPartyReceiverQualifier) = &lt;span class=&quot;str&quot;&gt;&quot;&quot;&lt;/span&gt;;&lt;/pre&gt;&lt;/div&gt;&lt;br /&gt;Essas propriedades EDI para serem acessadas, é preciso adicionar a referencia Microsoft.BizTalk.Edi.BaseArtifacts.dll, ao projeto. Segue o caminho disponivel:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;C:\Windows\assembly\GAC_MSIL\Microsoft.BizTalk.Edi.BaseArtifacts\3.0.1.0__31bf3856ad364e35\Microsoft.BizTalk.Edi.BaseArtifacts.dll&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;Segue a mensagem de saída com o parceiro configurado e garantido que está usando o Agreement.&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-LfXwhlUdFUk/Upx5JXZVutI/AAAAAAAADlI/H_qYV1Dc1o8/s1600-h/image9.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;381&quot; src=&quot;http://lh6.ggpht.com/-F7KtCnEv9O8/Upx5KR4M3BI/AAAAAAAADlQ/ZnipilcLqBw/image_thumb5.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;518&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Referencia: &lt;a href=&quot;http://blogs.msdn.com/b/biztalkb2b/archive/2007/02/12/key-new-feature-in-february-ctp.aspx&quot;&gt;http://blogs.msdn.com/b/biztalkb2b/archive/2007/02/12/key-new-feature-in-february-ctp.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;É isso, Até a próxima.&lt;br /&gt;&lt;br /&gt;E você? Já ajudou a comunidade hoje?</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/8673201794228382976/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/setando-porta-dinamica-edi.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8673201794228382976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/8673201794228382976'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/setando-porta-dinamica-edi.html' title='Setando Porta Dinamica - EDI'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh3.ggpht.com/-COHwZiozEeI/Upx5IgGkwoI/AAAAAAAADlA/PKLjc2dNDnA/s72-c/image_thumb2.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-7500222030802421273</id><published>2013-12-02T10:00:00.001-02:00</published><updated>2013-12-02T10:24:45.617-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="EDI"/><category scheme="http://www.blogger.com/atom/ns#" term="FILE Adapter"/><title type='text'>Recebendo e Trabalhando com Mensagens EDI</title><content type='html'>Olá Pessoal. &lt;br /&gt;&lt;br /&gt;Voltando a postar no Blog depois de um loooongo período de férias, :)&lt;br /&gt;Aconteceu muitas coisas boas nesse ano de 2013, e uma delas é a minha oportunidade de trabalhar com o novo Biztalk 2013 e o mundo EDI.&lt;br /&gt;Está sendo um aprendizado e tanto, então esperem ver muitos posts sobre EDIFACT por aqui.&lt;br /&gt;&lt;br /&gt;Para aqueles que não conhecem o &lt;a href=&quot;http://pt.wikipedia.org/wiki/EDI&quot;&gt;EDI&lt;/a&gt; é um formato de arquivo padronizado e que é mundialmente utilizado. &lt;br /&gt;Existem muitas mensagens diferentes, para diversos fins, cada uma com o seu schema e suas particularidades. Para mais informações, &lt;a href=&quot;http://www.edibasics.co.uk/edi-resources/document-standards/edifact/&quot;&gt;clique aqui&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Para trabalhar com EDI no Biztalk, ainda na parte de Configuração, precisamos habilitar o serviço &lt;strong&gt;Biztalk EDI/AS2 Runtime&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-CfjFzrY1k3U/Upx2Uj00XQI/AAAAAAAADj0/XjYZgvY8Nlw/s1600-h/image%25255B4%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;319&quot; src=&quot;http://lh5.ggpht.com/-oWyY7EQDXLI/Upx2V3a9HmI/AAAAAAAADj8/JnRa181lSFw/image_thumb%25255B2%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;397&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Feito isso, irá aparecer a aplicação&lt;strong&gt; Biztalk EDI Application&lt;/strong&gt;, que deve estar iniciada.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-GOzPtDicrpk/Upx2WgxGt-I/AAAAAAAADkE/ZR2ejU-3FLA/s1600-h/image%25255B9%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;194&quot; src=&quot;http://lh4.ggpht.com/-KNkzUoiUD3Q/Upx2YBkbtdI/AAAAAAAADkM/WQtsrMT9Sgc/image_thumb%25255B5%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;573&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Agora sim, podemos criar um Parceiro e o seu &lt;strong&gt;Agreement&lt;/strong&gt; para Receber a mensagem.&lt;br /&gt;&lt;br /&gt;Um &lt;strong&gt;Agreement Resolution&lt;/strong&gt; nada mais é do que um Contrato entre o Parceiro e a sua empresa e que permite receber uma mensagem EDIFACT ou X12.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Por que o Agreement Resolution é importante?&lt;/h2&gt;&lt;br /&gt;Normalmente em uma empresa, recebemos mensagens de vários parceiros, e cada um deles pode enviar a mensagem de forma diferente: uns usam o separador decimal como ponto (.), outros podem usar como virgula (,). Enquanto um parceiro pode usar o enter (CR LF) como terminador da linha, outro pode enviar sem enter. Então são vários detalhes, que podem dificultar o recebimento da mensagem.&lt;br /&gt;&lt;br /&gt;O Agreement é importante porque nos dá uma enorme flexibilidade para configurar a mensagem, exatamente do jeito que o parceiro envia. &lt;br /&gt;&lt;br /&gt;A mensagem EDIFACT é parecida com a figura abaixo:&lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-Q-cH2-3HzAE/Upx2Y-zMn4I/AAAAAAAADkU/Fmdch4Qu4Sw/s1600-h/image%25255B19%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;318&quot; src=&quot;http://lh5.ggpht.com/--r7DgCCXbZE/Upx2ZiXyCDI/AAAAAAAADkc/Ih2U5qk-Zk8/image_thumb%25255B11%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;507&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Então o parceiro enviaria um código, previamente combinado, no&amp;nbsp; lugar do texto PARCEIROA, que identificaria essa mensagem como sendo dele próprio. &lt;br /&gt;&lt;br /&gt;Ao receber esse EDIFACT o Biztalk consegue identificar a qual Agreement ele pertence, e usar essas configurações para importar a mensagem para o MessaBox.&lt;br /&gt;&lt;br /&gt;O Biztalk suporta 2 tipos de mensagens EDI:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;EDIFACT e &lt;/li&gt;&lt;li&gt;X12 &lt;/li&gt;&lt;/ol&gt;E podemos receber essas mensagens através de duas formas: &lt;br /&gt;&lt;ol&gt;&lt;li&gt;Via FILE Adapter, onde nessa Receive Location é apontado para um diretório na rede, utilizando o pipeline EdiReceive. &lt;/li&gt;&lt;li&gt;Via HTTP Adapter, utilizando o pipeline AS2EdiReceive. &lt;/li&gt;&lt;/ol&gt;&lt;a href=&quot;http://mohsinkalam.wordpress.com/2007/09/27/introduction-to-microsoft-biztalk-r2-edi/&quot;&gt;Nesse artigo&lt;/a&gt;, tem uma imagem bem legal, que ilustra como funciona o recebimento de uma mensagem EDI.&lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-DLQ7kxK9zZ8/Upx2aiBLmCI/AAAAAAAADkk/5_77h-593bg/s1600-h/image%25255B23%25255D.png&quot;&gt;&lt;img alt=&quot;image&quot; border=&quot;0&quot; height=&quot;262&quot; src=&quot;http://lh3.ggpht.com/-ooyhGU6t7t4/Upx2buoAQNI/AAAAAAAADks/uUJ-5MKSCu4/image_thumb%25255B13%25255D.png?imgmax=800&quot; style=&quot;background-image: none; border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; display: inline; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot; title=&quot;image&quot; width=&quot;406&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://msdn.microsoft.com/en-us/library/bb226404.aspx&quot; target=&quot;_blank&quot;&gt;Nesse outro artigo&lt;/a&gt;, explica como funciona o EDI Disassembler, componente disponivel ao criarmos um pipeline customizado.&lt;br /&gt;&lt;br /&gt;Então é isso, espero que o funcionamento de mensagens EDI fique um pouco mais claro. &lt;br /&gt;&lt;br /&gt;Tem muita coisa bacana que o Biztalk pode fazer com as mensagens EDI e que facilita muito a nossa vida. Aos poucos vou postando mais sobre o assunto.&lt;br /&gt;&lt;br /&gt;Vlw pessoal, até a próxima.&lt;br /&gt;E você? Já ajudou a comunidade hoje?</content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/7500222030802421273/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/recebendo-e-trabalhando-com-mensagens.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/7500222030802421273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/7500222030802421273'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/12/recebendo-e-trabalhando-com-mensagens.html' title='Recebendo e Trabalhando com Mensagens EDI'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-oWyY7EQDXLI/Upx2V3a9HmI/AAAAAAAADj8/JnRa181lSFw/s72-c/image_thumb%25255B2%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-6497594726267594908</id><published>2013-08-24T13:41:00.001-03:00</published><updated>2013-08-24T13:41:23.859-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Administração"/><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="Biztalk 2009"/><category scheme="http://www.blogger.com/atom/ns#" term="Biztalk 2010"/><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk Server 2013"/><category scheme="http://www.blogger.com/atom/ns#" term="Documentação"/><category scheme="http://www.blogger.com/atom/ns#" term="Instalação"/><title type='text'>Lista de versões das ultimas três edições do BizTalk Server</title><content type='html'>&lt;p&gt;As tabelas a seguir irão fornecer uma visão geral de todas as versões e respectivos números de versão das ultimas três edições do BizTalk Server:&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BizTalk Server 2013&lt;/strong&gt;&lt;/p&gt;  &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;400&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;89&quot;&gt;&lt;strong&gt;Número da versão&lt;/strong&gt;&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;180&quot;&gt;&lt;strong&gt;Versão do BizTalk&lt;/strong&gt;&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;130&quot;&gt;&lt;strong&gt;Data da versão&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;89&quot;&gt;3.10.301.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;180&quot;&gt;Pacote de atualizações cumulativas 1 para BizTalk Server 2013 &lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;130&quot;&gt;17 de Abril de 2013 &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;89&quot;&gt;3.10.229.0&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;180&quot;&gt;         &lt;p&gt;BizTalk Server 2013&lt;/p&gt;       &lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;130&quot;&gt;21 de Março de 2013 &lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BizTalk Server 2010&lt;/strong&gt;&lt;/p&gt;  &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;400&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;strong&gt;Número da versão&lt;/strong&gt;&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;&lt;strong&gt;Versão do BizTalk&lt;/strong&gt;&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;&lt;strong&gt;Data da versão&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;3.9.575.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;Pacote de atualizações cumulativas 6 para BizTalk Server 2010&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;11 de Julho de 2013&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;3.9.556.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;Pacote de atualizações cumulativas 5 para BizTalk Server 2010&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;14 de Junho de 2012 &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;3.9.545.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;Pacote de atualizações cumulativas 4 para BizTalk Server 2010&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;9 de Fevereiro de 2012&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;3.9.542.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;Pacote de atualizações cumulativas 3 para BizTalk Server 2010&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;30 de Novembro de 2011&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;3.9.530.2 &lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;Pacote de atualizações cumulativas 2 para BizTalk Server 2010&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;31 de Agosto de 2011&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;3.9.522.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;Pacote de atualizações cumulativas 1 para BizTalk Server 2010&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;21 de Maio de 2011&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;90&quot;&gt;3.9.469.0&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;176&quot;&gt;BizTalk Server 2010&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;1 de Outubro de 2010&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;BizTalk Server 2009&lt;/strong&gt;&lt;/p&gt;  &lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; width=&quot;400&quot; border=&quot;0&quot;&gt;&lt;tbody&gt;     &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;87&quot;&gt;&lt;strong&gt;Número da versão&lt;/strong&gt;&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;179&quot;&gt;&lt;strong&gt;Versão do BizTalk&lt;/strong&gt;&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;&lt;strong&gt;Data da versão&lt;/strong&gt;&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;87&quot;&gt;3.8.475.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;179&quot;&gt;Pacote de atualizações cumulativas 5 para BizTalk Server 2009&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;6 de Janeiro de 2012&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;87&quot;&gt;3.8.473.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;179&quot;&gt;Pacote de atualizações cumulativas 4 para BizTalk Server 2009&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;1 de Novembro de 2011 &lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;87&quot;&gt;3.8.469.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;179&quot;&gt;Pacote de atualizações cumulativas 3 para BizTalk Server 2009&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;1 de Agosto de 2011&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;87&quot;&gt;3.8.463.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;179&quot;&gt;Pacote de atualizações cumulativas 2 para BizTalk Server 2009&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;27 de Março de 2011&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;87&quot;&gt;3.8.454.2&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;179&quot;&gt;Pacote de atualizações cumulativas 1 para BizTalk Server 2009&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;8 de Dezembro de 2010&lt;/td&gt;     &lt;/tr&gt;      &lt;tr&gt;       &lt;td valign=&quot;top&quot; width=&quot;87&quot;&gt;3.8.368.0&lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;179&quot;&gt;BizTalk Server 2009 &lt;/td&gt;        &lt;td valign=&quot;top&quot; width=&quot;133&quot;&gt;27 de Abril de 2010&lt;/td&gt;     &lt;/tr&gt;   &lt;/tbody&gt;&lt;/table&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Se pretenderes ter acesso à lista completa com todas as versões, poderás encontra-la na Microsoft TeckNet Wiki aqui: “&lt;a href=&quot;http://social.technet.microsoft.com/wiki/pt-br/contents/articles/19195.biztalk-server-lista-de-versoes.aspx&quot; target=&quot;_blank&quot;&gt;BizTalk Server: Lista de Versões&lt;/a&gt;”&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/6497594726267594908/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/08/lista-de-versoes-das-ultimas-tres.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/6497594726267594908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/6497594726267594908'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/08/lista-de-versoes-das-ultimas-tres.html' title='Lista de versões das ultimas três edições do BizTalk Server'/><author><name>Sandro Pereira</name><uri>http://www.blogger.com/profile/09569531933702984523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-1lsezKYlZqE/TjawDZJstsI/AAAAAAAAAC0/ZrQCoMJzdBU/s220/_DSC2075-vi.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-7927453027949622253</id><published>2013-07-18T06:00:00.000-03:00</published><updated>2013-07-18T06:00:02.227-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Administração"/><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="Documentação"/><category scheme="http://www.blogger.com/atom/ns#" term="Manutenção"/><category scheme="http://www.blogger.com/atom/ns#" term="Utilitários"/><title type='text'>Colecção de Visio 2013 Stencil para BizTalk Server</title><content type='html'>&lt;p&gt;Esta semana publiquei uma colecção de stencils para o Visio 2010, hoje disponibilizo a nova versão com 73 formas modernas para Visio 2013 que servem para representar arquiteturas físicas ou soluções de integração de BizTalk Server:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.ggpht.com/-BCYZ-mFubt4/UeXAiYddniI/AAAAAAAAAz0/058et48Vylg/s1600-h/BizTalk-Server-Stencils-For-Visio-2013%25255B3%25255D.png&quot;&gt;&lt;img title=&quot;BizTalk-Server-Stencils-For-Visio-2013&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;BizTalk-Server-Stencils-For-Visio-2013&quot; src=&quot;http://lh6.ggpht.com/-t3UR79dr-uI/UeXAi2Gd-EI/AAAAAAAAAz8/gdO7T6XdqlI/BizTalk-Server-Stencils-For-Visio-2013_thumb%25255B1%25255D.png?imgmax=800&quot; width=&quot;362&quot; height=&quot;196&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Instruções&lt;/strong&gt;:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Descarregar o arquivo e copiar para a pasta &amp;quot; C:\Users\you_user\Documents\My Shapes&amp;quot; (que é a pasta padrão para as formas personalizados do Visio) &lt;/li&gt;    &lt;li&gt;Para acrescentar estas novas shapes, seleccione a partir da janela Shapes: More Shapes -&amp;gt; My Shapes -&amp;gt; BizTalkServerStencilsForVisio2013.vssx” &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/-MGvOwYpuOoQ/UeXAjWikGYI/AAAAAAAAA0E/o4Oal387PrU/s1600-h/Add-BizTalk-Server-Stencils-For-Visio-2013-to-toolbox%25255B2%25255D.png&quot;&gt;&lt;img title=&quot;Add-BizTalk-Server-Stencils-For-Visio-2013-to-toolbox&quot; style=&quot;border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; float: none; padding-top: 0px; padding-left: 0px; margin-left: auto; border-left: 0px; display: block; padding-right: 0px; margin-right: auto&quot; border=&quot;0&quot; alt=&quot;Add-BizTalk-Server-Stencils-For-Visio-2013-to-toolbox&quot; src=&quot;http://lh4.ggpht.com/-CgoXPtiXOSg/UeXAkMZq16I/AAAAAAAAA0M/Q04t6GcVEno/Add-BizTalk-Server-Stencils-For-Visio-2013-to-toolbox_thumb.png?imgmax=800&quot; width=&quot;244&quot; height=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Poderá obter esta shapes a através do Microsoft TechNet Gallery: &lt;a href=&quot;http://gallery.technet.microsoft.com/Collection-of-Visio-2013-0283d5f4&quot; target=&quot;_blank&quot;&gt;Collection of Visio 2013 Stencil for BizTalk Server&lt;/a&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/7927453027949622253/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/07/coleccao-de-visio-2013-stencil-para.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/7927453027949622253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/7927453027949622253'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/07/coleccao-de-visio-2013-stencil-para.html' title='Colecção de Visio 2013 Stencil para BizTalk Server'/><author><name>Sandro Pereira</name><uri>http://www.blogger.com/profile/09569531933702984523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='31' src='http://2.bp.blogspot.com/-1lsezKYlZqE/TjawDZJstsI/AAAAAAAAAC0/ZrQCoMJzdBU/s220/_DSC2075-vi.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/-t3UR79dr-uI/UeXAi2Gd-EI/AAAAAAAAAz8/gdO7T6XdqlI/s72-c/BizTalk-Server-Stencils-For-Visio-2013_thumb%25255B1%25255D.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-9137219902901131609</id><published>2013-07-17T11:24:00.002-03:00</published><updated>2013-07-24T09:29:38.720-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="Certificado"/><title type='text'>Enviar mensagens Assinadas com Certificado - Parte 3</title><content type='html'>&lt;p&gt;No &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado_17.html&quot; target=&quot;_blank&quot;&gt;primeiro post&lt;/a&gt; desta série, vimos como Obter um Certificado Digital.     &lt;br /&gt;Nesse &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado-parte-2.html&quot; target=&quot;_blank&quot;&gt;segundo artigo&lt;/a&gt;, vimos como importar o Certificado e exportar suas Chaves Públicas e Privadas.&lt;/p&gt;  &lt;p&gt;&amp;#160; &lt;br /&gt;Nessa última parte veremos, como importar essa chave privada e pública para funcionar com o Biztalk. &lt;/p&gt;  &lt;br /&gt;Aqui vamos continuar exatamente de onde paramos no segundo artigo, e pressupor que seguimos as orientações descritas ali.   &lt;br /&gt;Isso inclui presumir que já estamos logados no servidor com o usuário certo, que já tomamos as devidas cautelas e que o mmc com o Certificado esta aberto, como na tela abaixo:   &lt;p&gt;   &lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-mglcurxRndM/Ueai-C1ooQI/AAAAAAAAC4I/PTR_g-p1Kzg/s1600-h/image4.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-nWJXkfzH5c0/UeajAwI0YPI/AAAAAAAAC4Q/Qdh3qdGynAw/image_thumb2.png?imgmax=800&quot; width=&quot;435&quot; height=&quot;270&quot; /&gt;&lt;/a&gt;     &lt;br /&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;h2&gt;Importar Chave Privada do Certificado&lt;/h2&gt; Lembrando que devemos estar logados no servidor com o mesmo usuário do Host Instance.   &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Expanda o node Certificates – Current User – Personal – Certificates. &lt;/li&gt;    &lt;li&gt;Clique com o botão direito&amp;#160; e em All Tasks –&amp;gt; Imports. Vai aparecer a seguinte tela: &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh6.ggpht.com/-D10CKbjKuvI/UeajFT1CQlI/AAAAAAAAC4Y/p7AnVdmDkr4/s1600-h/image5.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-kOuSu7ggaRs/UeajNlMlA6I/AAAAAAAAC4g/xV0BdfT38qw/image_thumb2%25255B1%25255D.png?imgmax=800&quot; width=&quot;457&quot; height=&quot;355&quot; /&gt;&lt;/a&gt;   &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clique em Next. &lt;/li&gt;    &lt;li&gt;No Botão Browse, procure o arquivo pfx que foi exportado no nosso Artigo anterior. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh3.ggpht.com/-ZVbngOywuHo/UeajPbQ_DyI/AAAAAAAAC4o/1tVzy_Nt3Tg/s1600-h/image12.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh4.ggpht.com/-oyAa5QZX8l0/UeajR-Su9ZI/AAAAAAAAC4w/2rQxeXo8fw4/image_thumb7.png?imgmax=800&quot; width=&quot;463&quot; height=&quot;358&quot; /&gt;&lt;/a&gt;   &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clique em Next. &lt;/li&gt;    &lt;li&gt;Digite a senha que foi usada ao exportar a chave privada. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh5.ggpht.com/-WXqFuqffDkQ/UeajTRjRLTI/AAAAAAAAC44/HBbZ2E6JQSA/s1600-h/image17.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-uT5RCdYKIT8/UeajV0ARRNI/AAAAAAAAC5A/IGayz2d-CHE/image_thumb10.png?imgmax=800&quot; width=&quot;460&quot; height=&quot;360&quot; /&gt;&lt;/a&gt;   &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clique em Next. &lt;/li&gt; &lt;/ul&gt; Agora deve ser possível ver o certificado importado na pasta.   &lt;br /&gt;Em produção, é necessário repetir esse processo para cada servidor que pode receber ou enviar uma mensagem criptografada.   &lt;br /&gt;  &lt;h2&gt;Importar Chave Pública do Certificado&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;Expanda o node Certificates (Local Computer) – Personal – Certificates. &lt;/li&gt;    &lt;li&gt;Clique com o botão direito e em All Tasks –&amp;gt; Imports. &lt;/li&gt;    &lt;li&gt;Vai aparecer a tela Certificate Import Wizard,&amp;#160; clique em Next. &lt;/li&gt;    &lt;li&gt;Na próxima tela clique em Browse e procure a chave pública, o arquivo .cer, que foi exportado no Aritgo Anterior. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh5.ggpht.com/-NU76oy_rPm8/Ueajc5enj1I/AAAAAAAAC5I/b1fpDe0e2hc/s1600-h/image%25255B4%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh5.ggpht.com/-5kEOuqHK6fw/Ueaji8_3e7I/AAAAAAAAC5Q/wFgvUyb-nq4/image_thumb%25255B1%25255D.png?imgmax=800&quot; width=&quot;467&quot; height=&quot;355&quot; /&gt;&lt;/a&gt;   &lt;br /&gt;  &lt;br /&gt;  &lt;h2&gt;Criar o projeto em Biztalk&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;Crie um novo projeto chamado POC.TesteCertificado &lt;/li&gt;    &lt;li&gt;Crie um schema simples pra receber uma mensagem, como na figura a seguir. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh5.ggpht.com/-bxuGK2X8Dps/Ueajkl5kzYI/AAAAAAAAC5Y/zisG0GDLJ8w/s1600-h/image%25255B7%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-s5CUR8FmvAw/Ueajnd1H9HI/AAAAAAAAC5g/0v7CsGYpTK0/image_thumb%25255B2%25255D.png?imgmax=800&quot; width=&quot;229&quot; height=&quot;226&quot; /&gt;&lt;/a&gt;   &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Crie duas orchestration com apenas o shape de Receive e Send. A idéia é ter uma orchestration que receba o arquivo aberto e envie-o encriptado e assinado. A outra orchestration faz a operação inversa: recebe o arquivo encriptado e envia aberto. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh6.ggpht.com/-X31AuMzwmcE/UeajrwwQ92I/AAAAAAAAC5o/iARYNLmyMh4/s1600-h/image%25255B11%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh4.ggpht.com/-zARt6ktsNZQ/UeajvXcIbdI/AAAAAAAAC5w/7V8yItAmaJc/image_thumb%25255B4%25255D.png?imgmax=800&quot; width=&quot;453&quot; height=&quot;171&quot; /&gt;&lt;/a&gt;   &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Crie um &lt;em&gt;Receive Pipeline&lt;/em&gt;, com o nome &lt;strong&gt;ppl_R_POC_TesteCertificado.btp&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;No estágio de &lt;em&gt;Decode&lt;/em&gt; adicione um &lt;em&gt;MIME/SMIME decoder&lt;/em&gt;&lt;strong&gt;.&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;No estágio de &lt;em&gt;Disassemble&lt;/em&gt; adicione um&lt;em&gt; XML Disassembler&lt;/em&gt;. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Nosso Receive Pipeline ficou assim: &lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-Kwetv6SUHBc/Ueajwuz5XSI/AAAAAAAAC54/cak1yyfFt84/s1600-h/image%25255B15%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-A0BeIWPUq9o/Ueaj3VWvUtI/AAAAAAAAC6A/eX8fTVO5K6I/image_thumb%25255B6%25255D.png?imgmax=800&quot; width=&quot;182&quot; height=&quot;346&quot; /&gt;&lt;/a&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Agora crie um &lt;em&gt;Send Pipeline&lt;/em&gt; chamado &lt;strong&gt;ppl_S_POC_TesteCertificado&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;No Estágio de &lt;em&gt;Enconde&lt;/em&gt; adicione um &lt;em&gt;MIME/SMIME enconder&lt;/em&gt;. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;A seguir, como ficou o nosso Pipeline. &lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;a href=&quot;http://lh6.ggpht.com/-u-GPzFRhsOw/Ueaj8HPvPeI/AAAAAAAAC6I/vX-jeF62yes/s1600-h/image%25255B19%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-GQD0sxGtTSc/UeakAJwcgcI/AAAAAAAAC6Q/wBe0TyhumRQ/image_thumb%25255B8%25255D.png?imgmax=800&quot; width=&quot;182&quot; height=&quot;330&quot; /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;Finalmente nosso projeto ficou com a seguinte estrutura: &lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-Y6gQa6i3hSg/UeakA3gHl1I/AAAAAAAAC6Y/ZvRjws9aaFA/s1600-h/image%25255B24%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-upZlMXzTtnA/UeakCIwA_eI/AAAAAAAAC6g/GKghUqGtw2g/image_thumb%25255B11%25255D.png?imgmax=800&quot; width=&quot;325&quot; height=&quot;295&quot; /&gt;&lt;/a&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Crie uma chave com strong name e faça o deploy dessa solução normalmente. &lt;/li&gt;    &lt;li&gt;Crie as apropriadas Receive e Send Port e deixe a aplicação funcionando. &lt;/li&gt; &lt;/ul&gt; &lt;strong&gt;OBS&lt;/strong&gt;: Na orchestration btoEnviarArquivoCrip.odx, a Receive Port deve ter o Pipeline XML Disassembler e a Send Port deve usar o Pipeline criado ppl_S_POC_TesteCertificado.btp. Na orchestration btoRecebeArquivoCrip.odx, a Receive Port deve usar o Pipeline criado ppl_R_POC_TesteCertificado.btp e a Send Port podemos usar o &lt;em&gt;Pass Trought Pipeline&lt;/em&gt;.   &lt;br /&gt;  &lt;h2&gt;Configurar as Receive e Send Port&amp;#160; do Projeto &lt;/h2&gt;  &lt;p&gt;Ao receber mensagens encriptadas ou assinadas, o Biztalk usará a chave privada que foi instalada para executar a tarefa.    &lt;br /&gt;No &lt;strong&gt;Biztalk Administration Console&lt;/strong&gt;, expanda o node dos Hosts.     &lt;br /&gt;Clique duas vezes no &lt;em&gt;Host&lt;/em&gt; usado para receber as mensagens, no meu caso é o &lt;em&gt;BiztalkServerApplication.&lt;/em&gt; &lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;a href=&quot;http://lh4.ggpht.com/-krkjXjIpQ94/UeakFpjDBNI/AAAAAAAAC6o/7s2xP8EvCcY/s1600-h/image%25255B29%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh4.ggpht.com/-HsF3HMiQbAw/UeakHdg8zGI/AAAAAAAAC6w/fiTCblLyxRA/image_thumb%25255B14%25255D.png?imgmax=800&quot; width=&quot;463&quot; height=&quot;375&quot; /&gt;&lt;/a&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Clique em Certificates, e em Browse. &lt;/li&gt;    &lt;li&gt;Na tela que irá aparecer, escolha o Certificado instalado e em OK. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color: red&quot;&gt;Importante&lt;/span&gt;&lt;/strong&gt;: O Certificado só vai aparecer, se o Usuário logado no servidor for o mesmo que está no &lt;em&gt;Host Instance&lt;/em&gt;. &lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;&lt;a href=&quot;http://lh5.ggpht.com/-DHXCQluERZg/UeakJon4IbI/AAAAAAAAC64/GIVPhAwgFac/s1600-h/image%25255B33%25255D.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-nw_mvzaz1Oc/UeakNAMz0LI/AAAAAAAAC7A/-gOR1DRX2i0/image_thumb%25255B16%25255D.png?imgmax=800&quot; width=&quot;468&quot; height=&quot;369&quot; /&gt;&lt;/a&gt;     &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Clique em OK. &lt;/li&gt;    &lt;li&gt;Ainda no &lt;strong&gt;Administration Console&lt;/strong&gt;, clique duas vezes na &lt;em&gt;Send Port&lt;/em&gt; que foi criada para enviar o arquivo criptgrafado, aquela que usa o &lt;em&gt;Pipeline&lt;/em&gt; &lt;strong&gt;ppl_S_POC_TesteCertificado&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Clique o node &lt;em&gt;Certificates&lt;/em&gt; e em &lt;em&gt;Browse&lt;/em&gt;. &lt;/li&gt;    &lt;li&gt;Procure a chave pública do certificado do nosso parceiro, para quem devemos enviar a mensagem. No nosso caso é o mesmo certificado da chave Privada. &lt;/li&gt;    &lt;li&gt;Clique em OK. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;Pronto, está configurado. É só testar.    &lt;br /&gt;Ao enviar um arquivo aberto, como esse:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh3.ggpht.com/-qn7LGCZxtRs/Ue_Ika4iHDI/AAAAAAAADEg/hwYAm5E-5DU/s1600-h/image4.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh5.ggpht.com/-7oj-my9HuC8/Ue_IlVsAusI/AAAAAAAADEo/13CqxYROUPs/image_thumb1.png?imgmax=800&quot; width=&quot;431&quot; height=&quot;194&quot; /&gt;&lt;/a&gt;     &lt;br /&gt;    &lt;br /&gt;    &lt;br /&gt;Depois de criptado, ficou assim: &lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh5.ggpht.com/-eMS7PVetu4E/Ue_ImoYbc1I/AAAAAAAADEw/E7wf-EHL8KM/s1600-h/image8.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-qFkTqQ8XEHg/Ue_IpVfVXDI/AAAAAAAADE4/_c1ETR3Fv7E/image_thumb3.png?imgmax=800&quot; width=&quot;420&quot; height=&quot;340&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;E aqui, o arquivo está somente assinado digitalmente:&lt;/p&gt;  &lt;p&gt;&lt;a href=&quot;http://lh4.ggpht.com/-ww67b-dy7zI/Ue_IqkQGf0I/AAAAAAAADFA/fOsQ3JQ4Dhs/s1600-h/image12.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-6Jvm9oQoecM/Ue_IsF-G7MI/AAAAAAAADFI/aKyU5tC5hGs/image_thumb5.png?imgmax=800&quot; width=&quot;424&quot; height=&quot;284&quot; /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Para habilitar ou desabilitar a criptografia, basta alterar a propriedade &lt;em&gt;Enable Encryption&lt;/em&gt; do&lt;em&gt; MIME/SMIME enconder&lt;/em&gt;, Send Pipeline, para &lt;strong&gt;True&lt;/strong&gt; ou &lt;strong&gt;False&lt;/strong&gt;.     &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;Simples hein..&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;Então Recapitulando, nessa série de três artigos, vimos como criar uma requisição, obter e importar o certificado, além de ver como encryptar e assinar uma mensagem digitalmente,&amp;#160; configurando uma aplicação do Biztalk para trabalhar com esse certificado. &lt;/p&gt;  &lt;p&gt;A Microsoft tem uma série de exemplos do Biztalk e tem um muito bom que explica como usar o &lt;a href=&quot;http://msdn.microsoft.com/en-us/library/aa559177(v=bts.10).aspx&quot;&gt;Party Resolution&lt;/a&gt;, envolvendo certificados.     &lt;br /&gt;Bons Estudos. Até a próxima!&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;Já ajudou a comunidade hoje?     &lt;br /&gt;    &lt;br /&gt;&amp;#160; &lt;br /&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;ul&gt;&lt;!--EndFragment--&gt;&lt;/ul&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/9137219902901131609/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado-parte-3.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/9137219902901131609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/9137219902901131609'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado-parte-3.html' title='Enviar mensagens Assinadas com Certificado - Parte 3'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh6.ggpht.com/-nWJXkfzH5c0/UeajAwI0YPI/AAAAAAAAC4Q/Qdh3qdGynAw/s72-c/image_thumb2.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4464501935573158049.post-7111899180530983411</id><published>2013-07-17T11:21:00.002-03:00</published><updated>2013-07-24T09:30:43.762-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BizTalk"/><category scheme="http://www.blogger.com/atom/ns#" term="Certificado"/><title type='text'>Enviar mensagens Assinadas com Certificado - Parte 2</title><content type='html'>No &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado_17.html&quot; target=&quot;_blank&quot;&gt;post anterior&lt;/a&gt;, vimos como gerar uma requisição e enviar para uma Autoridade Certificadora.   &lt;br /&gt;Agora com o Certificado em mãos, vamos importa-lo no IIS.  &lt;br /&gt;  &lt;h2&gt;Importar Certificado no Internet Information Services – IIS&lt;/h2&gt;  &lt;ul&gt;   &lt;li&gt;Abrir o Internet Information Services – IIS do servidor do Biztalk &lt;/li&gt;    &lt;li&gt;Clicar com o botão direito em &lt;strong&gt;Default Web Site&lt;/strong&gt; e em &lt;strong&gt;Propriedades&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Na aba &lt;strong&gt;Directory Security&lt;/strong&gt; clicar no botão &lt;strong&gt;Server Certificate.&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;A Tela &lt;strong&gt;IIS Certificate Wizard&lt;/strong&gt; irá aparecer. Clicar em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Escolher a opção &lt;strong&gt;Process the pending request and install the certificate&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh6.ggpht.com/-Riu8_YstNyw/UealBVPaJ2I/AAAAAAAAC7c/lexr2lGoocg/s1600-h/image4.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh5.ggpht.com/-p_k7PAl-A8U/UealCUzlSKI/AAAAAAAAC7k/8I98IXUnfvI/image_thumb2.png?imgmax=800&quot; width=&quot;416&quot; height=&quot;316&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Na próxima tela, escolher o diretório onde se encontra o certificado. &lt;/li&gt;    &lt;li&gt;Clicar em &lt;strong&gt;Next&lt;/strong&gt; e em &lt;strong&gt;Finish&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh5.ggpht.com/-IKLzY-7oKW4/UealDMpWBxI/AAAAAAAAC7s/j016yJm7mns/s1600-h/image8.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-aMQkSOLw7kU/UealEWdK-aI/AAAAAAAAC70/EPIB5NUKhOQ/image_thumb4.png?imgmax=800&quot; width=&quot;416&quot; height=&quot;313&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;h2&gt;Exportar Chave Privada do Certificado&lt;/h2&gt; Antes de começarmos, devemos tomar algumas precauções:  &lt;br /&gt;  &lt;ol&gt;   &lt;li&gt;O usuário do &lt;strong&gt;Host Instance&lt;/strong&gt; e do&lt;strong&gt; Isolated Host&lt;/strong&gt; deve ser o mesmo. &lt;/li&gt;    &lt;li&gt;A opção&lt;strong&gt; Authentication Trusted&lt;/strong&gt; e a opção &lt;strong&gt;32-bit only&lt;/strong&gt; do Host devem estar checada. &lt;/li&gt;    &lt;li&gt;Devemos estar logado no servidor com o mesmo usuário do &lt;strong&gt;Host Instance&lt;/strong&gt;. &lt;/li&gt; &lt;/ol&gt; Para verificar qual é o usuário:  &lt;br /&gt;  &lt;ol&gt;   &lt;li&gt;Abrir o &lt;strong&gt;Administratior Console&lt;/strong&gt; do Biztalk. &lt;/li&gt;    &lt;li&gt;Expandir o node Platform Settings. &lt;/li&gt;    &lt;li&gt;Clicar em Host Instance. &lt;/li&gt;    &lt;li&gt;Verificar o usuário na opção Logon. &lt;/li&gt; &lt;/ol&gt; Para exportar a chave privada:  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar em &lt;strong&gt;Iniciar&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Executar&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Digitar &lt;strong&gt;mmc&lt;/strong&gt; e em &lt;strong&gt;OK.&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;No menu &lt;strong&gt;File&lt;/strong&gt;, clicar em &lt;strong&gt;Add/Remove Snap-in.&lt;/strong&gt; &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh5.ggpht.com/-e94z6qN9kvA/UealFLYiIAI/AAAAAAAAC78/6zDfcbu0ND8/s1600-h/image13.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-IMj0Vb8m1SY/UealGVVSISI/AAAAAAAAC8E/jIhCCt2uJrM/image_thumb7.png?imgmax=800&quot; width=&quot;420&quot; height=&quot;311&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar no botão &lt;strong&gt;Add&lt;/strong&gt;.. &lt;/li&gt;    &lt;li&gt;Clicar na opção &lt;strong&gt;Certificates&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh6.ggpht.com/-UsPLV_zUqjI/UealHIpf_PI/AAAAAAAAC8M/7tgxzbsCxsU/s1600-h/image17.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh4.ggpht.com/-_algKZ7iCxY/UealICCV1vI/AAAAAAAAC8U/VdC6_v2CoVM/image_thumb9.png?imgmax=800&quot; width=&quot;292&quot; height=&quot;297&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar no botão &lt;strong&gt;Add&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Escolher a opção &lt;strong&gt;My user Account&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Clicar em &lt;strong&gt;Finish&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh5.ggpht.com/-LnmvjwjbS4c/UealI7wnMTI/AAAAAAAAC8c/1DQ3WlZ_hqU/s1600-h/image22.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-buO6hXq1yOE/UealJ2G03hI/AAAAAAAAC8k/uqpGOUZgYE8/image_thumb12.png?imgmax=800&quot; width=&quot;402&quot; height=&quot;288&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar em &lt;strong&gt;Add&lt;/strong&gt; novamente. &lt;/li&gt;    &lt;li&gt;E escolher a opção &lt;strong&gt;Computer Account&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh4.ggpht.com/-r4T2zW8mqIA/UealK3PuLeI/AAAAAAAAC8s/eO04hFOx4_4/s1600-h/image26.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-c9fdAbA3ioY/UealLyWpmzI/AAAAAAAAC80/r3NG3DxLFfM/image_thumb14.png?imgmax=800&quot; width=&quot;407&quot; height=&quot;296&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;E depois basta escolher Local Computer: &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh6.ggpht.com/-YKsGN_WrFz4/UealMpHt5WI/AAAAAAAAC88/4Ncn-CFX02Y/s1600-h/image30.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-jFyC_xA2XQA/UealNwqkhjI/AAAAAAAAC9E/OfJ0cQSTu24/image_thumb16.png?imgmax=800&quot; width=&quot;418&quot; height=&quot;302&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar em &lt;strong&gt;Finish&lt;/strong&gt; e &lt;strong&gt;Close&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh4.ggpht.com/-mDPqUHRx5O0/UealPMMBrCI/AAAAAAAAC9M/B8o80ifnlpQ/s1600-h/image34.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-rUR1XMzOJmk/UealQFr3ggI/AAAAAAAAC9U/xCC5pQ6wQ0o/image_thumb18.png?imgmax=800&quot; width=&quot;292&quot; height=&quot;328&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar em &lt;strong&gt;OK&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Expandir o node &lt;strong&gt;Certificate (Local Computer) &lt;/strong&gt;–&amp;gt; &lt;strong&gt;Personal&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Certificates&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; O Certificado Instalado deve aparecer.  &lt;br /&gt;&lt;a href=&quot;http://lh3.ggpht.com/-EpIQNMTt8E4/UealRKd8cNI/AAAAAAAAC9g/NoviPmXgvMg/s1600-h/image42.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-bEBKycJmCgU/UealSs1OJqI/AAAAAAAAC9o/qZ36jNW0zAQ/image_thumb22.png?imgmax=800&quot; width=&quot;570&quot; height=&quot;334&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar com o botão direito no &lt;strong&gt;Certificado&lt;/strong&gt; –&amp;gt; &lt;strong&gt;All Tasks&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Export.&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Irá aparecer a Tela &lt;strong&gt;Certificate Export Wizard&lt;/strong&gt;, clicar em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Escolher a opção &lt;strong&gt;Yes, export the private key.&lt;/strong&gt; &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh6.ggpht.com/-t4ojkpuvjM4/UealTavCtII/AAAAAAAAC9w/uBMr1rIbk-g/s1600-h/image46.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-YftRQrCGQvM/UealUkzBI2I/AAAAAAAAC94/GcW3utq-grA/image_thumb24.png?imgmax=800&quot; width=&quot;390&quot; height=&quot;300&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Marcar as opções conforme imagem abaixo. &lt;/li&gt;    &lt;li&gt;Clicar em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh5.ggpht.com/-8OTboT-EIww/UealVfflTiI/AAAAAAAAC-A/0g3njkZmVvU/s1600-h/image50.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh6.ggpht.com/-JzLjIVMkeks/UealW3kY-fI/AAAAAAAAC-I/DD85oQsBHc0/image_thumb26.png?imgmax=800&quot; width=&quot;392&quot; height=&quot;305&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Na próxima Tela devemos colocar uma senha de segurança. Guardar a senha, irá ser usada para Importar a Chave Privada. &lt;/li&gt;    &lt;li&gt;Clicar em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh3.ggpht.com/-1uIiztGN4fc/UealXi4GckI/AAAAAAAAC-Q/cjAZvAmxrqM/s1600-h/image58.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh4.ggpht.com/-Hi7y33PdJxU/UealYkgbrmI/AAAAAAAAC-Y/26mv4ydZGS0/image_thumb30.png?imgmax=800&quot; width=&quot;396&quot; height=&quot;305&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Escolher um nome e diretório para ser salva a chave Privada. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh3.ggpht.com/-WpTGudkKUJU/UealZXi7vZI/AAAAAAAAC-g/h8rHEhs-WR0/s1600-h/image62.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh5.ggpht.com/-kukylY6mOWk/Uealafr1QJI/AAAAAAAAC-o/8D4ekpHIt88/image_thumb32.png?imgmax=800&quot; width=&quot;398&quot; height=&quot;306&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar em &lt;strong&gt;Next&lt;/strong&gt; e em &lt;strong&gt;Finish&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;  &lt;h2&gt;Exportar Chave Pública do Certificado&lt;/h2&gt; Ainda no mmc, clicar com o botão direito no &lt;strong&gt;Certificado&lt;/strong&gt; –&amp;gt; &lt;strong&gt;All Tasks&lt;/strong&gt; –&amp;gt; &lt;strong&gt;Export.&lt;/strong&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Irá aparecer a Tela &lt;strong&gt;Certificate Export Wizard&lt;/strong&gt;, clicar em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Escolher a opção &lt;strong&gt;No, do not export the private key.&lt;/strong&gt; &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh6.ggpht.com/-LFV9vKnKNYc/UealbAKD0tI/AAAAAAAAC-w/H2y99n1vxQs/s1600-h/image67.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh4.ggpht.com/-NcGqlocNb84/UealcQowAGI/AAAAAAAAC-8/BO5FlfLKr8k/image_thumb35.png?imgmax=800&quot; width=&quot;407&quot; height=&quot;313&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Deixar a primeira opção marcada. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh4.ggpht.com/-p_0mpF8tq_E/UealdLQFBbI/AAAAAAAAC_E/E3Irv33xugE/s1600-h/image71.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh3.ggpht.com/-MamkrmC4Lxo/UealfRnryZI/AAAAAAAAC_M/bA7POWtNG5M/image_thumb37.png?imgmax=800&quot; width=&quot;415&quot; height=&quot;323&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar em &lt;strong&gt;Next&lt;/strong&gt;. &lt;/li&gt;    &lt;li&gt;Escolher o diretório e nome do arquivo a ser gravado. &lt;/li&gt; &lt;/ul&gt; &lt;a href=&quot;http://lh4.ggpht.com/-U8PaBwELmE4/UealgZBQ2wI/AAAAAAAAC_U/bw4VHKFsfIM/s1600-h/image75.png&quot;&gt;&lt;img style=&quot;background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px&quot; title=&quot;image&quot; border=&quot;0&quot; alt=&quot;image&quot; src=&quot;http://lh4.ggpht.com/-w9C-B2m8w4c/Uealhi-7F-I/AAAAAAAAC_c/JEibEUzmIlw/image_thumb39.png?imgmax=800&quot; width=&quot;425&quot; height=&quot;330&quot; /&gt;&lt;/a&gt;  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;   &lt;li&gt;Clicar em &lt;strong&gt;Next&lt;/strong&gt; e em &lt;strong&gt;Finish&lt;/strong&gt;. &lt;/li&gt; &lt;/ul&gt;  &lt;br /&gt;Essa chave pública deve ser compartilhada com os parceiros que queremos enviar ou receber mensagens.  &lt;br /&gt;Ufa, estamos quase lá. Continuaremos o post nesta &lt;a href=&quot;http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado-parte-3.html&quot;&gt;terceira parte&lt;/a&gt;.  &lt;br /&gt;  &lt;br /&gt;  &lt;ul&gt;&lt;!--EndFragment--&gt;&lt;/ul&gt;  </content><link rel='replies' type='application/atom+xml' href='http://www.biztalkbrasil.com.br/feeds/7111899180530983411/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado-parte-2.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/7111899180530983411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4464501935573158049/posts/default/7111899180530983411'/><link rel='alternate' type='text/html' href='http://www.biztalkbrasil.com.br/2013/07/enviar-mensagens-assinadas-certificado-parte-2.html' title='Enviar mensagens Assinadas com Certificado - Parte 2'/><author><name>Ruth Resende</name><uri>https://plus.google.com/113800943127350264365</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh5.googleusercontent.com/-h4htmd2EtvE/AAAAAAAAAAI/AAAAAAAAIDc/5cxTzHa-0L4/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://lh5.ggpht.com/-p_k7PAl-A8U/UealCUzlSKI/AAAAAAAAC7k/8I98IXUnfvI/s72-c/image_thumb2.png?imgmax=800" height="72" width="72"/><thr:total>0</thr:total></entry></feed>