TRUE)); echo '
'; print_r($client->__getFunctions());echo '
'; exit; } catch (SoapFault $e) { //client creation failed, trigger error using exception message as error content trigger_error($e->getMessage(), E_USER_WARNING); //display an error message to the browser echo 'An error occurred while attempting to use the x.co web service '; //exit the script exit; } ?>