String reportFile = reportDirAbsolutePath + File.separatorChar + "wadl-report.html";
StreamResult result = new StreamResult( new FileWriter( reportFile ) );
WadlDefinitionExporter exporter = new WadlDefinitionExporter( target );
String infile = exporter.export( reportDirAbsolutePath );
transformer.setURIResolver( new FileUriResolver( reportDirAbsolutePath ) );
transformer.transform( new StreamSource( new FileReader( infile ) ), result );
String reportUrl = new File( reportFile ).toURI().toURL().toString();