AnsweredAssumed Answered

Character Decode Issue

Question asked by jaykumar.solanki on Apr 24, 2018
Latest reply on Apr 27, 2018 by jaykumar.solanki

I'm facing kind of issue where i'm getting JSON request in which  it consist of character encoded character '&', on the gateway while converting this JSON response  to SOAP its further getting encoded to '&' and going to backend, i tried decoding the JSON request but not succeeded yet, could you please  provide any suggestions. i've kept content Type as 'application/json; charset=utf-8'.

 

Request coming to CA gateway: {"name":"a & b"}

after transforming from JSON to XML: <name>a &amp;amp; b</name>

 

I've tried using decode assertion,but it's not making any difference, also i've specified content-type as 'application/json; charset=utf-8'

 

Any suggestions are aapriciated.

special character Decoding

Outcomes