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

1

Hello,

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.

Thanks

nojha's picture
41
Joined: Aug 8 2017 - 2:56am
Last seen: 1 year 2 weeks ago

0 Answers:

No answers yet
Feedback
randomness