@Test @SuppressWarnings("unchecked") public void generateDetailedReportMultiSignatures() throws Exception { JAXBContext context = JAXBContext.newInstance(XmlDetailedReport.class.getPackage().getName()); Unmarshaller unmarshaller = context.createUnmarshaller(); Marshaller marshaller = context.createMarshaller(); JAXBElement<XmlDetailedReport> unmarshal = (JAXBElement<XmlDetailedReport>) unmarshaller .unmarshal(new File("src/test/resources/detailed-report-multi-signatures.xml")); assertNotNull(unmarshal); XmlDetailedReport detailedReport = unmarshal.getValue(); assertNotNull(detailedReport); StringWriter writer = new StringWriter(); marshaller.marshal(OF_DETAILED_REPORT.createDetailedReport(detailedReport), writer); String htmlDetailedReport = service.generateDetailedReport(writer.toString()); assertTrue(Utils.isStringNotEmpty(htmlDetailedReport)); LOG.debug("Detailed report html : " + htmlDetailedReport); }
public String generateDetailedReport(String detailedReport) { try { return DetailedReportFacade.newFacade().generateHtmlReport(detailedReport); } catch (Exception e) { LOG.error("Error while generating detailed report : " + e.getMessage(), e); return null; } }
XSLTService { public String generateDetailedReport(String detailedReport) { try { return DetailedReportFacade.newFacade().generateHtmlReport(detailedReport); } catch (Exception e) { LOG.error("Error while generating detailed report : " + e.getMessage(), e); return null; } } }
XSLTService { public String generateDetailedReport(String detailedReport) { try { return DetailedReportFacade.newFacade().generateHtmlReport(detailedReport); } catch (Exception e) { LOG.error("Error while generating detailed report : " + e.getMessage(), e); return null; } }  }
XSLTService { public String generateDetailedReport(String detailedReport) { try { return DetailedReportFacade.newFacade().generateHtmlReport(detailedReport); } catch (Exception e) { LOG.error("Error while generating detailed report : " + e.getMessage(), e); return null; } }  String generateSimpleReport(String simpleReport); String generateSimpleCertificateReport(String simpleReport); String generateDetailedReport(String detailedReport); String generateSVG(String diagnosticDataXml); }
XSLTService { public String generateDetailedReport(String detailedReport) { try { return DetailedReportFacade.newFacade().generateHtmlReport(detailedReport); } catch (Exception e) { LOG.error("Error while generating detailed report : " + e.getMessage(), e); return null; } }  String generateSimpleReport(String simpleReport); String generateSimpleCertificateReport(String simpleReport); String generateDetailedReport(String detailedReport); String generateSVG(String diagnosticDataXml);  }