michaelvitale
-
Posts
4 -
Joined
-
Last visited
Content Type
Forum
Downloads
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Security Advisories
Events
Profiles
Posts posted by michaelvitale
-
-
my previous comment removed the whitespace so you couldnt see the change. There was whitespace before the <?xml version="1.0" encoding="UTF-8"?> on the top line. XML requires that the "<" sign be the first character in the file.
-
I got the same error and when viewing the report in iReport on the XML tab, I noticed this at the top:
<?xml version="1.0" encoding="UTF-8"?>
I removed the white space before this line and the problem went away:
<?xml version="1.0" encoding="UTF-8"?>
-
what SSL configuration change did you make and where? tomcat files? report xml file?
RESTful using curl on the command line
in Products
Posted
I am using curl to do RESTful stuff in Jasper Reports, version 5.1 I am having a problem with specifying a collection parameter. The Web manual says to set the "IsLastValue=true", but how do you specify it and the collection string (really a collection of integer numbers). See my example below where facility_ids is my collection of numbers that doesn't work. Turning on debug on tomcat reveals it is still trying to map it to type string and defaults to the first element in the list returned by the query, 5:
curl 'http://<my userid>:<my password>@<jasper host>:8080/jasperserver/rest_v2/reports/reports/CSC/MultipleCancellations.csv?parameter%20name=facility_ids%20isListValue=true&facility_ids=2,3&num_cancellations=1&start_dt=2013-07-01&end_dt=2013-07-31'