Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle PDF Generator
Viewing all articles
Browse latest Browse all 31905

Workbench Web Service call to CreatePDF issue

$
0
0

Hi all,

 

I am having some trouble making a web service call from a workbench process to CreatePDF running on a LiveCycle 8.2 Windows machine. I have successfully called the service in Java using the GeneratePdfServiceClient.createPDF2() method, so I think I have ruled out a config issue on the server. I would like to pass in a base64 word/powerpoint document and receive a base64 pdf in the response. Below is the request I am using currently:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://adobe.com/idp/services">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:CreatePDF>
         <ser:inputDocument>
            <ser:contentType>application/msword</ser:contentType>
                   <ser:binaryData>**Binary data omitted****

                    </ser:binaryData>
             </ser:inputDocument>

         <ser:fileName>test.doc</ser:fileName>
      </ser:CreatePDF>
   </soapenv:Body>
</soapenv:Envelope>

 

 

This request returns the following error from the test harness in workbench:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soapenv:Body>
      <soapenv:Fault>
         <faultcode>soapenv:Server.userException</faultcode>
         <faultstring>ALC-PDG-16004-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-016-004-Error occurred during native application invocation.</faultstring>
         <detail>
            <faultData>
               <ns1:conversionLog xsi:nil="true" xmlns:ns1="http://adobe.com/idp/services"/>
               <ns2:error xmlns:ns2="http://adobe.com/idp/services">
                  <ns2:classLoader xsi:nil="true"/>
                  <ns2:errorCode>16004</ns2:errorCode>
                  <ns2:minorCode>0</ns2:minorCode>
                  <ns2:localizedMessage>ALC-PDG-016-004-Error occurred during native application invocation.</ns2:localizedMessage>
                  <ns2:componentUID>PDG</ns2:componentUID>
                  <ns2:message>ALC-PDG-016-004-Error occurred during native application invocation.</ns2:message>
               </ns2:error>
               <ns3:message xmlns:ns3="http://adobe.com/idp/services">ALC-PDG-016-004-Error occurred during native application invocation.</ns3:message>
               <ns4:errorCode xmlns:ns4="http://adobe.com/idp/services">16004</ns4:errorCode>
               <ns5:nestedThrowable xsi:nil="true" xmlns:ns5="http://adobe.com/idp/services"/>
            </faultData>
            <ns6:hostname xmlns:ns6="http://xml.apache.org/axis/">**hostname omitted***</ns6:hostname>
         </detail>
      </soapenv:Fault>
   </soapenv:Body>
</soapenv:Envelope>

 

The LiveCyle log shows the following:

 

0000023a GeneratePDFIm A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-000-Job ID for the submitted createPDF job =test.doc6d2013-ecd6b8-16418c-718145-9335dd-2adac1
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-024-test.doc: Time Job Submitted: 11/29/10 3:39 PM
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-021-test.doc: PDF Settings Used: pdfg Standard 15533
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-022-test.doc: Security Settings Used: No Security
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-023-test.doc: FileType Settings Used: Standard
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-017-test.doc: Job Submitted by User: pdfgtest
000000a7 WordToPDFConv A com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-001-Begin processing job : ***path to***\native-in.doc
000000a7 WordToPDFConv A com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-000-Calling function to clean registrys Resiliency entry
000000a7 WordToPDFConv W com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-000-Acrobat add-in got diabled in MS Office applications . So cleaned entry of Resiliency subtree from registry successfully to re-activate the Acrobat add-in
000000a7 WordToPDFConv A com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-000-Calling function to clean registrys Resiliency entry
000000a7 WordToPDFConv A com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-000-The system cannot find the file specified.
000000a7 WordToPDFConv A com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-001-Begin processing job : ***path to***\native-in.doc
000000a7 WordToPDFConv A com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-000-Calling function to clean registrys Resiliency entry
000000a7 WordToPDFConv A com.adobe.service.ProcessResource$ManagerImpl logJdk ALC-PDG-001-000-The system cannot find the file specified.
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-028-test.doc: Job Completion Status: Failed
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-025-test.doc: Time Job Completed: 11/29/10 3:39 PM
0000023a BMCCaller     A com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-026-test.doc: Time of Job Execution: 9,328 ms
0000023a GeneratePDFIm E com.adobe.pdfg.logging.PDFGLogger log ALC-PDG-001-000-ALC-PDG-016-004-Error occurred during native application invocation.

 

Ive checked the ***path to*** \native-in.doc and the file does exist there.

 

Does anyone have a sample request which has worked previously? I have tried including more elements in the request but none have been successful.

 

Any help would be appreciated.


Viewing all articles
Browse latest Browse all 31905

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>