I have a MPGW with Request Type and Response Type set to Non XML. The situation is that:--
Client sends in different request to this MPGW.
a) Login request. Here, the client sends in just a url e.g www.google.com. The backend returns a Security Challenge back to client. Here, DataPower is acting as a pass through. The Security challenge sent by Backend is somewhat like this
b) Client signs the challenge and sends it back to Backend. Once the authentication is done, the backend returns the list of urls in XML form.
The problem faced here is when MPGW receives the list of urls in XML form. SInce the Request and Response type is set to NON XML. The XML returned does not get parsed and fails in DataPower with message < Illegal Character at offset.....
Is there a way in DataPower where i can process the Request and Response Type as received by Client/Backend.
Note:- MPGW is currently configured as a Dynamic backend where Iam routing the request using an XSL. I have tried selecting the Request and Response Type as Pass Through but this fails in the first request itself.
Please help me with this.