Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Output
Viewing all articles
Browse latest Browse all 9631

Submit PDF to a HTTP URL

$
0
0
Hello All,

I am trying to submit a XDP rendered as an interactive PDF on HTML page to a HTTP servlet, the XDP is rendered using renderPDF operation.
The PDF has got a Submit button (submitting to HTTP servlet URL), which the user clicks once the all the fields are filled. Once I get the PDF on the servlet, I need to archive the filled-in PDF on a file location.

To achieve this, I tried processFormSubmission of FormServiceClient, and when I am invoking the operation "processFormSubmission" I am getting the following exception:

com.adobe.livecycle.formsservice.exception.ProcessFormSubmissionExcept ion: com.adobe.idp.DocumentError: Failed to connect to LiveCycle server via RMI. Make sure that the server is running and accessible to this client.
at com.adobe.livecycle.formsservice.client.FormsServiceClient.processFor mSubmission(FormsServiceClient.java:416)
at com.eams.lc.servlet.EamsSampleTestServlet.savePDFUsingEJB(EamsSampleT estServlet.java:170)
at com.eams.lc.servlet.EamsSampleTestServlet.service(EamsSampleTestServl et.java:100)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7)
at java.lang.Thread.run(Thread.java:595)

My environment details are as follows:
1. JBoss 4.0.3
2. SQL Server 2005
3. Windows 2003 Server
4. Adobe LC ES 8.2 Trial Version.

Am I getting this exception because its a trial version? I am planning to upgrade the version to a licensed one very soon.

And also please confirm whether the processFormSubmission can be used only with XDPs rendered as HTML?

I tried submitting the PDF opened in Acrobat Pro, with this option also I got the same exception.

Any comments are well appreciated.

Thanks
Sivajee.

Viewing all articles
Browse latest Browse all 9631

Trending Articles



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