ProtestoFacilWS


Click here for a complete list of operations.

GetEnderecos

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /ProtestoFacilWS.asmx HTTP/1.1
Host: portaldetitulos.cartoriosumare.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/GetEnderecos"

<?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>
    <GetEnderecos xmlns="http://tempuri.org/">
      <iID_Devedor>int</iID_Devedor>
    </GetEnderecos>
  </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>
    <GetEnderecosResponse xmlns="http://tempuri.org/">
      <GetEnderecosResult>
        <MtblEnderecos_WebProtesto>
          <ID_DEVEDOR>int</ID_DEVEDOR>
          <ID_ENDERECO>int</ID_ENDERECO>
          <CD_CEP>string</CD_CEP>
          <NM_CIDADE>string</NM_CIDADE>
          <NM_UF>string</NM_UF>
          <NM_BAIRRO>string</NM_BAIRRO>
          <NM_ENDERECO>string</NM_ENDERECO>
          <NR_ENDERECO>string</NR_ENDERECO>
          <NM_COMPLEMENTO>string</NM_COMPLEMENTO>
          <tx>string</tx>
        </MtblEnderecos_WebProtesto>
        <MtblEnderecos_WebProtesto>
          <ID_DEVEDOR>int</ID_DEVEDOR>
          <ID_ENDERECO>int</ID_ENDERECO>
          <CD_CEP>string</CD_CEP>
          <NM_CIDADE>string</NM_CIDADE>
          <NM_UF>string</NM_UF>
          <NM_BAIRRO>string</NM_BAIRRO>
          <NM_ENDERECO>string</NM_ENDERECO>
          <NR_ENDERECO>string</NR_ENDERECO>
          <NM_COMPLEMENTO>string</NM_COMPLEMENTO>
          <tx>string</tx>
        </MtblEnderecos_WebProtesto>
      </GetEnderecosResult>
    </GetEnderecosResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /ProtestoFacilWS.asmx HTTP/1.1
Host: portaldetitulos.cartoriosumare.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>
    <GetEnderecos xmlns="http://tempuri.org/">
      <iID_Devedor>int</iID_Devedor>
    </GetEnderecos>
  </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>
    <GetEnderecosResponse xmlns="http://tempuri.org/">
      <GetEnderecosResult>
        <MtblEnderecos_WebProtesto>
          <ID_DEVEDOR>int</ID_DEVEDOR>
          <ID_ENDERECO>int</ID_ENDERECO>
          <CD_CEP>string</CD_CEP>
          <NM_CIDADE>string</NM_CIDADE>
          <NM_UF>string</NM_UF>
          <NM_BAIRRO>string</NM_BAIRRO>
          <NM_ENDERECO>string</NM_ENDERECO>
          <NR_ENDERECO>string</NR_ENDERECO>
          <NM_COMPLEMENTO>string</NM_COMPLEMENTO>
          <tx>string</tx>
        </MtblEnderecos_WebProtesto>
        <MtblEnderecos_WebProtesto>
          <ID_DEVEDOR>int</ID_DEVEDOR>
          <ID_ENDERECO>int</ID_ENDERECO>
          <CD_CEP>string</CD_CEP>
          <NM_CIDADE>string</NM_CIDADE>
          <NM_UF>string</NM_UF>
          <NM_BAIRRO>string</NM_BAIRRO>
          <NM_ENDERECO>string</NM_ENDERECO>
          <NR_ENDERECO>string</NR_ENDERECO>
          <NM_COMPLEMENTO>string</NM_COMPLEMENTO>
          <tx>string</tx>
        </MtblEnderecos_WebProtesto>
      </GetEnderecosResult>
    </GetEnderecosResponse>
  </soap12:Body>
</soap12:Envelope>