We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Stuck to save to PDF after binding the xml file

I have one program to convert the xml file into PDF using .save function after binding the xml. If the xml has no image in it, it was successfuly converted to a PDF from xml. If we put one image file in the xml file, like the following:

the following save API got stuck under weblogic env(however it is working fine while running as a standalone application)

pdf1.bindXML(xmlTemp,null);

// Save the document

pdf1.save(new FileOutputStream(form1_pdf));

Is there anywhere we can enable the log to check what is the issue? Also what is the condition to save the xml with Image to PDF file?

Hi Jean,


Thanks for your inquiry. I am afraid I am unable to replicate the issue at my side, while tested the scenario with Aspose.Pdf for Java 9.1.0. Please ensure the referenced images exist and if you are trying some old version then please download and try latest version of Aspose.Pdf for Java, hopefully it will resolve the issue.

We are sorry for the inconvenience caused.

Best Regards,