Jump to content
JasperReports Library 7.0 is now available ×

Jobservice -> Create a Job (Sample code not working)


Recommended Posts


I am trying to create new job from jaspersoft rest php client api but am unable to create new job. However, searching and updating job codes are working fine.

Initially I got the exception An unexpected HTTP status code was returned by the server and somehow I have managed to resolve this by removing the toJSON() method call from createjob as it was already in json format. After this it throws 502 - Bad Gateway Error and I could not find any solutions yet.

The sample code taken is from https://community.jaspersoft.com/wiki/php-client-sample-code url.

Any help would be highly appreciable.


Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...