<?php
ini_set('soap.wsdl_cache_enabled', '0');
ini_set('soap.wsdl_cache_ttl', '0');
try {
$client_soap = new SoapClient("
eaisto.gibdd.ru/common/ws/arm_expert.php?wsdl");
$request_register = $client_soap->RegisterCard(
array(
'user' => array(
'Name' => "???",
'Password' => "???",
'ExtSystem' => ""
),
'card' => array(
'BodyNumber' => "",
'Form' => array(
'Duplicate' => false,/*дубликат */
'Validity' => "2016-09-15T16:00:00"/* срок действия*/
),
'Name' => "Иванов",
'FName' => "Иван",
'MName' => "Иванович",
'Note' => "",
'DateOfDiagnosis' => "2015-09-15T00:00:00",
'RegistrationNumber' => "kkkk222",
'TestResult' => "Passed",
'TestType' => "Primary",
'Values' => array(
'Code' => "1",
'TestResult' => "1",
),
'Vehicle' => array(
'Make' => "Passed",
'Model' => "3307",
),
'VehicleCategory' => "C",
'VehicleCategory2' => "N2",
'Vin' => "asdasdasdasd",
'Year' => "2003",
'FrameNumber' => "",
'EmptyMass' => "3200",
'MaxMass' => "MaxMass",
'Fuel' => "Petrol",
'BrakingSystem' => "Mechanical",
'Tyres' => "Kama",
'Killometrage' => "18000",
'RegistrationDocument' => array(
'Organization' => "ГИБДД МОГТО и РАС ГИБДД УВД по г.Архыз",
'Date' => "15-09-2013T16:00:00",
'Number' => "03314",
'Series' => "2020",
'DocumentType' => "RegTalon",
'Foreign' => "N"
),
'DateOfRetest' => "DateOfRetest",
'Expert' => array(
'Name' => "Иванов",
'FName' => "Иван",
'MName' => "Иванович",
),
'Operator' => array(
'FullName' => 'Общество с ограниченной ответственностью "АВтокрамирование"',
'ShortName' => 'ООО "Автокрамирование"'
),
)
));
$card_id_itog = $request_register->RegisterCardResult;
$dk_number_itog = $request_register->Nomer;
} catch (SoapFault $exception) {
echo $exception->getMessage();
}
?>
вот этот код выдает ошику SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'F_LICA' cannot be null Что делать ? кто сталкиваля?)