title: Orbeon Form Builder - Sending PDF to Java REST web service
body: <p>I want to send a PDF with the user entered data once the send button of Orbeon Form Builder is clicked, I have created a rest service for this and I have come up to this stage by referring the <a href="http://doc.orbeon.com/form-runner/advanced/buttons-and-processes/actions-form-runner.html#sending-a-pdf-url" rel="nofollow">documentation</a>. Now I get the below output to my java rest service:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;url&gt;/xforms-server/dynamic/5325aebace78df08fbc408ebdfaa818f7262d6b2&lt;/url&gt;
  </code></pre>
  
  <p>How can I proceed after this to retrieve the PDF file and save in my file server? How do I generate and use this session cookie? Any coding sample would be really appreciated.  </p>