Jasmin,
I tried all different methods
Method 1:
I confirmed that my classpath refers to "adobe-formdataintegration-client.jar"
--------------------------------------------------------------------
FormDataIntegrationClient dataClient = new FormDataIntegrationClient(serviceFactory);
//import XML data into PDF template
Document resultPDF = dataClient.importData(inputPDF,inputDataFile);
File resultFile = new File("C:\\Adobe\\TestResult.pdf");
resultPDF.copyToFile(resultFile);
--------------------------------------------------------------------
Result: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
Method 2:
I created a new process which has importData service in it and has different variables
inputTemplate (Document),
inputData (xml)
resultPDF (Document)
I tried to inovoke my process using invoke API, i had the same problem.
Result: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
Please adivse! All i need is i need to import XML data into PDF template and i would like to get editable(xfa) PDF.
Thanks,
Siva.Thiyaharajan