ivishalsinghal
15 years agoNew Contributor
soapUI 3.5.1 automatically decodes UTF-8 encoded characters
Hi,
I am facing an issue with character encoding/decoding in SoapUI . Here is a brief.
I need to do an HTTP Post of a SoapUI request which has a credit card # encrypted as follows-
<credit-debit-card-account-number>CF4/+sT9tl7VNeVyWZBjqVBwOg3D+1v++TM/NcTUba2Zk8KUX/Fcb/6x092g==</credit-debit-card-account-number>
Now i send this request as an UTF-8 encoded but when my server receives this request, the + signs have been replaced with space already due to which my server code for decoding this request further fails. I have even tried replacing + with %2B, but since SoapUI decodes this before sending to server, hence my server receives the %2B as + and so decoding code on server further replaces the + with space. hence my server code fails further in processing the request.
Does someone know the solution.
Thanks,
I am facing an issue with character encoding/decoding in SoapUI . Here is a brief.
I need to do an HTTP Post of a SoapUI request which has a credit card # encrypted as follows-
<credit-debit-card-account-number>CF4/+sT9tl7VNeVyWZBjqVBwOg3D+1v++TM/NcTUba2Zk8KUX/Fcb/6x092g==</credit-debit-card-account-number>
Now i send this request as an UTF-8 encoded but when my server receives this request, the + signs have been replaced with space already due to which my server code for decoding this request further fails. I have even tried replacing + with %2B, but since SoapUI decodes this before sending to server, hence my server receives the %2B as + and so decoding code on server further replaces the + with space. hence my server code fails further in processing the request.
Does someone know the solution.
Thanks,