when you send an http Service its contentType byDefault set to
there is one another option available for contentType which is
'application/xml' in which your content will not have html entities intact
but it will be in xml format so you will also need xml parser on the other
end in php.Other option will be to decode urlencoded content on server side
in php using this command
html_entity_decode — Convert all HTML entities to their applicable
string html_entity_decode ( string $string [, int $quote_style= ENT_COMPAT
Quickest way to test who the culprit is: hit your URL that you're calling in the HTTPService via another method (maybe sending a GET with test parameters in a browser) and analyzing the source.
Is your server side script writing XML? Because data that contains "special characters" will need to be wrapped in CDATA. So if you're using a PHP library to write that XML, it might be encoding your accented characters into HTML entities to make the XML valid.
thanks for your fast response.
i've tried the both contenttypes and the result is the same. but i haven't tried to parse xml on the php side. can i do this with simplexml in php5 or do i need something else ?
i think i tried once the html_entity_decode method and it didn't work. i'll try again tomorrow.
yes you can use simplexml and load XML String with it