So, I have perform two steps
a) Create a some random xml file in one of the php file. b) Parse the same xml file in second file.
Key points are that php file i
I'm not really sure I understand what you are trying to do but try looking in to reading raw post data. Here is a blog post that talks about it a little bit.
http://www.codediesel.com/php/reading-raw-post-data-in-php/