EcoSignatureWS
Click here for a complete list of operations.
SignOTC
Firma biométrica con certificado de un solo uso OTC (One-Time Certificate).
Se genera un certificado OTC, a nombre del firmante, con el que se firma electrónicamente para proteger la integridad del documento.
La identidad del firmante se garantiza mediante el doble factor de autenticación(Normalmente, generateOTP).
El sello de tiempo avala el momento exacto de la firma electrónica.
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/SignOTC" <?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> <SignOTC xmlns="http://www.edatalia.com/"> <document> <type>string</type> <content>string</content> <password>string</password> </document> <otp> <type>string</type> <sms> <sessionCode>string</sessionCode> <userId>string</userId> <otpCode>string</otpCode> </sms> </otp> <otc> <type>string</type> <edatalia> <commonName>string</commonName> <organization>string</organization> <organizationalUnit>string</organizationalUnit> <email>string</email> <phone>string</phone> <extra>string</extra> <extraHardware>string</extraHardware> </edatalia> <fp> <name>string</name> <surname>string</surname> <surname2>string</surname2> <email>string</email> <document>string</document> <organization>string</organization> <country>string</country> </fp> </otc> <widget> <width>string</width> <height>string</height> <type>string</type> <fixed> <page>string</page> <x>string</x> <y>string</y> </fixed> <float> <text>string</text> <gapX>string</gapX> <gapY>string</gapY> </float> <customText>string</customText> <jpg>string</jpg> </widget> <tsp> <activate>string</activate> <url>string</url> <user>string</user> <password>string</password> </tsp> <properties> <pdf> <certify>string</certify> <reason>string</reason> <contact>string</contact> <location>string</location> </pdf> </properties> </SignOTC> </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> <SignOTCResponse xmlns="http://www.edatalia.com/"> <SignOTCResult> <code>string</code> <error>string</error> <documentSigned>string</documentSigned> </SignOTCResult> </SignOTCResponse> </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> <SignOTC xmlns="http://www.edatalia.com/"> <document> <type>string</type> <content>string</content> <password>string</password> </document> <otp> <type>string</type> <sms> <sessionCode>string</sessionCode> <userId>string</userId> <otpCode>string</otpCode> </sms> </otp> <otc> <type>string</type> <edatalia> <commonName>string</commonName> <organization>string</organization> <organizationalUnit>string</organizationalUnit> <email>string</email> <phone>string</phone> <extra>string</extra> <extraHardware>string</extraHardware> </edatalia> <fp> <name>string</name> <surname>string</surname> <surname2>string</surname2> <email>string</email> <document>string</document> <organization>string</organization> <country>string</country> </fp> </otc> <widget> <width>string</width> <height>string</height> <type>string</type> <fixed> <page>string</page> <x>string</x> <y>string</y> </fixed> <float> <text>string</text> <gapX>string</gapX> <gapY>string</gapY> </float> <customText>string</customText> <jpg>string</jpg> </widget> <tsp> <activate>string</activate> <url>string</url> <user>string</user> <password>string</password> </tsp> <properties> <pdf> <certify>string</certify> <reason>string</reason> <contact>string</contact> <location>string</location> </pdf> </properties> </SignOTC> </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> <SignOTCResponse xmlns="http://www.edatalia.com/"> <SignOTCResult> <code>string</code> <error>string</error> <documentSigned>string</documentSigned> </SignOTCResult> </SignOTCResponse> </soap12:Body> </soap12:Envelope>