Using WebDAV protocol how to read remote PDF files from within AEM via Document Service API (OutputService)
Hello experts,
One of our client has good storage of promotional materials on Windows drive, and metadata is being maintained via MSSQL DB. Customer wants to utilize AEM Forms Document Service API (OutputService) to print a PDF. While printing the whole PDF customer would like to assemble and merge few promotional materials from Windows drive. However AEM is hosted on Linux.
We would like to know following:
- What is the best protocol to read promotional PDF via http (such as WebDAV)
- Can we mount Windows drive on Linux server as a local drive and read PDF using WebDAV
- Will we need to download PDF first then we can read in Document Service API or after mounting we can directly read from path via WebDAV protocol
Please note
- we do not want to use smb/cifs
- http protocol such as WebDAV could be an option
- we can to avoid latency of download and then read so mounting the drive and reading via WebDAV looks an option
Please share your best practices, thank you.
