function ws_parseVehicleConfig($path) { $webServiceAddress = getWebServiceAddress(); //ini_set("soap.wsdl_cache_enabled", "1"); $client = new SoapClient($webServiceAddress, array('encoding' => 'UTF-8')); try { $param = array('arg0' => $path); $ret = $client->parseVehicleConfiguration($param); // delete vehicle config file unlink($path); if ($ret->return == "true") { echo "<br/><font color='green'>Vehicle Configuration updated successfuflly</font><br />"; } else { echo "<br/><font color='red'>" . $ret->return . "</font><br />"; } return $ret; } catch (SoapFault $exception) { print $exception; return false; } }