I got a SOAP (normal php client) Result
from my request
I want to save the result as a XML file ? But how ?
$result = $client->__soapCall('MYwebServices',array($params));
$xml = simplexml_load_string($result);
$fp = fopen("out.xml","w");
fwrite($fp,$xml);
fclose($fp);
If you want to get the XML returned by the web service, you should use
SoapClient::__getLastResponse()(along with thetraceoption).