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

mikemoer

Members
  • Posts

    3
  • Joined

  • Last visited

mikemoer's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Cannot get JAX-WS to do a web-service call to JasperServer to work. I get the following response back: Unexpected response element {http://axis2.ws.jasperserver.jaspersoft.com}listResponse expected: {http://xxx.xxx.xxx.xxx:8080/jasperserver/services/repository}listResponse (The xxx.xxx.xxx.xxx represent an internal IP address). I have uploaded the 2 JAX-WS classes that were generated through the MyEclipse wizard for JAX-WS Webservices client generation.
  2. I found another workaround for this, I created another date parameter based on the first one, which I have defined as shown in the code snippet. This is good for me, as it serves 2 purposes: it solves my default value problem, and it allows me to format the date the way I need to for the purposes of my report. Hope this will help other people as well. Code:$P{REPORT_DATE}==null?new java.text.SimpleDateFormat("yyyyMMdd").format(new java.util.Date()):new java.text.SimpleDateFormat("yyyyMMdd").format($P{REPORT_DATE}) Post Edited by mikemoer at 08/06/2009 12:45
  3. Hi, I've just started using JasperServer and ran in a bit of a snag. Although there is an easy workaround, I had hoped for something more elegant. I have defined a date parameter, which is the date for which I want to run the report, with an input control. I have assigned "new java.util.Date()" as the default value for the parameter. This works great for ad-hoc reporting when the user is prompted for the date (note that the user may select to run the report for a previous date). However for day to day operations I want to schedule the report and get it with today's date (meaning the default value for the date parameter), this does not seem to be workable, and the workaround would be to create another report with a date without input control. I was hoping that by NOT specifying (leaving the input control blank), the date in the schedule it would automatically revert to the default, but that does not seem to be the case. Is there some special value I need to fill into the date input control when specifying the parameter for the schedule, so that the default value will be forced, or is there some other property I need to specify? Thank you for your help, Mike
×
×
  • Create New...