cancel
Showing results for 
Search instead for 
Did you mean: 

xml payload related problem

Former Member
0 Kudos

Hi ALL

Currently I am doing a scenario in which i m encrypting the incoming xml payload(field by field) in java mapping and then decrypting it with in the adapter module.Now problem that i m facing is that after encryption if i get some special characters, the resulting xml payload becomes invalid and will not be parsed.

???

Accepted Solutions (0)

Answers (3)

Answers (3)

turmoll
Active Contributor
0 Kudos

Hi,

Can you encode each field into base64encoded string?

then should be no problems ...

regards,

Jakub

Former Member
0 Kudos

hi,

Try to put it into CDATA.

<script>

<b><![CDATA[</b>!@!#!@#!@#!@$@#$<b>]]></b>

</script>

regards,

Wojciech

Message was edited by: Wojciech Gasiorowski

MichalKrawczyk
Active Contributor
0 Kudos

hi,

are you using correct encoding ?

or maybe it's being changed during the encrypt-decrypt process?

if not you can always change the special chars

to normal in your adapter module

Regards,

michal