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


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 url.

Any help would be highly appreciable.


nojha's picture
Joined: Aug 8 2017 - 2:56am
Last seen: 4 years 11 months ago

0 Answers:

No answers yet