Converting an HTML document to a PDF document using the web service API
hi,
i trying use example code in "quick start: converting html document pdf document using web service api". have problems.
i want convert website pdf-document using webservice installed on server. created new windows console application in visualstudio , added serviced reference called generatepdfservice. using .net 3.5 c#. have livecycle 8.2 (i think?).
the beginning of code looks this:
// create generatepdfserviceservice object
generatepdfserviceservice pdfgenclient = new generatepdfserviceservice();
// provide authentication credentials service
pdfgenclient.credentials = new system.net.networkcredential("administrator","password");
the problem namespace generatepdfservice not contain class generatepdfserviceservice nor generatepdfservice. contain class called generatepdfserviceclient class not contain property credentials (but class clientcredentials readonly).
any suggestions can wrong or how proceed?
thanks in advance!
regards, malin.
hi again,
i started new asp.net web application in visual studio , copied code. code compiled. guess problem used windows console application before.
so, can run code error message saying:
"alc-pdg-80014-000: com.adobe.livecycle.generatepdf.client.conversionexception: alc-pdg-080-014-html pdf conversion failed because of exception.\nerror encountered loading http://www.adobe.com: java.net.connectexception: connection refused: connect\ncaused by: coldfusion.document.documentprocessor$renderexception: error encountered loading http://www.adobe.com: java.net.connectexception: connection refused: connect\n\tat coldfusion.document.documentprocessor.processcontent(documentprocessor.java:282)\n\tat coldfusion.document.documentprocessor.processcontent(documentprocessor.java:177)\n\tat com.adobe.pdfg.html2pdf.html2pdfconverter$urlconverter.run(html2pdfconverter.java:445)\n\ tat...etc...
i used default username (administrator) , password (password) when trying connect. says conenction refused, guess password has been changed after installation of livecycle? (it wasn't me installed it.)
More discussions in LiveCycle PDF Generator
adobe
Comments
Post a Comment