PDA

View Full Version : Post XML content using PHP


rd.dcse
06-21-2010, 09:15 PM
Hi,

I am new to php and xml. Designing a website in php.

here i am having a link (like http://www.website.com/servelet/Eservice2 )to post an xml code and get back the reply from it

the xml format in which i have post data is given bellow

<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>
<REQUEST>
<Number>100</Number>
</REQUEST>

i just want to run this code and get back data in my application.

NOTE : xml code needs special type of encoding so i have converted the code to hexadecimal followed by % symbol. and while running in the browser it is automatically decoding the url to some other encoding method. Please revert with the solution so that i can run url as it is after my encoding.

Thanks in advance