Jump to content
We've recently updated our Privacy Statement, available here ×

mkss30

Members
  • Posts

    3
  • Joined

  • Last visited

mkss30's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hi All, I am geeting request ID , export ID , I am calling // Testing in iOS http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions/a8e15e8b-01b1-4950-bdd0-243692b3455c/exports/9da25d3f-1a32-4a51-ad75-8e2055554589/outputResource?sessionDecorator=no&decorate=no#& I am geting Null Response: (null) As Per SDK - I am calling below method in JSRESTBase+JSRESTReport file. - (void)loadReportOutput:(nonnull NSString *)requestId exportOutput:(nonnull NSString *)exportOutput loadForSaving:(BOOL)loadForSaving path:(nullable NSString *)path completionBlock:(nullable JSRequestCompletionBlock)block; @param requestId A <b>requestId</b> parameter of the report execution response @param exportOutput Export parameters as string: - for JRS version smaller 5.6.0 it should be in the follow format: {reportFormat};pages={pageOrPagesRange};attachmentsPrefix={attachmentsPrefixUrlEncodedValue}; - for JRS version 5.6.0 and greater it should be GUID string; @param loadForSaving If TRUE, report output will be saved by path @param loadForSaving If TRUE, report output will be saved by path @param path The path where the report output will be saved. Ignored, if loadForSaving is FALSE. @param block The block to inform of the results @since 1.9 * Please let me know where i am wrong?
  2. Hi , I am tring to download load pdf file in my demo aplication Document directory. Can [self.baseRest runReportExecution:@"/public/Samples/Reports/5g.AccountsReport" async:true outputFormat:kJS_CONTENT_TYPE_PDF markupType:JSMarkupTypeFull interactive:false freshData:true saveDataSnapshot:true ignorePagination:false transformerKey:nil pages:@"1" attachmentsPrefix:nil parameters:nil completionBlock:^(JSOperationResult * _Nullable result) { self.resultsboje = (JSReportExecutionResponse *)result.objects.lastObject; self.resultExportExecutionReponse = (JSExportExecutionResponse *)self.resultsboje.exports.lastObject; if(self.resultsboje.requestId != nil && self.resultExportExecutionReponse.uuid !=nil){ [self.baseRest reportExecutionStatusForRequestId:self.resultsboje.requestId completionBlock:^(JSOperationResult * _Nullable result) { self.statusofReport = (JSExecutionStatus *)result.objects.lastObject; if(self.statusofReport.status == kJS_EXECUTION_STATUS_READY){ [self.baseRest loadReportOutput:self.resultsboje.requestId exportOutput:self.resultExportExecutionReponse.uuid loadForSaving:true path: [self applicationDocumentsDirectory].path completionBlock:^(JSOperationResult * _Nullable result) { }]; } }]; } }]; LOGS - 2019-06-23 15:10:08.566050-0400 JSPSoftPOC[27232:849170] Request finished: http://localhost:8080/jasperserver-pro/rest_v2/serverInfo? Response: {"build":"20190516_1353","editionName":"Enterprise","dateFormatPattern":"yyyy-MM-dd","edition":"PRO","datetimeFormatPattern":"yyyy-MM-dd'T'HH:mm:ss","version":"7.2.0","features":"AUD ANA MT EXP Fusion AHD DB ","licenseType":"Evaluation","expiration":"2019-08-19T22:59:59"} 2019-06-23 15:10:08.568794-0400 JSPSoftPOC[27232:849170] Request finished: http://localhost:8080/jasperserver-pro/GetEncryptionKey? Response: (null) 2019-06-23 15:10:08.569379-0400 JSPSoftPOC[27232:849170] BODY: j_password=jasperadmin&j_username=jasperadmin&userLocale=en_US&userTimezone=America/Toronto 2019-06-23 15:10:08.582297-0400 JSPSoftPOC[27232:849170] Request finished: http://localhost:8080/jasperserver-pro/j_spring_security_check Response: (null) 2019-06-23 15:10:08.582910-0400 JSPSoftPOC[27232:849170] BODY: {"pages":"1","saveDataSnapshot":"true","async":"true","freshData":"true","interactive":"false","outputFormat":"pdf","reportUnitUri":"/public/Samples/Reports/5g.AccountsReport","markupType":"full"} 2019-06-23 15:10:08.622995-0400 JSPSoftPOC[27232:849170] Request finished: http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions Response: {"status":"queued","exports":[{"status":"queued","id":"76a3aad9-3b66-4b82-a273-506f85fe6e37"}],"requestId":"99d47a22-d931-4be4-a713-43ff39db7059","reportURI":"/public/Samples/Reports/5g.AccountsReport"} 2019-06-23 15:10:08.623176-0400 JSPSoftPOC[27232:849170] reportRequestID = <JSOperationResult: 0x6000014ced00> 2019-06-23 15:10:11.295288-0400 JSPSoftPOC[27232:849170] Request finished: http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions/99d47a22-d931-4be4-a713-43ff39db7059/status? Response: {"value":"ready"} 2019-06-23 15:10:16.008192-0400 JSPSoftPOC[27232:849170] Request finished: http://localhost:8080/jasperserver-pro/rest_v2/reportExecutions/99d47a22-d931-4be4-a713-43ff39db7059/exports/76a3aad9-3b66-4b82-a273-506f85fe6e37/outputResource?sessionDecorator=no&decorate=no#& Response: (null) 2019-06-23 15:10:16.008377-0400 JSPSoftPOC[27232:849170] (null) Please let me where are i am wrong in code.
  3. Hi All, I am trying to integrate Mobile SDK (iOS). There is no such documents available and there is no updated last 3 years in repository. Kindly let me know if JasperSoft or any other team are supporting for that SDK. I was trying to check code but that link is not working as well. Please let me know is really JasperSoft report team are supporting for that or not? Thanks Mukesh Kumar Singh
×
×
  • Create New...