Using Docx4j as a service
Posted: Fri Apr 05, 2019 4:10 am
Hello,
I've developed an application which uses the enterprise version of docx4j to create word templates for use within a web based workflow.
When testing this locally, I can see that the word templates are generated successfully.
When I deploy and test this within a cloud environment, nothing appears to be happening. I'm not seeing the template getting generated nor am I getting any errors logged on the console.
Does docx4j require word to be installed on the target environment it's used? This is problematic if this is the case as we need to ensure our cloud agents have this installed. I assumed this would not be the case since all it's doing is generating an XML document which could eventually be opened in a word document.
Unfortunately, I can't provide logs as there are no errors being logged when I attempt to use the API (unless I'm missing a logging config). The response completes with an HTTP 200, so the request is being services, it's not no template is created and stored in the DB. Any ideas would be welcome.
Stephen
I've developed an application which uses the enterprise version of docx4j to create word templates for use within a web based workflow.
When testing this locally, I can see that the word templates are generated successfully.
When I deploy and test this within a cloud environment, nothing appears to be happening. I'm not seeing the template getting generated nor am I getting any errors logged on the console.
Does docx4j require word to be installed on the target environment it's used? This is problematic if this is the case as we need to ensure our cloud agents have this installed. I assumed this would not be the case since all it's doing is generating an XML document which could eventually be opened in a word document.
Unfortunately, I can't provide logs as there are no errors being logged when I attempt to use the API (unless I'm missing a logging config). The response completes with an HTTP 200, so the request is being services, it's not no template is created and stored in the DB. Any ideas would be welcome.
Stephen