I am getting 500 error code and its a SOAP format. I see HTML, SOAP 1.1 & SOAP 1.2 formats available for response when there is an exception in my pass thro service for example when wrong endpoint request, it gives 500.
I want to change it to 400 or 404 for invalid request/not found. Please advise for updating it for a SOAP/JSON response. It would be nice to know for both the format.