EcoSignatureWS
Click here for a complete list of operations.
Sign
Firma electrónica de documentos con certificado electrónico.
La firma electrónica protege la integridad del documento: que no se haya modificado desde que se firmó.
El certificado electrónico asegura el origen.
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/Sign" <?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> <Sign xmlns="http://www.edatalia.com/"> <document> <type>string</type> <content>string</content> <password>string</password> </document> <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> <signCert> <type>string</type> <p12>string</p12> <password>string</password> </signCert> <tsp> <activate>string</activate> <url>string</url> <user>string</user> <password>string</password> </tsp> <ocsp> <activate>string</activate> <url>string</url> <user>string</user> <password>string</password> </ocsp> <properties> <pdf> <certify>string</certify> <author>string</author> <reason>string</reason> <contact>string</contact> <location>string</location> </pdf> </properties> </Sign> </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> <SignResponse xmlns="http://www.edatalia.com/"> <SignResult> <code>string</code> <error>string</error> <documentSigned>string</documentSigned> </SignResult> </SignResponse> </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> <Sign xmlns="http://www.edatalia.com/"> <document> <type>string</type> <content>string</content> <password>string</password> </document> <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> <signCert> <type>string</type> <p12>string</p12> <password>string</password> </signCert> <tsp> <activate>string</activate> <url>string</url> <user>string</user> <password>string</password> </tsp> <ocsp> <activate>string</activate> <url>string</url> <user>string</user> <password>string</password> </ocsp> <properties> <pdf> <certify>string</certify> <author>string</author> <reason>string</reason> <contact>string</contact> <location>string</location> </pdf> </properties> </Sign> </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> <SignResponse xmlns="http://www.edatalia.com/"> <SignResult> <code>string</code> <error>string</error> <documentSigned>string</documentSigned> </SignResult> </SignResponse> </soap12:Body> </soap12:Envelope>