I am configuring a new web service proxy and was exploring in advanced proxy settings. But I am not able to understand what is the purpose of Process HTTP Errors option i.e. what will happen if we turn it OFf or ON.
I am very new to datapower, kindly help me whatever information you have
This topic has been locked.
3 replies Latest Post - 2013-01-09T10:55:18Z by SystemAdmin
Pinned topic Process HTTP Errors option- Advanced Proxy settings for WSP
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2013-01-09T10:55:18Z at 2013-01-09T10:55:18Z by SystemAdmin
HermannSW 2700006U542818 PostsACCEPTED ANSWER
Re: Process HTTP Errors option- Advanced Proxy settings for WSP2013-01-08T15:37:16Z in response to SystemAdminFrom WebGUI online help:
Process HTTP Errors
In some cases, the backend server returns a response code that indicates an error.
When enabled, the default, the service ignores the error condition and processes the response rule. If successful, returns the successful response to the client.
When disabled, the DataPower service notices the error condition and processes the error rule. If successful, propagates the response code from the backend server to the client.
swlinn 100000E7QE1327 PostsACCEPTED ANSWER
Re: Process HTTP Errors option- Advanced Proxy settings for WSP2013-01-08T15:39:28Z in response to SystemAdminThe "Process backend errors" property will configure how your service will behave if you get a backend error, say a HTTP 404 or HTTP 500. When process backend errors is enabled, you are indicating that DataPower will effectively ignore those errors, returning any response to your response rule. If you want to see what the backend response code was and take your own action (eg, a dp:reject to stop processing), you can use dp:response-header('x-dp-response-code'). If this property is disabled, any unsuccessful response code will drive your error rule immediately and no response rule processing will be initiated.