opensagres / xdocreport

XDocReport means XML Document reporting. It's Java API to merge XML document created with MS Office (docx) or OpenOffice (odt), LibreOffice (odt) with a Java model to generate report and convert it if you need to another format (PDF, XHTML...).
https://github.com/opensagres/xdocreport
1.22k stars 371 forks source link

Live Example Gives 404 #240

Open ScriptGadget opened 7 years ago

ScriptGadget commented 7 years ago

I tried the live example linked from the README

http://mytomcatapp-opensagres.rhcloud.com/rest-service-reporting/

I need to generate a PDF with a DOCX template. I've tried both the Velocity and FreeMarker syntax and even a blank docx with nothing to replace, I set the output to pdf and and the engine to xdocreport (although I tried the DocX4J also). No matter what I do I get the tomcat 404 page for the URL http://mytomcatapp-opensagres.rhcloud.com/rest-service-reporting/jaxrs/report

It would be helpful if you could provide an example docx and settings that you know work with this live example. I'm sure whatever I'm doing wrong would then be obvious.

Thanks for sharing your hard work.

angelozerr commented 7 years ago

@pascalleclercq is there any chance to resurrect our live demo ?

@ScriptGadget you can find XDocReport samples at https://github.com/opensagres/xdocreport.samples

ScriptGadget commented 7 years ago

@angelozerr Thanks! These are very helpful.