WebtelService


Click here for a complete list of operations.

SignPDF_Base64String

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 /service.asmx HTTP/1.1
Host: webesign.somany.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SignPDF_Base64String"

<?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>
    <AuthHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap:Header>
  <soap:Body>
    <SignPDF_Base64String xmlns="http://tempuri.org/">
      <pdfByte1>string</pdfByte1>
      <AuthorizedSignatory>string</AuthorizedSignatory>
      <SignerName>string</SignerName>
      <TopLeft>int</TopLeft>
      <BottomLeft>int</BottomLeft>
      <TopRight>int</TopRight>
      <BottomRight>int</BottomRight>
      <ExcludePageNo>string</ExcludePageNo>
      <InvoiceNumber>string</InvoiceNumber>
      <pageNo>int</pageNo>
      <PrintDateTime>string</PrintDateTime>
      <FindAuth>string</FindAuth>
      <FindAuthLocation>int</FindAuthLocation>
      <fontsize>int</fontsize>
      <adjustCoordinates>int</adjustCoordinates>
      <signOnlySearchTextPage>int</signOnlySearchTextPage>
      <copies>int</copies>
    </SignPDF_Base64String>
  </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>
    <SignPDF_Base64StringResponse xmlns="http://tempuri.org/">
      <SignPDF_Base64StringResult>
        <OutputFile>base64Binary</OutputFile>
        <Error_Detail>string</Error_Detail>
        <OutStore_Detail>string</OutStore_Detail>
        <OutputOriginalFile>base64Binary</OutputOriginalFile>
      </SignPDF_Base64StringResult>
    </SignPDF_Base64StringResponse>
  </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 /service.asmx HTTP/1.1
Host: webesign.somany.com
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>
    <AuthHeader xmlns="http://tempuri.org/">
      <Username>string</Username>
      <Password>string</Password>
    </AuthHeader>
  </soap12:Header>
  <soap12:Body>
    <SignPDF_Base64String xmlns="http://tempuri.org/">
      <pdfByte1>string</pdfByte1>
      <AuthorizedSignatory>string</AuthorizedSignatory>
      <SignerName>string</SignerName>
      <TopLeft>int</TopLeft>
      <BottomLeft>int</BottomLeft>
      <TopRight>int</TopRight>
      <BottomRight>int</BottomRight>
      <ExcludePageNo>string</ExcludePageNo>
      <InvoiceNumber>string</InvoiceNumber>
      <pageNo>int</pageNo>
      <PrintDateTime>string</PrintDateTime>
      <FindAuth>string</FindAuth>
      <FindAuthLocation>int</FindAuthLocation>
      <fontsize>int</fontsize>
      <adjustCoordinates>int</adjustCoordinates>
      <signOnlySearchTextPage>int</signOnlySearchTextPage>
      <copies>int</copies>
    </SignPDF_Base64String>
  </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>
    <SignPDF_Base64StringResponse xmlns="http://tempuri.org/">
      <SignPDF_Base64StringResult>
        <OutputFile>base64Binary</OutputFile>
        <Error_Detail>string</Error_Detail>
        <OutStore_Detail>string</OutStore_Detail>
        <OutputOriginalFile>base64Binary</OutputOriginalFile>
      </SignPDF_Base64StringResult>
    </SignPDF_Base64StringResponse>
  </soap12:Body>
</soap12:Envelope>