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

sushobhan.b

Members
  • Posts

    24
  • Joined

  • Last visited

sushobhan.b's Achievements

Contributor

Contributor (5/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Hi All, I am using jrs-rest-java-client in my project. i am using jasperclient suthenticate to authenticate my jasperserver. JasperserverRestClient client = new JasperserverRestClient(configuration);Session session = client.authenticate(System.getProperty(ReportConstants.REPORT_USER), password) while using authenticate its conflicting with jboss resteasy client as few classes are similar , please help how to resolve this.
  2. Hi I am not able to get specific request-id by passing reportURI. below is my uri /jasperserver/rest_v2/reportExecutions?reportURI="/PID/Size_Details_Report" I am getting below error <?xml version="1.0" encoding="UTF-8" standalone="yes"?><errorDescriptor><errorCode>generic.error.message</errorCode><errorUid>f3c1f18d-e917-4a28-bfcf-12f860c8a5c6</errorUid><message>There was an error on the server. Try again or contact site administrators. (Error UID: f3c1f18d-e917-4a28-bfcf-12f860c8a5c6)</message></errorDescriptor> If i use only /reportExecutions, it is listing all running reports, i want specific requst id. Please, someone, provide me the solution
  3. How can i get specific request id from excution details if i am running same report at same time with different users. My requiremnt is i need to store request id for each running reports and need to stop if rewuired by provining that request id. Please some one help me.
  4. @vchiem Yes I know about those formats, but when I am trying to get the report executions using this URI i am not getting anything. http://:/jasperserver[-pro]/rest_v2/reportExecutions Is anything i have to mention in XML properties?
  5. Hi All, I am getting values for jasper server like http://<host>:<port>/jasperserver[-pro]/rest_v2/resources but i am not geting running reports using below commands. http://<host>:<port>/jasperserver[-pro]/rest_v2/reports http://<host>:<port>/jasperserver[-pro]/rest_v2/reportExecutions Do i need to modify anything in server to work those coomand ?please help. Thanks
  6. Hi All, I am running reports from the application side, some reports are taking time, i am not able to see those running reports in jasperserver if i open the url , do i need to enable some configuration to check those report running status? Any help will be appreciated. version 6.4 Thanks
  7. Hi All, I am getting below data from my json and showing in report. the first field is size code and second one is the price. My requirement is to print the data with ranges: expected o/p should be XXS-XL 9.24 that's it.how I can achieve this in jasper please help.
  8. Hi , i have below json data "sizePrices": [ { "createUser": "", "createDate": "2019-01-15T04:40:24.478Z", "updateUser": "", "updateDate": "2019-01-15T04:43:50.754Z", "cargoHandoverPrice": 1.66, "sizeCode": "Adult", "sizeNumber": 120, "keySizeScaleCode": "INT" }, { "createUser": "", "createDate": "2019-01-15T04:40:24.478Z", "updateUser": "", "updateDate": "2019-01-15T04:43:50.755Z", "cargoHandoverPrice": 0.00, "sizeCode": "Youth", "sizeNumber": 110, "keySizeScaleCode": "INT" } i need to print like this below: cargo price 1 cargo price 2 1.66 0.00 its only printing first value, any help would be appreciable
  9. Hi All, I have a subreport which is populating data using json url. for json URL i am using a data adapter and subreport is also sing same. Below is my data adaapter file. <?xml version="1.0" encoding="UTF-8" ?><jsonDataAdapter class="net.sf.jasperreports.data.json.JsonDataAdapterImpl"> <name>Remote_JSON_Data_Adapter </name> <dataFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="httpDataLocation"> <method>GET</method> <url>http://xxx.com/api/v1/pricelists/</url> <username>techUser</username> <password>mDNWqaff7sRmbwqQ8m</password> </dataFile> <language>json</language> <useConnection>true</useConnection> <timeZone xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:java="http://java.sun.com" xsi:type="java:java.lang.String"> Asia/Calcutta </timeZone> <locale xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:java="http://java.sun.com" xsi:type="java:java.lang.String"> en_IN </locale> <selectExpression></selectExpression></jsonDataAdapter>[/code]and in subreport using data dapter property: <property name="net.sf.jasperreports.data.adapter" value="repo:/PID/Remote_JSON_Data_Adapter"/[/code]My question is. how i can pass a ID to data adapter from subreport like below: so that url can be formed like : http://xxx.com/api/v1/pricelists/{ID}. Please help
  10. How to pass username and password along with json datasource URL in jasper if i am using json datasource in subreport to get some json data using that URL. In main report. <subreport> <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JsonDataSource("http://172.16.94.11:8081/api/v1/colorways/32a71f8d-15d67699834-UFXQ1MzCfpneWo1Vnqn-nQ/", "")]]></dataSourceExpression> to access URL we need to give username password,if i pass username password like below directly in browser it works, but through jasperserver it guves HTTP 201 error. http://username:pasword@172.16.94.11:8081/api/v1/colorways/32a71f8d-15d67699834-UFXQ1MzCfpneWo1Vnqn-nQ Please help ASAP
  11. My main report is taking data from Database, in that need one column data from remote-json-data-source,How to achieve this in jasper.
×
×
  • Create New...