- Page Content
- Introduction
- How to use?
- Webservice QSWSDE
The inputs and returns of the WebServices described in this document are performed using a flexible and internationally recognized standard that is XML (eXtensible MarkUp Language).
These WebServices are developed in VB.NET framework 3.5.
All XML's return Zero to indicate success or an Error Code. WebServices that return data to the application will have specific attributes and are documented.
To obtain the WEBSERVICE WSDL, add the following string to the URL: ?WSDL
Exemple: www.test.com.br/test.aspx?WSDL
- How to use?
All methods described in this manual require a client key for authentication. This key is registered using the WebServices tab of the configuration module (Menu Minha Empresa>>Configuração do Portal QualiSign). To get to this tab, select the My Company Menu (or my Account if it is an Individual), then the Configuration submenu.
Fill in the session tag with the value registered in the weservices tab for this client key, as shown below:
<documentoeletronico>
<sessao> @chavedecliente</sessao>
<documentos>
<documento docto_nome_arquivo="CONTRATO_CAMBIO_MOND_24082012_6.TXT"
docto_referencia="MOND 24082012 TESTE" docto_dtinicio="24/08/2012"
docto_dtfim="24/08/2012" docto_fl_validade="S" docto_cod_tipodoc="72" docto_cod_moeda="1">
Q09OVFJBVE8gREUgQ0FNQklPIC0gTU9OREVMTEkgMjQwODIwMTIgNg==
<politica_assinatura docto_fl_bacen="N" docto_fl_ass_digital="S" docto_fl_grava_docto="S"
docto_fl_ass_portal="N" docto_fl_car_tempo="N" />
<seguranca_documento docto_cod_tipo_acesso="1" />
<partes>
<parte parte_papel_nome="CONTRATANTE" parte_empr_cnpj="45007630000126" parte_empr_ordem="1"></parte>
<parte parte_papel_nome="CONTRATADA" parte_papel_empr_cnpj="" parte_empr_cnpj="04455612000120"
parte_empr_ordem="2"></parte>
</partes>
</documento>
</documentos>
</documentoeletronico>
It is important to remember that in this example it is being considered that the partes have already been previously registered in the QualiSign Portal. If you want the QualiSign Portal to self-register the partes, it is necessary to pass the information of the TAGS <DetalheParte> to the companies and <DetalheRepr> to the representatives.