Ver Mensaje Individual
  #6  
Antiguo 09-10-2025
RUBEN_SP RUBEN_SP is offline
Miembro
 
Registrado: mar 2008
Posts: 69
Reputación: 19
RUBEN_SP Va por buen camino
Cita:
Empezado por novatico Ver Mensaje
Acabo de hacer esta consulta:

Código:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:com="https://www2.agenciatributaria.gob.es/static_files/common/internet/dep/aplicaciones/es/aeat/bugc/jdit/ws/CompRecEquivEnt.xsd">
 aeat/bugc/jdit/ws/CompRecEquivEnt.xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <com:CompRecEquivEnt>
         <com:Contribuyente>
            <com:Nif>cNif</com:Nif>
            <com:Nombre>cNom</com:Nombre>
         </com:Contribuyente>
      </com:CompRecEquivEnt>
   </soapenv:Body>
</soapenv:Envelope>
Donde sustituyo cNif y cNom por valores reales, a la URL: https://www1.agenciatributaria.gob.e...mpRecEquivSOAP con un certificado real y me devuelve la información correspondiente.
Ok Tenia la url mal. Pero de todas formas usando el WSDL no funciona da este error:Project Project218.exe raised exception class EDOMParseError with message 'DTD está prohibido.

Line: 1
<!DOCTYPE html>'.
Responder Con Cita