With the documents4j-server running and listening at http://localhost:9998 is it possible to convert a document with a direct HTTP command?
Example:
http://localhost:9998?source=C:\Test.doc?target=C:\Test.pdf
More info:
I was a few steps ahead of myself...
I am using Apache FOP servlet running on Apache-Tomcat as a service to generate PDF documents from XML / XSLT.
Once running a PDF can be generated via http.
Example:
http://localhost:8080/fop/
?xml=C:/temp/Test.xml
&xslt=C:/temp/Test-Style-Sheet.xsl
&pdf=C:/temp/Test.pdf
I execute this command from my database application (which sets up the XML source and manages the resultant PDF).
I was looking for the ability to do something similar with documents4j for Word Doc to PDF conversion.
So I now realise that what I actually need is the ability to pass the name/type of the source document and the type of conversion (plus any other required parameters) to an external program / http port which can then package the request appropriately and then initiate the formal conversion process.
Would anyone be able to provide advice or a solution?