jasperserver

Get report from jasperserver using REST webservice and asp.net C#

左心房为你撑大大i 提交于 2019-11-30 05:05:46
You can use the jasperservers webservices (SOAP and REST is available) to get mange and run reports on from a web application. The SOAP wsdl is not compatible with asp.net c# (at least, I cannot get it to work), so I decided to use the REST webservice. I am ALMOST there, but I can't retrieve the report itself. does anyone know what goes wrong? I am using jasperserver CE 4.5 on Linux. // Setup WebClient WebClient httpclient = new WebClient(); //Basic Auth httpclient.Credentials = new NetworkCredential("NAME", "PASSWD"); httpclient.Headers.Add("Content-Type", "application/x-www-form-urlencoded")

Linking subreports in iReport so they also work in Jasper server

天涯浪子 提交于 2019-11-30 02:08:07
Using iReport v4.0.1 with Jasperserver v4.1.0 I'm trying to find a syntax for linking subreports to the main report that lets me test it in iReport then deploy to the server through the repository browser. The default syntax for sub-reports in iReport for the subreport expression is something like $P{SUBREPORT_DIR} + "mySubReport.jasper" When you deploy this from iReport it's smart enough to pick this up and suggest changing it to "repo:mySubReport.jrxml" and to then deploy all subreports to the Resources folder of the main report. That's great, but unfortunately it then edits the file in

Location data for filling the report in JasperServer

安稳与你 提交于 2019-11-29 16:46:44
I have developed a template design in JasperSoft Studio and upload jrxml file to JasperServer. I want to send data (JSON or XML) to filling report template from my python application and take back report in some popular formats like PDF, XLS using REST API. I do not want to store the data on the server . How can I do this? Or data must be stored on the server and there is no alternative way of their transmission by WEB-Service? The data does not necessarily have to reside on the server. You could design your template in such way that you can pass the data via input control parameters as @tobi6

JasperReports Server: Switching JDBC datasources depending on user

女生的网名这么多〃 提交于 2019-11-29 15:31:07
Can anyone provide instructions on how to do this? I have several different JDBC DataSources set up and would like to be able to configure users to run the same report using different datasources. E.g. when user A logs in and runs report A, datasource 1 is used; when user B logs in and runs report A, datasource 2 is used. I am using version 4.0. Julian Cardenas I'm working with release 6.2 of JasperReports Server and this is perfectly possible, as users have attributes and you can reference these attributes in the datasource connection settings. For example you would not set an specific ip for

tomcat not starting

烂漫一生 提交于 2019-11-29 07:03:44
suddenly for some reason tomcat server is not runnin/starting/stopping. below is the result I get when i run the startup command, C:\Program Files\jasperserver-3.5.0\apache-tomcat\bin>startup Using CATALINA_BASE: C:\Program Files\jasperserver-3.5.0\apache-tomcat Using CATALINA_HOME: C:\Program Files\jasperserver-3.5.0\apache-tomcat Using CATALINA_TMPDIR: C:\Program Files\jasperserver-3.5.0\apache-tomcat\temp Using JRE_HOME: C:\PROGRA~1\JASPER~1.0\java\jre The tomcat window pops up for a split of a second and goes away. (I have another java instance installed under c:\program files) Help!!!

Upload report unit via webservice in C# .net to jasperserver

杀马特。学长 韩版系。学妹 提交于 2019-11-29 02:32:35
I'm trying to upload a new report unit to the jasperserver via the webservice from C# .net I've successfully uploaded/created the report unit but when I click on the report via the iReport repository navigator it says "No Attachment Present!" in a popup box. Below is the 'createXML' I'm sending to the webservice: <request operationName='put' locale='en'> <resourceDescriptor name='barunit' wsType='reportUnit' uriString='/reports/bar/bar_files' isNew='true'> <label>Bar Unit</label> <description>This is a test</description> <resourceProperty name='PROP_PARENT_FOLDER'> <value>/reports/bar</value>

JasperReports Server: Switching JDBC datasources depending on user

混江龙づ霸主 提交于 2019-11-28 09:09:27
问题 Can anyone provide instructions on how to do this? I have several different JDBC DataSources set up and would like to be able to configure users to run the same report using different datasources. E.g. when user A logs in and runs report A, datasource 1 is used; when user B logs in and runs report A, datasource 2 is used. I am using version 4.0. 回答1: I'm working with release 6.2 of JasperReports Server and this is perfectly possible, as users have attributes and you can reference these

Location data for filling the report in JasperServer

六月ゝ 毕业季﹏ 提交于 2019-11-28 06:17:21
问题 I have developed a template design in JasperSoft Studio and upload jrxml file to JasperServer. I want to send data (JSON or XML) to filling report template from my python application and take back report in some popular formats like PDF, XLS using REST API. I do not want to store the data on the server . How can I do this? Or data must be stored on the server and there is no alternative way of their transmission by WEB-Service? 回答1: The data does not necessarily have to reside on the server.

Upload report unit via webservice in C# .net to jasperserver

允我心安 提交于 2019-11-27 16:50:22
问题 I'm trying to upload a new report unit to the jasperserver via the webservice from C# .net I've successfully uploaded/created the report unit but when I click on the report via the iReport repository navigator it says "No Attachment Present!" in a popup box. Below is the 'createXML' I'm sending to the webservice: <request operationName='put' locale='en'> <resourceDescriptor name='barunit' wsType='reportUnit' uriString='/reports/bar/bar_files' isNew='true'> <label>Bar Unit</label> <description

optional where clause jasper reports

偶尔善良 提交于 2019-11-26 18:35:31
问题 I am trying this query but without success. SELECT name, phone_office, billing_address_city, billing_address_street, billing_address_country FROM accounts WHERE ($P!{EmployeeID} is null or assigned_user_id = $P!{EmployeeID}) ORDER BY billing_address_country, billing_address_city This url will filter by EmployeeID and works fine: .../flow.html?_flowId=viewReportFlow&reportUnit=/reports/samples/EmployeeAccounts&EmployeeID=sarah_id But when i remove the EmployeeID parameter i want to remove the