• 2 replies
  • Latest Post - ‏2012-12-30T09:28:35Z by HermannSW
31 Posts

Pinned topic http code errors generated by datapower?

‏2012-12-28T10:55:00Z |

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?

Updated on 2012-12-30T09:28:35Z at 2012-12-30T09:28:35Z by HermannSW
  • Trey
    227 Posts

    Re: http code errors generated by datapower?

    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
    7500 Posts

    Re: http code errors generated by datapower?

    Hi 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 ... ;-)

    Hermann<myXsltBlog/> <myXsltTweets/>