Service1
Clique aqui para obter uma lista completa das operações.
UploadFile
Testar
O formulário de teste está disponível somente para métodos primitivos como parâmetros.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/Service1.asmx HTTP/1.1
Host: wsmonitor.ddns.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/UploadFile"
<?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>
<UploadFile xmlns="http://tempuri.org/">
<f>base64Binary</f>
<fileName>string</fileName>
</UploadFile>
</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>
<UploadFileResponse xmlns="http://tempuri.org/">
<UploadFileResult>string</UploadFileResult>
</UploadFileResponse>
</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/Service1.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>
<UploadFile xmlns="http://tempuri.org/">
<f>base64Binary</f>
<fileName>string</fileName>
</UploadFile>
</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>
<UploadFileResponse xmlns="http://tempuri.org/">
<UploadFileResult>string</UploadFileResult>
</UploadFileResponse>
</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/Service1.asmx/UploadFile?f=string&f=string&fileName=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"?> <string xmlns="http://tempuri.org/">string</string>
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/Service1.asmx/UploadFile HTTP/1.1 Host: wsmonitor.ddns.com.br Content-Type: application/x-www-form-urlencoded Content-Length: length f=string&f=string&fileName=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <string xmlns="http://tempuri.org/">string</string>