I have A CDATA XML Message showing in below image.
I have encrypted it and while i m decrypting the message it Showing Some ASCII Code instead of proper format. See below image .
kindly tell me how i can resolve it.
Note: please note that it a simple scenario no backend is included, all request and response are in gateway only.
Message was edited by: Leif Bildoy
Removing Categories for OTK and MAG
What assertions are you using to encypt/decrypt it?
What version of the Gateway are you using?
The assertions used for encryption is - Encrypt element
Assertions used for decryption - Require encrypted element
Gateway version : 8.2
The encoding you are seeing is URL- or Percent-encoding. If the issue is just the URL encoding of the variables then you can remediate this using the Encode/Decode Data assertion. The assertion has the option to perform a URL Decode which will re-encode data such as > into >
I tried Your solution But it did't work. Look at the snapshot of assertion i applied .
It is Still giving the encoded output rather than the original one.
We have cdata in the request can you please elaborate in detail how you have encrypted and decrypted.
It would be helpful if you explain it assertion by assertion.