Amélioration rendu erreur soap
This commit is contained in:
parent
38a67e11ec
commit
21e24d0c7f
@ -17,13 +17,13 @@ require_once(realpath(dirname(__FILE__) . '/../') . '/framework/phpmailer/class.
|
||||
* @return string
|
||||
*/
|
||||
function processSoapFault($clientSoap, $fault, $tabInfo, $debug = FALSE){
|
||||
$message = 'Request : '. htmlspecialchars($clientSoap->__getLastRequest()) . '<br/>' .
|
||||
'Response : '. htmlspecialchars($clientSoap->__getLastResponse()) . '<br/>';
|
||||
$message = 'Request : '. htmlspecialchars($clientSoap->__getLastRequest()) . '<br/><br/>' .
|
||||
'Response : '. htmlspecialchars($clientSoap->__getLastResponse()) . '<br/><br/>';
|
||||
|
||||
foreach ($fault as $key => $value){ $message.= $key .' : '. $value . '<br/>';}
|
||||
foreach ($fault as $key => $value){ $message.= $key .' : '. $value . '<br/><br/>';}
|
||||
|
||||
$message.= '<br/>';
|
||||
$message.= 'Infomrations de debug : <br/>';
|
||||
$message.= 'Informations de debug : <br/>';
|
||||
$message.= '<pre>';
|
||||
$message.= 'REQUEST : '.print_r($_REQUEST,true).'<br/>';
|
||||
$message.= 'SERVER : '.print_r($_REQUEST,true).'<br/>';
|
||||
|
Loading…
Reference in New Issue
Block a user