I first encountered using the SOAP protocol, everything seems to be clear, but I can’t figure out the error. Here is the error itself:

Fatal error: Uncaught SoapFault exception: [s: Client] Value cannot be be null. Parameter name: parameters in /opt/lampp/htdocs/index.php:7 Stack trace: # 0 /opt/lampp/htdocs/index.php(7): SoapClient -> __ soapCall ('GetAdditionalCo ...', Array) # 1 {main} thrown in /opt/lampp/htdocs/index.php on line 7

But the code itself:

$params = array('agentUid' => '9B724100-83B5-4EA0-9F55-452C07D131AE'); $client = new SoapClient("https://ti.alfastrah.ru/TIService/InsuranceAlfaService.svc?wsdl"); $result = S$client->__soapCall('GetAdditionalConditions', $params); var_dump($result); 
  • 2
    and show xml? - Kostiantyn Okhotnyk
  • It seems the answer curve comes - user3127286
  • one
    @Voltenko, additions to the question (xml in this case) should be in the question itself. - insolor

0