Mobile


Haga clic aquí para obtener una lista completa de operaciones.

setFoto

Prueba

Haga clic en el botón 'Invocar', para probar la operación utilizando el protocolo HTTP POST.
Parámetro Valor
_token:
_idEntorno:
_foto:
_nombre:
_idParte:
_idTrabajador:
_esFirma:

SOAP 1.1

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /asmx/Mobile.asmx HTTP/1.1
Host: wsproyemer.datagram.es
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://wsfaitel.xisat.es/setFoto"

<?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>
    <setFoto xmlns="http://wsfaitel.xisat.es">
      <_token>string</_token>
      <_idEntorno>int</_idEntorno>
      <_foto>string</_foto>
      <_nombre>string</_nombre>
      <_idParte>int</_idParte>
      <_idTrabajador>int</_idTrabajador>
      <_esFirma>boolean</_esFirma>
    </setFoto>
  </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>
    <setFotoResponse xmlns="http://wsfaitel.xisat.es">
      <setFotoResult>int</setFotoResult>
    </setFotoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /asmx/Mobile.asmx HTTP/1.1
Host: wsproyemer.datagram.es
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>
    <setFoto xmlns="http://wsfaitel.xisat.es">
      <_token>string</_token>
      <_idEntorno>int</_idEntorno>
      <_foto>string</_foto>
      <_nombre>string</_nombre>
      <_idParte>int</_idParte>
      <_idTrabajador>int</_idTrabajador>
      <_esFirma>boolean</_esFirma>
    </setFoto>
  </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>
    <setFotoResponse xmlns="http://wsfaitel.xisat.es">
      <setFotoResult>int</setFotoResult>
    </setFotoResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

A continuación se muestra un ejemplo de solicitud y respuesta para HTTP GET. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

GET /asmx/Mobile.asmx/setFoto?_token=string&_idEntorno=string&_foto=string&_nombre=string&_idParte=string&_idTrabajador=string&_esFirma=string HTTP/1.1
Host: wsproyemer.datagram.es
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<int xmlns="http://wsfaitel.xisat.es">int</int>

HTTP POST

A continuación se muestra un ejemplo de solicitud y respuesta para HTTP POST. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /asmx/Mobile.asmx/setFoto HTTP/1.1
Host: wsproyemer.datagram.es
Content-Type: application/x-www-form-urlencoded
Content-Length: length

_token=string&_idEntorno=string&_foto=string&_nombre=string&_idParte=string&_idTrabajador=string&_esFirma=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<int xmlns="http://wsfaitel.xisat.es">int</int>