Fix: RepuveService consultar vehiculo

This commit is contained in:
Juan Felipe Zapata Moreno 2025-12-08 10:14:21 -06:00
parent 456768e1b5
commit ff7b4a7d3d

View File

@ -288,7 +288,7 @@ public function consultarVehiculo(?string $niv = null, ?string $placa = null)
$url = $this->baseUrl . '/jaxws-consultarpv/ConsultaRpv';
// Construir arg2: NIV|PLACA|||||||
$arg2 = ($niv ?? '') . '|' . ($placa ?? '') . str_repeat('|', 7);
$arg2 = ($niv ?? '') . '|' . ($placa ?? '') . str_repeat('|', 4);
$soapBody = <<<XML
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://consultaRpv.org/wsdl">