note 127744 added to class.soapfault

From: Date: Tue, 18 Oct 2022 20:27:35 +0000
Subject: note 127744 added to class.soapfault
Groups: php.notes 
Request: Send a blank email to php-notes+get-219695@lists.php.net to get a copy of this message
Maybe it help by someone... Catching Soapfault when your wsdl file can't load. I'm were using php5.6 and framework yii2 ```php $options = ['trace' => true, 'debug' => false, "exceptions" => true, 'version' => SOAP_1_2, 'connection_timeout' => 15]; $wsdl = "http://test.com?wsdl"; try { $soapClient=new \SoapClient($wsdl,$options); } catch (\SoapFault $e) { logError($e->getMessage(),$e->getCode()); } ``` ---- Server IP: 45.112.84.4 Probable Submitter: 45.91.159.161 (proxied: 128.69.253.162) ---- Manual Page -- https://php.net/manual/en/class.soapfault.php Edit -- https://main.php.net/note/edit/127744 Del: integrated -- https://main.php.net/note/delete/127744/integrated Del: useless -- https://main.php.net/note/delete/127744/useless Del: bad code -- https://main.php.net/note/delete/127744/bad+code Del: spam -- https://main.php.net/note/delete/127744/spam Del: non-english -- https://main.php.net/note/delete/127744/non-english Del: in docs -- https://main.php.net/note/delete/127744/in+docs Del: other reasons-- https://main.php.net/note/delete/127744 Reject -- https://main.php.net/note/reject/127744 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#219695) next »