Tanto si lo importas en local como si lo haces desde el entorno web, los parametros para entorno de pruebas son:
para verifactu:
Código:
defWSDL = 'https://prewww2.aeat.es/static_files/common/internet/dep/aplicaciones/es/aeat/tikeV1.0/cont/ws/SistemaFacturacion.wsdl';
defURL = 'https://prewww1.aeat.es/wlpl/TIKE-CONT/ws/SistemaFacturacion/VerifactuSOAP';
defSvc = 'sfVerifactu';
defPrt = 'SistemaVerifactu';
por requerimiento:
Código:
defWSDL = 'https://prewww2.aeat.es/static_files/common/internet/dep/aplicaciones/es/aeat/tikeV1.0/cont/ws/SistemaFacturacion.wsdl';
defURL = 'https://prewww1.aeat.es/wlpl/TIKE-CONT/ws/SistemaFacturacion/RequerimientoSOAP';
defSvc = 'sfRequerimiento';
defPrt = 'SistemaRequerimiento';