For the sample assets to work on your system, it is assumed that you have AEM Author and Publish instance running on port 4502 and 4503 respectively. It is also assumed the AEM Author is accessible via
admin. If the port numbers or the admin password has been changed then these sample assets will not work. You will have to create your own assets using the provided sample code.
To get this use case working on your local system, following these steps:
/bin/startworkflow. This servlet saves the submitted form data under
/content/pdfsubmissionsnode in AEM’s repository. Deploy this bundle on both your AEM Author and Publish instance.
Instead of submitting the PDF to servlet running on publish instance, some customers have deployed the servlet in servlet container such as Tomcat. It all depends on the topology the customer is comfortable with.for the purpose of this tutorial we are going to use the servlet deployed on publish instance for handling the pdf submissions.