Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HTML Encoding issue

tony_raimo2
Explorer
0 Likes
505

I'm calling a web sevice that needs to pass an HTML encoded string. So, I encoded the string using cl_http_utility=>escape_html and it looks OK in the debugger (i.e. "<"). However, the web service throws an error and when I look at the ICM logs I see "<" instead of "<". The web service does not like the "&". If I reformat the string and put it into SOAP UI, it works fine. Is there a profile parameter I can set to prevent this from happening?

Thank you,

Edited by: Tony Raimo on Mar 1, 2011 10:49 PM

1 REPLY 1
Read only

tony_raimo2
Explorer
0 Likes
447

the fix was to not call cl_http_utility=>escape_html in the first place. the ICM automatically escapes the string.