AnsweredAssumed Answered

How to transform from application/x-www-form-urlencoded to application/xml ?

Question asked by HSJ on May 1, 2015
Latest reply on May 2, 2015 by mclma07

Any idea on how to transform an incoming REST  request having content type - application/x-www-form-urlencoded to application/xml ?

 

Below is a sample mesg -

 

xml = <?xml version="1.0" encoding="ISO-8859-1"?><eventNotifications><bulkMoNotification><transactionId>3593809215685600794</transactionId><triggerId>138887</triggerId><trigger>[CATCH_ALL]</trigger><message>1</message><date>2015-04-15 12:44:55</date><phoneNumber>+19541234567</phoneNumber><carrierId>30</carrierId><carrierName>Verizon Wireless</carrierName><shortCode>34343</shortCode></bulkMoNotification></eventNotifications>

Outcomes