A
A
Artem Melnykov2021-01-24 17:12:55
PHP
Artem Melnykov, 2021-01-24 17:12:55

SOAP - Parsing error when working with EAISTO API?

Hello, I'm trying to get an EAISTO diagnostic card by VIN, but I get an error:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://eaisto.gibdd.ru/common/ws/arm_expert.php?wsdl' : failed to load external entity "http://eaisto.gibdd.ru/common/ws/arm_expert.php?wsdl" in /storage/ssd4/821/14792821/public_html/soap.php:6 Stack trace: #0 /storage/ssd4/821/14792821/public_html/soap.php(6): SoapClient->SoapClient('http://eaisto.g...') #1 {main} thrown in /storage/ssd4/821/14792821/public_html/soap.php on line 6


The code:
<?php

ini_set('soap.wsdl_cache_enabled', '0');
ini_set('soap.wsdl_cache_ttl', '0');

$client = new SoapClient("http://eaisto.gibdd.ru/common/ws/arm_expert.php?wsdl");
$test = $client->GetCardByVin(
array(
  "Purpose" => "ForDublicate",
  "vin" => "SAJAA61B0F8K16396",
  "regNumber" => "",
  "BodyNumber" => "",
  "FrameNumber" => "",
  "formNumber" => "",
  "formSeries" => ""
)
);
var_dump($test);

echo $test;
?>


What is the problem?

PS If you have an account in ARM EAISTO, then I'm ready to buy

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
toxa82, 2021-01-24
@toxa82

He cannot get the wsdl file from you. Check the connection url, it may need to be set without the wsdl parameter.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question