Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Índice:


              

Índice
exclude.*ndice:

Introdução:


       O Web Service Fórmula Visual fornece serviços para executar uma Fórmula Visual de forma síncrona e assíncrona. O modelo de autenticação utilizado é o Basic Authentication.

Como Funciona:


       Estão expostos no wsFormulaVisual alguns serviços, onde para consumi-los, é necessário enviar através de uma requisição um envelope SOAP passando os parâmetros de cada serviço. 

      O serviço é exposto pelo host conforme documentação abaixo:

      Como Expor os Web Services do RM através do Host


Aviso
iconfalse

Para baixar os arquivos da aplicação exemplo em ASP.Net, WebSite1.zip


Segue abaixo o detalhamento e exemplos de utilização dos serviços em envelope SOAP:


HTML
<div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
HTML
      <div style="background:#fff;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
           <span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/folder3.png?version=2&modificationDate=1509366835661&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">FVWebService</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/transfer3.png?version=2&modificationDate=1509366835358&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">RM_IRMSServer</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/loop3.png?version=2&modificationDate=1509366835997&api=v2"/></span>
           <span style="float:left;font-size:inherit;padding-left:5px">CheckServiceActivity</span>
     </div>
Expandir
titleCheckServiceActivity - Requisição e Resposta SOAP
Informações
iconfalse
Retorna a lista de todos os relatórios de uma determinada coligada.
Deck of Cards
id.
Card
labelRequest
Bloco de código
languagexml
firstline1
titleRequest
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tot="http://www.totvs.com/">
	<soapenv:Header/>
	<soapenv:Body>
		<tot:GetReportList>
			<!--Optional:-->
			<tot:codColigada>1</tot:codColigada>
		</tot:GetReportList>
	</soapenv:Body>
</soapenv:Envelope> 
Card
labelResponse
Bloco de código
languagexml
titleResponse
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetReportListResponse xmlns="http://www.totvs.com/"> <GetReportListResult>0,TOTVS Educacional,306,Boletim,Boletim,06/10/2010 15:43:00,597e2978-351d-4629-a2fb-b57432cad210;,0,TOTVS Educacional,30,Contrato,Contrato,06/10/2010 15:43:00,71eff25f-0960-4ab7-bbc9-564044dde0fe;,0,TOTVS Gestão Financeira,312,Boleto Itaú.2.1,Cópia de Cópia de Boleto Itaú,08/04/2016 07:49:00,c9c51350-3cfa-410e-b818-224a013d0296;,0,TOTVS Inteligência de Negócios,316,filtrosNomeados,filtrosNomeados,11/04/2016 10:37:12,d19713e7-eda0-4bf1-8e92-140714240c16;,0,TOTVS Educacional,31,EDUREL002,Listagem de Alunos com foto,06/10/2010 15:43:00,b84b941c-54e5-43c1-996b-3e9eae05e902....... </GetReportListResult> </GetReportListResponse> </s:Body> </s:Envelope>
HTML
</div>
HTML
<div style="padding:10px"></div>
HTML
<div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
HTML
      <div style="background:#fff;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
           <span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/folder3.png?version=2&modificationDate=1509366835661&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">FVWebService</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/transfer3.png?version=2&modificationDate=1509366835358&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">RM_IRMSServer</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/loop3.png?version=2&modificationDate=1509366835997&api=v2"/></span>
           <span style="float:left;font-size:inherit;padding-left:5px">Implements</span>
     </div>
Expandir
titleImplements - Requisição e Resposta SOAP
Informações
iconfalse
Retorna a lista de todos os relatórios de uma determinada coligada.
Deck of Cards
id.
Card
labelRequest
Bloco de código
languagexml
firstline1
titleRequest
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tot="http://www.totvs.com/">
	<soapenv:Header/>
	<soapenv:Body>
		<tot:GetReportList>
			<!--Optional:-->
			<tot:codColigada>1</tot:codColigada>
		</tot:GetReportList>
	</soapenv:Body>
</soapenv:Envelope> 
Card
labelResponse
Bloco de código
languagexml
titleResponse
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetReportListResponse xmlns="http://www.totvs.com/"> <GetReportListResult>0,TOTVS Educacional,306,Boletim,Boletim,06/10/2010 15:43:00,597e2978-351d-4629-a2fb-b57432cad210;,0,TOTVS Educacional,30,Contrato,Contrato,06/10/2010 15:43:00,71eff25f-0960-4ab7-bbc9-564044dde0fe;,0,TOTVS Gestão Financeira,312,Boleto Itaú.2.1,Cópia de Cópia de Boleto Itaú,08/04/2016 07:49:00,c9c51350-3cfa-410e-b818-224a013d0296;,0,TOTVS Inteligência de Negócios,316,filtrosNomeados,filtrosNomeados,11/04/2016 10:37:12,d19713e7-eda0-4bf1-8e92-140714240c16;,0,TOTVS Educacional,31,EDUREL002,Listagem de Alunos com foto,06/10/2010 15:43:00,b84b941c-54e5-43c1-996b-3e9eae05e902....... </GetReportListResult> </GetReportListResponse> </s:Body> </s:Envelope>
HTML
</div>
HTML
<div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
HTML
      <div style="background:#fff;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
           <span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/folder3.png?version=2&modificationDate=1509366835661&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">FVWebService</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/transfer3.png?version=2&modificationDate=1509366835358&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">RM_IwsBase</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/loop3.png?version=2&modificationDate=1509366835997&api=v2"/></span>
           <span style="float:left;font-size:inherit;padding-left:5px">AutenticaAcesso</span>
     </div>
