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
If you want to send POST data from PHP, you could use cURL. You can't set $_POST or $_REQUEST at the sending side and expect them to be set at the receiving end as well.
$_POST
$_REQUEST
Have a look at this question: Send XML over HTTPS/POST via cURL?