I have one question.
Below is the flow of request and response.
SoapUi client --> DataPower gateway service --> DataPower backend service -> Java service (deployed on jboss)
Now, in a particular case, Java service send a '404 page not found' response and we should receive the same http response in soapUi as well
But in Soapui is receiving the '200 OK' http header rather than '404 page not found'.
Please help me in letting me know, how can I configure datapower to send 404 response to soapui.
I know i can do it using <dp:set-http-response-header name= "'x-dp-response-code'" value= "'404" />.
But I am not sure where to implement this? whether in datapower backend service or in a gateway service.