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

gwhitaker

Members
  • Posts

    1
  • Joined

  • Last visited

gwhitaker'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. I'm currently trying to schedule a job using the REST api for Jasper Server 5.1 (community and pro) and as a result of uploading what appears to be a valid job descriptor: <job> <baseOutputFilename>AllAccounts</baseOutputFilename> <description>sample</description> <label>sample</label> <outputFormats>PDF</outputFormats> <outputLocale></outputLocale> <parameters> <name>REPORT_TIME_ZONE</name> <value xsi:type='xs:string' xmlns:xs='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>Australia/Sydney</value> </parameters> <repositoryDestination> <folderURI>/public/Samples/Reports</folderURI> <outputDescription></outputDescription> <overwriteFiles>false</overwriteFiles> <sequentialFilenames>false</sequentialFilenames> <version>0</version> </repositoryDestination> <simpleTrigger> <startDate>2013-06-19T07:29:52+10:00</startDate> <timezone>Australia/Sydney</timezone> <version>0</version> <occurrenceCount>1</occurrenceCount> </simpleTrigger> <version>0</version></job> Performing a PUT ( scheduling a new job) or downloading a manually scheduled job descriptor and performing a POST to the jasperserver-pro/rest/job/ endpoint, results in the following 400 bad request message: please check the request job descriptor Because the JAXB conversion is surpressing the error message I'm unable to see what is wrong with my job descriptor being uploaded. As mentioned I've tried creating a job descriptor identified in http://community.jaspersoft.com/sites/default/files/docs/jasperreports-server-web-services-guide_1.pdf as well as downloading an existing scheduled job and just reuploading in the manner described in the web service guide and both result in the same error. Require assistance in identifying what I'm doing wrong.
×
×
  • Create New...