Hello All,
I have scenario where Client->PS1(http)->PS2(local)->BS. Everything is working fine as expected except for the part where I have to return HTTP error codes from local proxy (PS2)to http proxy (PS1).
On local proxy error handler, I have Reply action (with Failure) and an insert action as follows
Expression – <http:http-response-code>404</http:http-response-code>
Location – as last child of
XPath – ./ctx:transport/ctx:response
In Variable – inbound
In case of errors,On the http proxy (PS1) I am only getting 500 error code instead of what I set on local proxy.
Can you guys help me how to pass http error codes from local proxy(PS2) to http proxy(PS1)?
Thank you
Krish