Posted: 25 Apr 2019 7:23 EDT Last activity: 3 May 2019 3:03 EDT
REST service activity not getting called
I created a service package and a REST service and can test it using the simulator, but when I try to test the service from Postman, I get an empty response body with status 200 and my service activity never gets called. I know this, because I use Log-Message to output a trace message, which I can see when testing with the simulator. When I test with Postman no log message is written to the log. Does anyone have an idea what might be happening here? This is on PEGA Platform 8.1.1
***Moderator Edit-Vidyaranjan: Updated SR details***
Could you please try to trace the service -rest rule(Open you service rest rule and from other actions you will see trace option) . Click on trace and then hit the service from postman. Please upload tracer details if you can't figure out.
I tried your suggestion, but nothing appears in the trace window. Is there something special that I need to setup for the tracing to work? I know I am hitting my service, because if I provide an invalid jwt, my authentication service causes a 401 to be returned. I attach a screenshot of the trace window