projectpdf


Click here for a complete list of operations.

createPDF

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 /projectpdf.asmx HTTP/1.1
Host: 51.104.47.97
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/createPDF"

<?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>
    <createPDF xmlns="http://tempuri.org/">
      <settings>
        <browserWidth>int</browserWidth>
        <browserHeight>int</browserHeight>
        <loadTimeout>int</loadTimeout>
        <pageSize>string</pageSize>
        <pdfStandard>Pdf or PdfA or PdfX</pdfStandard>
        <embedFonts>boolean</embedFonts>
        <triggeringMode>string</triggeringMode>
        <waitTime>int</waitTime>
        <password>string</password>
        <allowPrinting>boolean</allowPrinting>
        <url>string</url>
        <html>string</html>
        <baseUrl>string</baseUrl>
        <filename>string</filename>
        <header>boolean</header>
        <footer>boolean</footer>
        <orientation>string</orientation>
        <toc>boolean</toc>
        <titlepageurl>string</titlepageurl>
        <appendix>
          <string>string</string>
          <string>string</string>
        </appendix>
        <appendixpath>string</appendixpath>
        <logourl>string</logourl>
        <headerAddress>string</headerAddress>
      </settings>
    </createPDF>
  </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>
    <createPDFResponse xmlns="http://tempuri.org/">
      <createPDFResult>
        <output>base64Binary</output>
        <error>string</error>
      </createPDFResult>
    </createPDFResponse>
  </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 /projectpdf.asmx HTTP/1.1
Host: 51.104.47.97
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>
    <createPDF xmlns="http://tempuri.org/">
      <settings>
        <browserWidth>int</browserWidth>
        <browserHeight>int</browserHeight>
        <loadTimeout>int</loadTimeout>
        <pageSize>string</pageSize>
        <pdfStandard>Pdf or PdfA or PdfX</pdfStandard>
        <embedFonts>boolean</embedFonts>
        <triggeringMode>string</triggeringMode>
        <waitTime>int</waitTime>
        <password>string</password>
        <allowPrinting>boolean</allowPrinting>
        <url>string</url>
        <html>string</html>
        <baseUrl>string</baseUrl>
        <filename>string</filename>
        <header>boolean</header>
        <footer>boolean</footer>
        <orientation>string</orientation>
        <toc>boolean</toc>
        <titlepageurl>string</titlepageurl>
        <appendix>
          <string>string</string>
          <string>string</string>
        </appendix>
        <appendixpath>string</appendixpath>
        <logourl>string</logourl>
        <headerAddress>string</headerAddress>
      </settings>
    </createPDF>
  </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>
    <createPDFResponse xmlns="http://tempuri.org/">
      <createPDFResult>
        <output>base64Binary</output>
        <error>string</error>
      </createPDFResult>
    </createPDFResponse>
  </soap12:Body>
</soap12:Envelope>