WebServiceMonitor


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

ControleFTP

Testar

Para testar a operação usando o protocolo HTTP POST, clique no botão 'Chamar'.
Parâmetro Valor
Software:

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 /Site/WebServiceAM3.asmx HTTP/1.1
Host: wsmonitor.ddns.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ControleFTP"

<?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>
    <ControleFTP xmlns="http://tempuri.org/">
      <Software>string</Software>
    </ControleFTP>
  </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>
    <ControleFTPResponse xmlns="http://tempuri.org/">
      <ControleFTPResult>
        <CNPJ>string</CNPJ>
        <Login>string</Login>
        <Senha>string</Senha>
        <Servidor>string</Servidor>
        <Link>string</Link>
        <Versao>string</Versao>
        <ForcarAtualizacao>string</ForcarAtualizacao>
        <VersaoLocal>string</VersaoLocal>
        <VersaoCNPJ>string</VersaoCNPJ>
      </ControleFTPResult>
    </ControleFTPResponse>
  </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 /Site/WebServiceAM3.asmx HTTP/1.1
Host: wsmonitor.ddns.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>
    <ControleFTP xmlns="http://tempuri.org/">
      <Software>string</Software>
    </ControleFTP>
  </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>
    <ControleFTPResponse xmlns="http://tempuri.org/">
      <ControleFTPResult>
        <CNPJ>string</CNPJ>
        <Login>string</Login>
        <Senha>string</Senha>
        <Servidor>string</Servidor>
        <Link>string</Link>
        <Versao>string</Versao>
        <ForcarAtualizacao>string</ForcarAtualizacao>
        <VersaoLocal>string</VersaoLocal>
        <VersaoCNPJ>string</VersaoCNPJ>
      </ControleFTPResult>
    </ControleFTPResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

A seguir é apresentado um exemplo de solicitação e de resposta HTTP GET. Os espaços reservados mostrados devem ser substituídos por valores reais.

GET /Site/WebServiceAM3.asmx/ControleFTP?Software=string HTTP/1.1
Host: wsmonitor.ddns.com.br
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Ws_FTP xmlns="http://tempuri.org/">
  <CNPJ>string</CNPJ>
  <Login>string</Login>
  <Senha>string</Senha>
  <Servidor>string</Servidor>
  <Link>string</Link>
  <Versao>string</Versao>
  <ForcarAtualizacao>string</ForcarAtualizacao>
  <VersaoLocal>string</VersaoLocal>
  <VersaoCNPJ>string</VersaoCNPJ>
</Ws_FTP>

HTTP POST

A seguir é apresentado um exemplo de solicitação e resposta HTTP POST. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /Site/WebServiceAM3.asmx/ControleFTP HTTP/1.1
Host: wsmonitor.ddns.com.br
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Software=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Ws_FTP xmlns="http://tempuri.org/">
  <CNPJ>string</CNPJ>
  <Login>string</Login>
  <Senha>string</Senha>
  <Servidor>string</Servidor>
  <Link>string</Link>
  <Versao>string</Versao>
  <ForcarAtualizacao>string</ForcarAtualizacao>
  <VersaoLocal>string</VersaoLocal>
  <VersaoCNPJ>string</VersaoCNPJ>
</Ws_FTP>