Hi,
I have configured a REST service connector endpoint with a service policy where Http status codes 400 and 500 have been included as exceptions..
When the service fails, returning either a 400 or 500, a RESTPolicyViolation exception is thrown and logged, together with the message both in the failed audit and in the event log.
The body of the reply message is then lost; sometimes however, even though it might not be considered a best practice, it might contain the stack track or any other additional information helpful for understanding what when wrong.
Is the original reply logged anywhere or is it somehow possible to log it through Neuron or the only possibility would be to handle the response manually, without configuring the REST tab of the policy?
Thanks
Fabrizio
Tags:
Hi Fabrizio,
Would you be able to send me your neuron solution to look into this further... ?
HI Manoj,
I'll send you an email with the solution.
Fabrizio
Thanks..
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by