Web Services type application... Request getting failed while Provisioning/Revoking an entitlement for user

IdentityIQ Version: 8.4

Please let me know, if required any further information. Thanks in advance

Thanks,
Madhav

Hi @MADHAVREDDY Seems like, the jsonbody will be incorrect. Can you print the body details in BeforeRule for Add Entitlement/Remove Entitlement operation. If possible, you can also print plan and share the details

Hi @Arpitha1 Thanks for the quick response.

I haven’t seen the JSON body for Add Entitlement operation

@MADHAVREDDY Click on Body and send screenshot.

Also, Go to Before Rule tab, and add below logger to it.
log.error("requestEndPoint:"+requestEndPoint.toXml());

@Arpitha1 Please find the below screenshots.



@MADHAVREDDY Please follow below step and you will be able to resolve the issue.

  1. is your postman setup with all the operation or operation where u r facing issue. if not please setup and do the same operation with require json. If that response is success , i hope it will be if not first resolve the issue if all the thing correct then check with application Team.
  2. Once poin2 is clear then print the jsonbody in before webservice operation rule
    System.out.println(“loggger”+requestEndPoint.getBody().get(“jsonBody”));
    you can use proper logger as well as
  3. Once you get the json body from log go to postman and add the same then use beautify
  4. then hit the call , you will get the exact issue as in sailpoint u will get generic error there you will get what is the issue and resolve that issue.

@mkumariaas I don’t have postman setup with sailPointIIQ.

then you can read the exception form after provisioning rule and print it properly what is the exact error you are getting. If you are facing issue while reading then first change the success code to 4** and then read it. Once u will get exact error then only it iwll be helpfull. you can seee if complete error is getting printed in Webservice connector rule

Can you send the rule xml as attachment or paste the complete code here

Dear Experts,

any suggestions or inputs on this query?