It seems the message coming in isn't property formed XML. You might consider converting the processing rule to non-XML and use a binary transform action (temporarily) so you can inspect the message.
------------------------------
Joseph Morgan
------------------------------
Original Message:
Sent: Wed July 24, 2024 07:24 AM
From: Kumar .
Subject: Getting parse error after DataPower MQ Handler pulled the message from MQ
Dear All,
I have a MPGW service listening on IBM MQ v9+ MFT handler and configured to receive XML Request. But the request is failing with a parse error before coming into the rule.
![](https://dw1.s81c.com//IMWUC/MessageImages/1e7cc936ddb845a68692c7695b29a697.png)
And I gone through the below link yet couldn't able to capture the request coming from MQ. :
https://community.ibm.com/community/user/integration/discussion/any-way-to-access-raw-input-after-an-xml-parse-error
Below is what the context variable holds:
![](https://dw1.s81c.com//IMWUC/MessageImages/5d00396580b54f53a49f1eccd0384d60.png)
How can we capture the actual message that is fetched by DP MQ Handler?
Appreciate any leads.
------------------------------
Kumar
------------------------------