We are using MPGW to create restful service. Client uses HTTP POST method to request information from 3rd party application, request and response will be in XML format and client like to see response codes form server so we enable "Process back end errors" and "Proxy HTTP Response" options with in MPGW.
Service working fine if response code is 200 with XMl body, but it failing if response code is either 404/500/401 because the error response body is in html format, DP not parsing html body and invoking error rule and sending error message to client with response code 500.
The response type Iam using in MPGW is "XML", I can't use res'pass-through" response type. We are developing this service on XI52 v6.
Is there any way to parse html body on response rule with out changing response type from XML ?
Please share your valuable thoughts.