While designing report, i used XML document as datasource.
I need to pass the XML document using PHP rest client.
How could i do it?
Do you mean placing the XML file in repository? Because REST services that a PHP client is operating through is capable only of what REST services are capable of. If you need to place an XML file in deployment directory, there's no way to do this using the client.