Expandir
titleCheckServiceActivity - Requisição e Resposta SOAP
Informações
iconfalse
Retorna a lista de todos os relatórios de uma determinada coligada.
Deck of Cards
id.
Card
labelRequest
Bloco de código
languagexml
firstline1
titleRequest
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tot="http://www.totvs.com/">
	<soapenv:Header/>
	<soapenv:Body>
		<tot:GetReportList>
			<!--Optional:-->
			<tot:codColigada>1</tot:codColigada>
		</tot:GetReportList>
	</soapenv:Body>
</soapenv:Envelope> 
Card
labelResponse
Bloco de código
languagexml
titleResponse
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetReportListResponse xmlns="http://www.totvs.com/"> <GetReportListResult>0,TOTVS Educacional,306,Boletim,Boletim,06/10/2010 15:43:00,597e2978-351d-4629-a2fb-b57432cad210;,0,TOTVS Educacional,30,Contrato,Contrato,06/10/2010 15:43:00,71eff25f-0960-4ab7-bbc9-564044dde0fe;,0,TOTVS Gestão Financeira,312,Boleto Itaú.2.1,Cópia de Cópia de Boleto Itaú,08/04/2016 07:49:00,c9c51350-3cfa-410e-b818-224a013d0296;,0,TOTVS Inteligência de Negócios,316,filtrosNomeados,filtrosNomeados,11/04/2016 10:37:12,d19713e7-eda0-4bf1-8e92-140714240c16;,0,TOTVS Educacional,31,EDUREL002,Listagem de Alunos com foto,06/10/2010 15:43:00,b84b941c-54e5-43c1-996b-3e9eae05e902....... </GetReportListResult> </GetReportListResponse> </s:Body> </s:Envelope>
HTML
</div>
HTML
<div style="padding:10px"></div>
HTML
<div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;">
HTML
      <div style="background:#fff;width:calc(100% - 10px);height:30px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px">
           <span style="float:left"><img style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/folder3.png?version=2&modificationDate=1509366835661&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">FVWebService</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/transfer3.png?version=2&modificationDate=1509366835358&api=v2" /></span>
           <span style="float:left;font-size:inherit;padding-left:5px">RM_IRMSServer</span>
           <span style="float:left;padding:0px 5px">&raquo</span>
           <span style="float:left"><img  style="width: 16px; height: 16px; margin-top:3px" src="/download/attachments/309398329/loop3.png?version=2&modificationDate=1509366835997&api=v2"/></span>
           <span style="float:left;font-size:inherit;padding-left:5px">Implements</span>
     </div>
Expandir
titleImplements - Requisição e Resposta SOAP
Informações
iconfalse
Retorna a lista de todos os relatórios de uma determinada coligada.
Deck of Cards
id.
Card
labelRequest
Bloco de código
languagexml
firstline1
titleRequest
linenumberstrue
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tot="http://www.totvs.com/">
	<soapenv:Header/>
	<soapenv:Body>
		<tot:GetReportList>
			<!--Optional:-->
			<tot:codColigada>1</tot:codColigada>
		</tot:GetReportList>
	</soapenv:Body>
</soapenv:Envelope> 
Card
labelResponse
Bloco de código
languagexml
titleResponse
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Body> <GetReportListResponse xmlns="http://www.totvs.com/"> <GetReportListResult>0,TOTVS Educacional,306,Boletim,Boletim,06/10/2010 15:43:00,597e2978-351d-4629-a2fb-b57432cad210;,0,TOTVS Educacional,30,Contrato,Contrato,06/10/2010 15:43:00,71eff25f-0960-4ab7-bbc9-564044dde0fe;,0,TOTVS Gestão Financeira,312,Boleto Itaú.2.1,Cópia de Cópia de Boleto Itaú,08/04/2016 07:49:00,c9c51350-3cfa-410e-b818-224a013d0296;,0,TOTVS Inteligência de Negócios,316,filtrosNomeados,filtrosNomeados,11/04/2016 10:37:12,d19713e7-eda0-4bf1-8e92-140714240c16;,0,TOTVS Educacional,31,EDUREL002,Listagem de Alunos com foto,06/10/2010 15:43:00,b84b941c-54e5-43c1-996b-3e9eae05e902....... </GetReportListResult> </GetReportListResponse> </s:Body> </s:Envelope>
HTML
</div>
Informações
iconfalse
Informações
iconfalse

Produto: Framework

Informações
iconfalse

Versão: 12.1.x

Informações
iconfalse

Processo: Web Services Fórmula Visual

Informações
iconfalse
Informações
iconfalse

Status: Finalizado

Informações
iconfalse

Data: //27/10/2017

Informações
iconfalse

Autores:

Daniel Santos Campos

Carlos Philippe de Farias Marques

Fábio Augusto Amaral Melo Nunes

Stella Gleyse Macedo Vilaca

Informações
iconfalse

Download dos arquivos:

View file
nameWebSite1.zip
pageTBC - Web Services Reports
height150