EcoSignatureWS


Click here for a complete list of operations.

GenerateOTP

Generación de PIN OTP (One-Time Password) y envío mediante SMS para autenticación en dos factores.
El PIN se envia al telefono móvil del firmante para garantizar su identidad.

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 /ef30/ecoSignatureWS.asmx HTTP/1.1
Host: ws.firmar.online
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.edatalia.com/GenerateOTP"

<?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:Header>
    <AuthToken xmlns="http://www.edatalia.com/">
      <token>string</token>
    </AuthToken>
  </soap:Header>
  <soap:Body>
    <GenerateOTP xmlns="http://www.edatalia.com/">
      <document>
        <content>string</content>
      </document>
      <otp>
        <type>string</type>
        <sms>
          <sessionCode>string</sessionCode>
          <userId>string</userId>
          <sendTo>string</sendTo>
          <sendText>string</sendText>
          <provider>string</provider>
          <provider0>
            <user>string</user>
            <password>string</password>
            <from>string</from>
            <unicode>string</unicode>
          </provider0>
        </sms>
      </otp>
    </GenerateOTP>
  </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>
    <GenerateOTPResponse xmlns="http://www.edatalia.com/">
      <GenerateOTPResult>
        <code>string</code>
        <error>string</error>
      </GenerateOTPResult>
    </GenerateOTPResponse>
  </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 /ef30/ecoSignatureWS.asmx HTTP/1.1
Host: ws.firmar.online
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:Header>
    <AuthToken xmlns="http://www.edatalia.com/">
      <token>string</token>
    </AuthToken>
  </soap12:Header>
  <soap12:Body>
    <GenerateOTP xmlns="http://www.edatalia.com/">
      <document>
        <content>string</content>
      </document>
      <otp>
        <type>string</type>
        <sms>
          <sessionCode>string</sessionCode>
          <userId>string</userId>
          <sendTo>string</sendTo>
          <sendText>string</sendText>
          <provider>string</provider>
          <provider0>
            <user>string</user>
            <password>string</password>
            <from>string</from>
            <unicode>string</unicode>
          </provider0>
        </sms>
      </otp>
    </GenerateOTP>
  </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>
    <GenerateOTPResponse xmlns="http://www.edatalia.com/">
      <GenerateOTPResult>
        <code>string</code>
        <error>string</error>
      </GenerateOTPResult>
    </GenerateOTPResponse>
  </soap12:Body>
</soap12:Envelope>