{"id":325,"date":"2019-03-25T17:30:19","date_gmt":"2019-03-25T20:30:19","guid":{"rendered":"http:\/\/xexeu.elipse.com.br\/pt\/enviando-dados-ao-e3-atraves-de-web-services-net\/"},"modified":"2024-12-16T14:05:35","modified_gmt":"2024-12-16T17:05:35","slug":"enviando-dados-ao-e3-atraves-de-web-services-net","status":"publish","type":"post","link":"https:\/\/kb.elipse.com.br\/en\/enviando-dados-ao-e3-atraves-de-web-services-net\/","title":{"rendered":"Enviando dados ao E3 atrav\u00e9s de web services .NET."},"content":{"rendered":"<div style=\"text-align: justify;\">\n<p><span style=\"font-weight: bold;\">1) Introdu\u00e7\u00e3o<\/span><\/p>\n<p>A utiliza\u00e7\u00e3o da Internet como mais um meio de comunica\u00e7\u00e3o era limitada pela falta de integra\u00e7\u00e3o de seus distintos ambientes. A interoperabilidade entre diferentes plataformas \u00e9 muito importante nos dias de hoje e, para satisfazer esta necessidade de integra\u00e7\u00e3o entre ambientes j\u00e1 existentes, houve a necessidade da cria\u00e7\u00e3o de um padr\u00e3o de comunica\u00e7\u00e3o. Seguindo a evolu\u00e7\u00e3o, surgiram os chamados <span style=\"font-style: italic;\">web services<\/span>, que fortaleceram o desenvolvimento distribu\u00eddo, caracter\u00edstica importante da Internet.<\/p>\n<p><span style=\"font-weight: bold;\">2) O que s\u00e3o <span style=\"font-style: italic;\">web services<\/span>?<\/span><\/p>\n<p>Os servi\u00e7os web (<span style=\"font-style: italic;\">web services<\/span>) s\u00e3o a base da computa\u00e7\u00e3o distribu\u00edda atrav\u00e9s da Internet. Um consumidor de um <span style=\"font-style: italic;\">web service<\/span> pode invocar quaisquer opera\u00e7\u00f5es que este servi\u00e7o oferece. O provedor do servi\u00e7o, ou seja, a aplica\u00e7\u00e3o que implementa o <span style=\"font-style: italic;\">web service<\/span>, pode estar tanto na mesma m\u00e1quina do servi\u00e7o que est\u00e1 sendo utilizado quanto em qualquer outro lugar da Internet. Os <span style=\"font-style: italic;\">web services<\/span> utilizam protocolos padr\u00e3o da web, como XML, SOAP e HTTP.<\/p>\n<p>A linguagem XML \u00e9 usada para representa\u00e7\u00e3o e transmiss\u00e3o de dados estruturados, sendo totalmente independente de hardware, de software ou mesmo de linguagem de programa\u00e7\u00e3o. O protocolo SOAP fornece a sem\u00e2ntica para a troca dos dados entre o provedor do <span style=\"font-style: italic;\">web service<\/span> e o consumidor do servi\u00e7o. A linguagem WSDL descreve os servi\u00e7os que o <span style=\"font-style: italic;\">web service <\/span>disponibiliza.<\/p>\n<p>Para que seja mantida a interoperabilidade, a padroniza\u00e7\u00e3o dos <span style=\"font-style: italic;\">web services<\/span> tem sido mantida pelas organiza\u00e7\u00f5es W3C <span style=\"font-weight: bold;\">[1]<\/span>, OASIS <span style=\"font-weight: bold;\">[2]<\/span> e WS-I <span style=\"font-weight: bold;\">[3]<\/span>. Para mais informa\u00e7\u00f5es sobre <span style=\"font-style: italic;\">web services<\/span>, uma sugest\u00e3o \u00e9 a leitura do artigo <span style=\"font-style: italic;\">&#8220;Understanding Web Services&#8221;<\/span>, publicado pela Microsoft <span style=\"font-weight: bold;\">[4]<\/span>.<\/p>\n<p><span style=\"font-weight: bold;\">3) O driver Elipse WebService<\/span><\/p>\n<p>O driver Elipse WebService, integrado ao E3, hospeda um servi\u00e7o na m\u00e1quina onde o software foi instalado e est\u00e1 executando. Este <span style=\"font-style: italic;\">web service<\/span> oferece o servi\u00e7o de envio de dados de qualquer tipo, que s\u00e3o lidos atrav\u00e9s de um bloco de comunica\u00e7\u00e3o. Como j\u00e1 descrito anteriormente, \u00e9 poss\u00edvel conectar e enviar dados a partir de qualquer aplica\u00e7\u00e3o que acesse esse servi\u00e7o.<\/p>\n<p>Nesta primeira vers\u00e3o, o driver utiliza a especifica\u00e7\u00e3o WS-I Basic Profile 1.1<span style=\"font-weight: bold;\"> [5]<\/span>, compat\u00edvel com clientes <span style=\"font-style: italic;\">web services<\/span> ASP .NET.<\/p>\n<p><span style=\"font-weight: bold;\">4) Instala\u00e7\u00e3o do driver<\/span><\/p>\n<p>Para a utiliza\u00e7\u00e3o do driver, \u00e9 necess\u00e1rio ter o <span style=\"font-weight: bold;\">Microsoft .NET Framework 3.0<\/span> instalado. Caso ainda n\u00e3o possua, o instalador far\u00e1 automaticamente o download e instala\u00e7\u00e3o deste programa antes de instalar o driver propriamente dito. O <span style=\"font-weight: bold;\">Microsoft .NET Framework 3.0 Redistributable Package<\/span> tamb\u00e9m est\u00e1 dispon\u00edvel para download no site da Microsoft <span style=\"font-weight: bold;\">[6]<\/span>.<\/p>\n<p>A instala\u00e7\u00e3o \u00e9 simples, como um t\u00edpico programa Windows. Ap\u00f3s executar o arquivo <span style=\"font-family: Courier New;\">setup.exe<\/span>, basta avan\u00e7ar as telas at\u00e9 a instala\u00e7\u00e3o ser conclu\u00edda. Na segunda tela, \u00e9 poss\u00edvel escolher o diret\u00f3rio onde o driver ser\u00e1 instalado, atrav\u00e9s do bot\u00e3o <span style=\"font-weight: bold;\">[Browse&#8230;]<\/span>.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura1.PNG\" alt=\"\" width=\"550\" height=\"668\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 1<\/span>: Instala\u00e7\u00e3o do driver Elipse WebService<\/span><\/div>\n<p>Ap\u00f3s o t\u00e9rmino da instala\u00e7\u00e3o, o driver deve ser configurado dentro do E3. Abra o projeto onde o driver ser\u00e1 utilizado e insira um novo driver de comunica\u00e7\u00e3o.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura2.PNG\" alt=\"\" width=\"451\" height=\"235\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 2<\/span>: Inserindo um novo Driver de Comunica\u00e7\u00e3o<\/span><\/div>\n<p>O caminho do driver Elipse WebService (ElipseWS.dll) deve ser definido na propriedade <span style=\"font-style: italic;\">DriverLocation<\/span>. Caso a localiza\u00e7\u00e3o padr\u00e3o tenha sido mantida, ele estar\u00e1 situado em <span style=\"font-family: Courier New;\">C:\\Program Files\\Elipse Software\\Driver Web Service\\ElipseWS.dll<\/span>.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura3.PNG\" alt=\"\" width=\"479\" height=\"269\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 3<\/span>: Definindo a localiza\u00e7\u00e3o do driver<\/span><\/div>\n<p>Por padr\u00e3o, o driver estar\u00e1 configurado para hospedar o servi\u00e7o no endere\u00e7o IP local com a porta 8080. Para alterar esta configura\u00e7\u00e3o manualmente, basta acessar as configura\u00e7\u00f5es do driver, na aba <span style=\"font-weight: bold;\">Web Service<\/span>.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura4.PNG\" alt=\"\" width=\"550\" height=\"169\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 4<\/span>: Configura\u00e7\u00e3o do driver Elipse WebService<\/span><\/div>\n<p>As novas informa\u00e7\u00f5es podem ser digitadas nos campos <span style=\"font-weight: bold;\">IP Address (host name)<\/span> e <span style=\"font-weight: bold;\">Listen for connections on port<\/span>. O bot\u00e3o <span style=\"font-weight: bold;\">[Get IP] <\/span>preencher\u00e1 o campo <span style=\"font-weight: bold;\">IP Address (host name)<\/span> com o endere\u00e7o IP local. O campo <span style=\"font-weight: bold;\">Address <\/span>mostra o endere\u00e7o do <span style=\"font-style: italic;\">web service<\/span>, que dever\u00e1 ser utilizado para consumo do servi\u00e7o atrav\u00e9s de outras aplica\u00e7\u00f5es.<\/p>\n<p>\u00c9 importante ressaltar que as novas configura\u00e7\u00f5es s\u00f3 ter\u00e3o efeito ap\u00f3s a reativa\u00e7\u00e3o do driver.<\/p>\n<p><span style=\"font-weight: bold;\">5) Utiliza\u00e7\u00e3o do driver<\/span><\/p>\n<p>Ap\u00f3s a instala\u00e7\u00e3o e sua correta configura\u00e7\u00e3o, sempre que o driver for ativado no E3 Studio ou que uma aplica\u00e7\u00e3o for executada, o <span style=\"font-style: italic;\">web service<\/span> estar\u00e1 dispon\u00edvel e aguardando comunica\u00e7\u00e3o. Para verificar se o <span style=\"font-style: italic;\">web service<\/span> foi criado corretamente, acesse pelo navegador o endere\u00e7o: <span style=\"font-weight: bold;\">http:\/\/[host]:[porta]\/SendData?wsdl<\/span>, substituindo <span style=\"font-weight: bold;\">[host]<\/span> e <span style=\"font-weight: bold;\">[porta]<\/span> pelas informa\u00e7\u00f5es que foram utilizadas na configura\u00e7\u00e3o do driver. Este endere\u00e7o pode ser obtido diretamente nas configura\u00e7\u00f5es do driver, no item <span style=\"font-weight: bold;\">Address<\/span>.<\/p>\n<p>Exemplo de endere\u00e7o: <span style=\"font-weight: bold;\">http:\/\/localhost:8080\/SendData?wsdl<\/span>. Se o servi\u00e7o estiver funcionando corretamente, um arquivo XML ser\u00e1 mostrado no navegador.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura5.PNG\" alt=\"\" width=\"550\" height=\"397\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 5<\/span>: Arquivo XML gerado pelo <span style=\"font-style: italic;\">web service<\/span><\/span><\/div>\n<p>Nesta etapa, a aplica\u00e7\u00e3o criada no Elipse E3 pode receber dados enviados por outras aplica\u00e7\u00f5es que estejam se comunicando com o <span style=\"font-style: italic;\">web service<\/span>. O m\u00e9todo dispon\u00edvel, <span style=\"font-style: italic;\">SetParams<\/span>, possui um par\u00e2metro do tipo <span style=\"font-style: italic; font-weight: bold;\">ArrayOfAnyType<\/span>, ou seja, um <span style=\"font-style: italic;\">array <\/span>de qualquer tipo.<\/p>\n<p>No Elipse E3, este par\u00e2metro ser\u00e1 recebido em um bloco de comunica\u00e7\u00e3o. Para cri\u00e1-lo, clique com o bot\u00e3o direito no \u00edcone do driver e escolha as op\u00e7\u00f5es do menu <span style=\"font-weight: bold;\">Inserir&#8211;Bloco de Comunica\u00e7\u00e3o<\/span>. Nas pr\u00f3ximas janelas de configura\u00e7\u00e3o, mantenha a quantidade em 1, escolha o tamanho do bloco que desejar, e clique em <span style=\"font-weight: bold;\">[OK]<\/span>.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura6.PNG\" alt=\"\" width=\"550\" height=\"157\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 6<\/span>: Inserindo um Bloco de Comunica\u00e7\u00e3o<\/span><\/div>\n<p>Como mostrado no exemplo anterior, para receber um <span style=\"font-style: italic;\">array <\/span>com tr\u00eas valores, crie um bloco de comunica\u00e7\u00e3o com pelo menos tr\u00eas elementos. Cada elemento do <span style=\"font-style: italic;\">array <\/span>recebido corresponder\u00e1 ao elemento de mesmo \u00edndice, portanto certifique-se que a propriedade <span style=\"font-style: italic;\">Index <\/span>de cada tag tenha o valor correto. A seguir \u00e9 exibido tr\u00eas elementos recebidos atrav\u00e9s do <span style=\"font-style: italic;\">web service<\/span>, \u00edndices 0, 1 e 2.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura7.PNG\" alt=\"\" width=\"550\" height=\"287\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 7<\/span>: Definindo o \u00edndice (<span style=\"font-style: italic;\">Index<\/span>) dos tags de comunica\u00e7\u00e3o<\/span><\/div>\n<p><span style=\"font-weight: bold;\">6) Exemplo de aplicativo conectado ao <span style=\"font-style: italic;\">web service<\/span><\/span><\/p>\n<p>A seguir, mostraremos como uma aplica\u00e7\u00e3o simples (escrita na linguagem de programa\u00e7\u00e3o <span style=\"font-weight: bold;\">C#<\/span> e utilizando o <span style=\"font-weight: bold;\">Visual Studio 2005<\/span>) pode se comunicar com o <span style=\"font-style: italic;\">web service<\/span>. Como citado anteriormente, esta comunica\u00e7\u00e3o pode ser realizada atrav\u00e9s de outros sistemas e linguagens de programa\u00e7\u00e3o; este, por\u00e9m, n\u00e3o \u00e9 o foco deste artigo.<\/p>\n<p>Inicialmente, abra o Projeto Exemplo, localize o objeto Driver WebService (subitem de Drivers e OPC). Confirme o caminho correto na propriedade <span style=\"font-style: italic;\">DriverLocation <\/span>e verifique nas configura\u00e7\u00f5es do driver se no campo <span style=\"font-weight: bold;\">IP Address<\/span> cont\u00e9m o nome ou o IP correto da m\u00e1quina. Copie o campo <span style=\"font-weight: bold;\">Address <\/span>e execute a aplica\u00e7\u00e3o (ou ent\u00e3o apenas ative o driver no E3 Studio) para que o <span style=\"font-style: italic;\">web service<\/span> possa ser consumido pela aplica\u00e7\u00e3o que ser\u00e1 desenvolvida.<\/p>\n<p>Dentro do Visual Studio 2005, acesse o menu <span style=\"font-weight: bold;\">Project <\/span>e clique em <span style=\"font-weight: bold;\">Add Web Reference&#8230; <\/span>. Esta configura\u00e7\u00e3o permite a utiliza\u00e7\u00e3o dentro do c\u00f3digo de objetos e m\u00e9todos providos pelo <span style=\"font-style: italic;\">web service<\/span>.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura8.PNG\" alt=\"\" width=\"407\" height=\"372\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 8<\/span>: Adicionando refer\u00eancia web ao Visual Studio 2005<\/span><\/div>\n<p>Digite o endere\u00e7o do <span style=\"font-style: italic;\">web service<\/span> no campo <span style=\"font-weight: bold;\">URL <\/span>e clique em <span style=\"font-weight: bold;\">[Go]<\/span>. Se o servi\u00e7o for encontrado, ser\u00e3o mostrados seu nome (neste caso <span style=\"font-style: italic;\">SendData<\/span>) e o m\u00e9todo dispon\u00edvel (<span style=\"font-style: italic;\">SetParams<\/span>). Clique em<span style=\"font-weight: bold;\"> [Add Reference]<\/span>.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura9.PNG\" alt=\"\" width=\"550\" height=\"210\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 9<\/span>: Adicionando uma refer\u00eancia do <span style=\"font-style: italic;\">web service<\/span> que est\u00e1 em execu\u00e7\u00e3o<\/span><\/div>\n<p>Ser\u00e1 ent\u00e3o poss\u00edvel utilizar as funcionalidades do <span style=\"font-style: italic;\">web service<\/span> na aplica\u00e7\u00e3o. A classe a ser utilizada se chama <span style=\"font-weight: bold;\">SendData <\/span>e possui o m\u00e9todo <span style=\"font-style: italic;\">SetParams<\/span>, que permite o envio de informa\u00e7\u00f5es ao <span style=\"font-style: italic;\">web service<\/span> que ser\u00e1 criado pelo driver, al\u00e9m de outros atributos como a manipula\u00e7\u00e3o do evento <span style=\"font-style: italic;\">Complete<\/span>. Para mais informa\u00e7\u00f5es, pode-se consultar a documenta\u00e7\u00e3o no site MSDN Library Online<span style=\"font-weight: bold;\"> [7]<\/span>.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura10.PNG\" alt=\"\" width=\"550\" height=\"313\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 10<\/span>: Classes criadas pelo Visual Studio 2005<\/span><\/div>\n<p>O funcionamento da Aplica\u00e7\u00e3o Cliente criada como exemplo de aplica\u00e7\u00e3o consumidora \u00e9 bastante simples. Ela utiliza basicamente a classe <span style=\"font-weight: bold;\">SendData <\/span>e o m\u00e9todo <span style=\"font-style: italic;\">SetParams <\/span>para enviar os dados ao <span style=\"font-style: italic;\">web service<\/span> e, consequentemente, \u00e0 aplica\u00e7\u00e3o E3 que est\u00e1 em execu\u00e7\u00e3o. Execute a aplica\u00e7\u00e3o exemplo, digite no campo <span style=\"font-weight: bold;\">Web Service Address<\/span> o endere\u00e7o do <span style=\"font-style: italic;\">web service<\/span> a ser consumido, e clique em <span style=\"font-weight: bold;\">[Connect]<\/span>. Se a conex\u00e3o for estabelecida com sucesso, ser\u00e1 exibido o status <span style=\"font-weight: bold;\">OK<\/span>.<\/p>\n<p>Os par\u00e2metros enviados devem ser preenchidos no campo <span style=\"font-weight: bold;\">Parameter <\/span>e adicionados \u00e0 lista atrav\u00e9s do bot\u00e3o <span style=\"font-weight: bold;\">[Add]<\/span>. Para enviar os dados, clique no bot\u00e3o<span style=\"font-weight: bold;\"> [Send]<\/span>. Caso ocorra algum erro de comunica\u00e7\u00e3o, a mensagem correspondente ser\u00e1 exibida no campo de status; a mensagem <span style=\"font-style: italic; font-weight: bold;\">Data Sent Successfully<\/span> indica o envio com sucesso.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura11.PNG\" alt=\"\" width=\"550\" height=\"240\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 11<\/span>: Aplicativo exemplo que se comunica com o <span style=\"font-style: italic;\">web service<\/span><\/span><\/div>\n<p>Os dados ser\u00e3o recebidos nos elementos de comunica\u00e7\u00e3o do bloco de comunica\u00e7\u00e3o. Neste caso, o valor <span style=\"font-style: italic;\">Teste1 <\/span>(string) ser\u00e1 recebido no elemento de \u00edndice 0, o valor <span style=\"font-style: italic;\">12345<\/span> (long) no \u00edndice 1, o valor <span style=\"font-style: italic;\">18\/12\/07<\/span> 16:32 (date) no \u00edndice 2 e assim por diante. A seguir podemos ver o E3 Viewer do projeto de teste com os valores enviados pela aplica\u00e7\u00e3o cliente.<\/p>\n<div style=\"text-align: center;\"><img loading=\"lazy\" title=\"\" src=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura12.PNG\" alt=\"\" width=\"473\" height=\"316\" align=\"Baseline\" border=\"0\" \/><br \/>\n<span style=\"font-size: xx-small;\"><span style=\"font-weight: bold;\">Figura 12<\/span>: Tela da Aplica\u00e7\u00e3o Exemplo no E3<\/span><\/div>\n<p>A aplica\u00e7\u00e3o cliente e o Projeto Exemplo para a vers\u00e3o 3.0 do E3 est\u00e3o dispon\u00edveis nos anexos deste documento.<\/p>\n<p><span style=\"font-weight: bold;\">7) Conclus\u00e3o<\/span><\/p>\n<p>A utiliza\u00e7\u00e3o de <span style=\"font-style: italic;\">web services<\/span> permite a interoperabilidade entre sistemas e linguagens de programa\u00e7\u00e3o. Com o driver Elipse WebService, diferentes aplica\u00e7\u00f5es poder\u00e3o acessar o servi\u00e7o (enviar os dados \u00e0 aplica\u00e7\u00e3o do Elipse E3) atrav\u00e9s de um padr\u00e3o que vem sendo amplamente utilizado por permitir esta total integra\u00e7\u00e3o.<\/p>\n<p>Desta forma, apesar do exemplo utilizar o .NET Framework, o <span style=\"font-style: italic;\">web service<\/span> pode ser consumido por uma plataforma que n\u00e3o seja .NET. Um diferencial encontrado \u00e9 a facilidade de implementa\u00e7\u00e3o da aplica\u00e7\u00e3o consumidora. Cabe ressaltar que existem quest\u00f5es relacionadas \u00e0 seguran\u00e7a dos <span style=\"font-style: italic;\">web services<\/span> que ser\u00e3o tratadas na pr\u00f3xima vers\u00e3o do driver e atualizadas neste artigo.<\/p>\n<p><span style=\"font-weight: bold;\">8) Refer\u00eancias<\/span><\/p>\n<p><span style=\"font-weight: bold;\">[1] <\/span>W3C (World Wide Web Consortium) <a href=\"http:\/\/www.w3.org\/XML\/Schema\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.w3.org\/XML\/Schema<\/a><br \/>\n<span style=\"font-weight: bold;\">[2] <\/span>OASIS (Organization for the Advancement of Structured Information Standards) <a href=\"http:\/\/www.oasis-open.org\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.oasis-open.org<\/a><br \/>\n<span style=\"font-weight: bold;\">[3]<\/span> WS-I (Web Services Interoperability Organization) <a href=\"http:\/\/www.ws-i.org\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.ws-i.org<\/a><br \/>\n<span style=\"font-weight: bold;\">[4] <\/span>Microsoft. Understanding Web Services (em ingl\u00eas) <a href=\"http:\/\/msdn2.microsoft.com\/pt-br\/webservices\/aa740685.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/msdn2.microsoft.com\/pt-br\/webservices\/aa740685.aspx<\/a><br \/>\n<span style=\"font-weight: bold;\">[5]<\/span> Especifica\u00e7\u00e3o WS-I Basic Profile 1.1 (em ingl\u00eas) <a href=\"http:\/\/www.ws-i.org\/deliverables\/workinggroup.aspx?wg=basicprofile\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.ws-i.org\/deliverables\/workinggroup.aspx?wg=basicprofile<\/a><br \/>\n<span style=\"font-weight: bold;\">[6]<\/span> Microsoft .NET Framework 3.0 Redistributable Package (site para download do arquivo) <a href=\"http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&#038;displaylang=en\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.microsoft.com\/downloads\/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&#038;displaylang=en<\/a><br \/>\n<span style=\"font-weight: bold;\">[7] <\/span>MSDN Library Online <a href=\"http:\/\/msdn.microsoft.com\/library\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/msdn.microsoft.com\/library\/<\/a><\/p>\n<h3>Anexos:<\/h3>\n<p><a href=\"\/wp-content\/uploads\/2019\/03\/E3Project-3.zip\">E3Project.zip<\/a><br \/>\n<a href=\"\/wp-content\/uploads\/2019\/03\/ExampleApplication.zip\">ExampleApplication.zip<\/a><br \/>\n<a href=\"\/wp-content\/uploads\/2019\/03\/DriverWebServiceInstaller.zip\">DriverWebServiceInstaller.zip<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>1) Introdu\u00e7\u00e3o A utiliza\u00e7\u00e3o da Internet como mais um meio de comunica\u00e7\u00e3o era limitada pela falta de integra\u00e7\u00e3o de seus distintos ambientes. A interoperabilidade entre diferentes plataformas \u00e9 muito importante&hellip;<\/p>\n","protected":false},"author":29,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[658],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Enviando dados ao E3 atrav\u00e9s de web services .NET. - Elipse Knowledgebase<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Enviando dados ao E3 atrav\u00e9s de web services .NET.\" \/>\n<meta property=\"og:description\" content=\"1) Introdu\u00e7\u00e3o A utiliza\u00e7\u00e3o da Internet como mais um meio de comunica\u00e7\u00e3o era limitada pela falta de integra\u00e7\u00e3o de seus distintos ambientes. A interoperabilidade entre diferentes plataformas \u00e9 muito importante&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/\" \/>\n<meta property=\"og:site_name\" content=\"Elipse Knowledgebase\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/www.facebook.com\/elipsesoftware\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-25T20:30:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-16T17:05:35+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura1.PNG\" \/>\n<meta name=\"author\" content=\"M\u00e1rcio Zani Beatrici\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"M\u00e1rcio Zani Beatrici\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/\"},\"author\":{\"name\":\"M\u00e1rcio Zani Beatrici\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/af5f797015baba4ffad56036ffe12159\"},\"headline\":\"Enviando dados ao E3 atrav\u00e9s de web services .NET.\",\"datePublished\":\"2019-03-25T20:30:19+00:00\",\"dateModified\":\"2024-12-16T17:05:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/\"},\"wordCount\":1786,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"articleSection\":[\"Elipse WebService\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/\",\"url\":\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/\",\"name\":\"[:pt]Enviando dados ao E3 atrav\u00e9s de web services .NET.[:] - Elipse Knowledgebase\",\"isPartOf\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#website\"},\"datePublished\":\"2019-03-25T20:30:19+00:00\",\"dateModified\":\"2024-12-16T17:05:35+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/kb.elipse.com.br\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Enviando dados ao E3 atrav\u00e9s de web services .NET.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kb.elipse.com.br\/#website\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"name\":\"Elipse Knowledgebase\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kb.elipse.com.br\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kb.elipse.com.br\/#organization\",\"name\":\"Elipse Software\",\"url\":\"https:\/\/kb.elipse.com.br\/\",\"sameAs\":[\"http:\/\/www.facebook.com\/elipsesoftware\"],\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"contentUrl\":\"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png\",\"width\":161,\"height\":58,\"caption\":\"Elipse Software\"},\"image\":{\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/af5f797015baba4ffad56036ffe12159\",\"name\":\"M\u00e1rcio Zani Beatrici\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/461296b6cd466a0c3d5f83c975c2be68?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/461296b6cd466a0c3d5f83c975c2be68?s=96&d=mm&r=g\",\"caption\":\"M\u00e1rcio Zani Beatrici\"},\"url\":\"https:\/\/kb.elipse.com.br\/en\/author\/zani\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Enviando dados ao E3 atrav\u00e9s de web services .NET. - Elipse Knowledgebase","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/","og_locale":"en_US","og_type":"article","og_title":"[:pt]Enviando dados ao E3 atrav\u00e9s de web services .NET.[:] - Elipse Knowledgebase","og_description":"1) Introdu\u00e7\u00e3o A utiliza\u00e7\u00e3o da Internet como mais um meio de comunica\u00e7\u00e3o era limitada pela falta de integra\u00e7\u00e3o de seus distintos ambientes. A interoperabilidade entre diferentes plataformas \u00e9 muito importante&hellip;","og_url":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/","og_site_name":"Elipse Knowledgebase","article_publisher":"http:\/\/www.facebook.com\/elipsesoftware","article_published_time":"2019-03-25T20:30:19+00:00","article_modified_time":"2024-12-16T17:05:35+00:00","og_image":[{"url":"http:\/\/kb.elipse.com.br\/pt-br\/images\/ID58\/Figura1.PNG"}],"author":"M\u00e1rcio Zani Beatrici","twitter_card":"summary_large_image","twitter_misc":{"Written by":"M\u00e1rcio Zani Beatrici","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#article","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/"},"author":{"name":"M\u00e1rcio Zani Beatrici","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/af5f797015baba4ffad56036ffe12159"},"headline":"Enviando dados ao E3 atrav\u00e9s de web services .NET.","datePublished":"2019-03-25T20:30:19+00:00","dateModified":"2024-12-16T17:05:35+00:00","mainEntityOfPage":{"@id":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/"},"wordCount":1786,"commentCount":0,"publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"articleSection":["Elipse WebService"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/","url":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/","name":"[:pt]Enviando dados ao E3 atrav\u00e9s de web services .NET.[:] - Elipse Knowledgebase","isPartOf":{"@id":"https:\/\/kb.elipse.com.br\/#website"},"datePublished":"2019-03-25T20:30:19+00:00","dateModified":"2024-12-16T17:05:35+00:00","breadcrumb":{"@id":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/kb.elipse.com.br\/enviando-dados-ao-e3-atraves-de-web-services-net\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/kb.elipse.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"Enviando dados ao E3 atrav\u00e9s de web services .NET."}]},{"@type":"WebSite","@id":"https:\/\/kb.elipse.com.br\/#website","url":"https:\/\/kb.elipse.com.br\/","name":"Elipse Knowledgebase","description":"","publisher":{"@id":"https:\/\/kb.elipse.com.br\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kb.elipse.com.br\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/kb.elipse.com.br\/#organization","name":"Elipse Software","url":"https:\/\/kb.elipse.com.br\/","sameAs":["http:\/\/www.facebook.com\/elipsesoftware"],"logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/","url":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","contentUrl":"https:\/\/kb.elipse.com.br\/wp-content\/uploads\/2019\/05\/schererelipse-com-br\/logoElipse.png","width":161,"height":58,"caption":"Elipse Software"},"image":{"@id":"https:\/\/kb.elipse.com.br\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/af5f797015baba4ffad56036ffe12159","name":"M\u00e1rcio Zani Beatrici","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/kb.elipse.com.br\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/461296b6cd466a0c3d5f83c975c2be68?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/461296b6cd466a0c3d5f83c975c2be68?s=96&d=mm&r=g","caption":"M\u00e1rcio Zani Beatrici"},"url":"https:\/\/kb.elipse.com.br\/en\/author\/zani\/"}]}},"_links":{"self":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/325"}],"collection":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/users\/29"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/comments?post=325"}],"version-history":[{"count":8,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/325\/revisions"}],"predecessor-version":[{"id":16658,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/posts\/325\/revisions\/16658"}],"wp:attachment":[{"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/media?parent=325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/categories?post=325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.elipse.com.br\/en\/wp-json\/wp\/v2\/tags?post=325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}