Issue Description
If you have upgraded to Jasperreports Server 6.0.x (this may apply to version 5.6.x too) but still using kinda old and deprecated SOAP web services instead of new and shiny REST v2, you may run into an issue where your reports with date parameters have stopped working. Here is what the Web services guide says about date/timestamp format for parameters:
"Dates and date/times must be represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT."
However, passing a date paremeter in milliseconds returns a 400 error in version 6.0.x
Resolution
A date format validation was added in latest versions which apparently is also applied to SOAP web services.
Try passing dates in the following format: yyyy-MM-dd
This is the date format for the default locale, which is used by the new REST web services. The same format works for SOAP now.
Note that this format comes from date.format property in /WEB-INF/bundles/jasperserver_config.properties file, and therefore depends on which system locale you are using. The 'yyyy-MM-dd' is a default date format for English locale.
Ref. Case 00059906
Recommended Comments
There are no comments to display.