Expand my Community achievements bar.

Specifying a target frame for an HTTP Post request

Avatar

Level 2

We are developing a (Java) review and approval application that interfaces with custom LiveCycle services. During the “signature” phase of the document, a signer signs the submission by submitting the PDF to a java servlet which in turn invokes a custom LC service that stores the signed PDF in our database. The problem is the following: the servlet’s response overwrites the entire application in the browser. What I’d like to do is submit the PDF to a named invisible frame created by the application.  By doing so, the servlet would send the response back to the target frame, and not overwrite the contents of the browser.

I need the equivalent of:
<form name="form1" action="/WorkFlowMgr/AdobeSubmitPdfServlet" method="post" target="ServletResponseTargetFrame">

Can this be done, and if so how?

This is what I have now.

<event activity="click" name="event__click">
      <submit format="pdf" textEncoding="UTF-16" target="http://x.y.z/ WorkFlowMgr/AdobeSubmitPdfServlet" xdpContent="pdf datasets">
           <signData target="datasignature_1" ref="$data.signatures">
                            <filter>
                               <handler>Adobe.PPKLite</handler>
                            </filter>
           </signData>
       </submit>
</event>

Any help is most appreciated.

Thanks.
Eanass

1 Reply

Avatar

Former Community Member

Dont post the form.

Call a webservice instead - setup a webservice dataconnection