-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Hello, l'm executing this request:
ReportExecutionRequest request = new ReportExecutionRequest()
.setReportUnitUri("/report/Composition_report")
.setAsync(false)
.setOutputFormat("pdf")
.setParameters(parameters);
OperationResult<ReportExecutionDescriptor> reportResponse = restSession
.reportingService()
.newReportExecutionRequest(request);`
and then I would like to pull the report generated using
ReportExecutionDescriptor reportExecutionDescriptor = reportResponse.getEntity();
OperationResult<InputStream> operationResult = restSession
.reportingService()
.reportExecutionRequest(reportExecutionDescriptor.getRequestId())
.export(reportExecutionDescriptor.getExports().get(0).getId())
.outputResource();`
but the exports are empty.
Debugging I've found that the exports is present in the buffer input stream, and If i execute the request from postman the exports are there also.
I'm using jasper server 7.2.0
and jrs-rest-java-client-6.0.8-jar-with-dependencies .
Metadata
Metadata
Assignees
Labels
No labels