I've made something, but I'm sure there must be another way, this is some of the code:
<?php
require_once('nusoap.php');
$client = new soapclient('http://www.pronetserver.dynu.com/WebService/vuelos/infoVuelos.asmx?WSDL', 'WSDL')
or die('Error 1');
$response = $client->call('Salidas') or die('Error 2');
/* so now, $response has the XML converted to an array,
I can use foreach in a recursive function to extract the values, but I want a
more efficient way of doing that.
I want to know if there is a function which brings back the array to XML. */
?>