WebService


Clique aqui para obter uma lista completa das operações.

Consultar

Testar

O formulário de teste está disponível somente para solicitações na máquina local.

SOAP 1.1

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /webservice.asmx HTTP/1.1
Host: www.federalweb.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.federalweb.com.br/webservice.asmx/Consultar"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <Consultar xmlns="http://www.federalweb.com.br/webservice.asmx/">
      <cod_cliente>string</cod_cliente>
      <cod_usuario>int</cod_usuario>
      <senha_usuario>string</senha_usuario>
      <documento>string</documento>
      <dataCheque>dateTime</dataCheque>
      <valor>double</valor>
      <cmc7>string</cmc7>
      <cod_consulta>int</cod_consulta>
      <formato_resposta>int</formato_resposta>
      <dispositivo>int</dispositivo>
      <cod_integrador>int</cod_integrador>
    </Consultar>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ConsultarResponse xmlns="http://www.federalweb.com.br/webservice.asmx/">
      <ConsultarResult>string</ConsultarResult>
    </ConsultarResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /webservice.asmx HTTP/1.1
Host: www.federalweb.com.br
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <Consultar xmlns="http://www.federalweb.com.br/webservice.asmx/">
      <cod_cliente>string</cod_cliente>
      <cod_usuario>int</cod_usuario>
      <senha_usuario>string</senha_usuario>
      <documento>string</documento>
      <dataCheque>dateTime</dataCheque>
      <valor>double</valor>
      <cmc7>string</cmc7>
      <cod_consulta>int</cod_consulta>
      <formato_resposta>int</formato_resposta>
      <dispositivo>int</dispositivo>
      <cod_integrador>int</cod_integrador>
    </Consultar>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ConsultarResponse xmlns="http://www.federalweb.com.br/webservice.asmx/">
      <ConsultarResult>string</ConsultarResult>
    </ConsultarResponse>
  </soap12:Body>
</soap12:Envelope>