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);