Hi Akshay,
The error message indicates that the contents of message.body is a JSON object and not an XML DOM or Nodelist. XML.stringify requires an XML DOM (Document) or Nodelist as its argument. Try JSON.stringify to see what is in the body variable.
Regards,
Steve
------------------------------
Steve Linn
Senior Consulting I/T Specialist
IBM
------------------------------