can datapower generate http code errors?
I send a message from datapower to a iis, i can see in the datapower logs a http 500 error code, but in the iis logs i can´t see anything, the request fails and not reach the iis, is datapower who generated this http 500 error code?
This topic has been locked.
2 replies Latest Post - 2012-12-30T09:28:35Z by HermannSW
Pinned topic http code errors generated by datapower?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-30T09:28:35Z at 2012-12-30T09:28:35Z by HermannSW
Trey 120000BTRN224 PostsACCEPTED ANSWER
Re: http code errors generated by datapower?2012-12-28T14:16:23Z in response to DavidBlancoDavid,
Yes. DataPower will by default obfuscate any backend content errors and simply throw a 500 error on failures. We do have a setting called "Process Backend Errors" but I would be careful as you expose begin to expose the behavior to specific requests.
The generic 500 response is generated by DP and valid when the backend connection fails.
If you have any other questions let me know.
HermannSW 2700006U544238 PostsACCEPTED ANSWER
Re: http code errors generated by datapower?2012-12-30T09:28:35Z in response to DavidBlancoHi David,
Trey answered your HTTP 500 question.
For setting a HTTP return code in DataPower yourself, find an example in this posting:
There my "favorite" HTTP return code 418 I'm a teapot is used ... ;-)