Hi,
I am trying to use the example code in "Quick Start: Converting an HTML document to a PDF document using the web service API". but I have some problems.
I want to convert a website to a PDF-document using a webservice installed on a server. I created a new Windows Console Application in VisualStudio and added a Serviced Reference called GeneratePDFService. I am using .NET 3.5 C#. I have LiveCycle 8.2 (I think?).
The beginning of the code looks like this:
// Create a GeneratePDFServiceService object
GeneratePDFServiceService pdfGenClient = new GeneratePDFServiceService();
// Provide authentication credentials to the service
pdfGenClient.Credentials = new System.Net.NetworkCredential("administrator","password");
The problem is that the namespace GeneratePDFService does not contain the class GeneratePDFServiceService nor GeneratePDFService. It does contain a class called GeneratePDFServiceClient but that class does not contain the property Credentials (but a class ClientCredentials that is readonly).
Any suggestions about what can be wrong or how to proceed?
Thanks in advance!
Regards, Malin.