eric.kersuzan Posted August 31, 2018 Share Posted August 31, 2018 Hi,I get this error when i call ReportExecution API REST V2 from android SDK.I use this SDK : com.github.Jaspersoft.js-android-sdk:js-android-sdk-client:2.5.1And the following code : Server server = Server.builder() .withBaseUrl("http://10.0.2.2:8080/jasperserver/") .build();Credentials credentials = SpringCredentials.builder() .withPassword("jasperadmin") .withUsername("jasperadmin") .withOrganization("") .build();AuthorizedClient client = server.newClient(credentials) .create();ReportService reportService = ReportService.newService(client);String reportUri = "/reports/interactive/CustomersReport";ReportExecutionOptions options = ReportExecutionOptions.builder() .withFormat(ReportFormat.PDF) .withFreshData(true) .withMarkupType(ReportMarkup.EMBEDDABLE) .withInteractive(false) .build(); ReportExecution execution = reportService.run(reportUri, options);[/code]Does anyone already managed this error ? Is it a jasperserver configuration problem ? I didn't modify the default configuration Thanks in advance Link to comment Share on other sites More sharing options...
eric.kersuzan Posted August 31, 2018 Author Share Posted August 31, 2018 Jasper server version is 7.1.0 (Compilation: 20180504_1307) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now