Everything worked, until one day they decided to change all the connections, in the end, 1c-nick set up communication through another port and gave a link of the form (used to work without a port, I mean the standard one):
http://00.000.000.000:55/Trade/ws/SiteExchange?wsdl (do not write, as it works with 0s, this is superseded data)
And now there is always a mistake. Maybe someone will tell something ... Here is a piece of code:
try { $client = new SoapClient('http://00.000.000.167/Trade/ws/SiteExchange?wsdl', array('login' => 'user', 'password' => 'pass', 'soap_version' => SOAP_1_2, 'cache_wsdl' => WSDL_CACHE_NONE, //WSDL_CACHE_MEMORY, //, WSDL_CACHE_NONE, WSDL_CACHE_DISK or WSDL_CACHE_BOTH 'exceptions' => true, 'trace' => 1)); } catch(SoapFault $e) { trigger_error('Ошибка подключения или внутренняя ошибка сервера. Не удалось связаться с базой 1С.', E_ERROR); var_dump($e); } PS If you just enter the link into the browser, it will request a login and pass, and entering them will give the information ...