Buenas,
En principio el mismo codigo 299 ya significaria que el servicio esta funcionando ya que no es un código de estado HTTP estándar por lo tanto el servicio lo ha asignado como respuesta. Seguramente lo asignaran a los mensajes soap que carecen de xml. Faltaria comprobar esto que te digo llamando a la funcion en un momento en el que realmente el servicio este caido. Intentare comprobarlo. Los viernes por la noche suelen pararlo para hacer "sus cositas".
Esta es la cabecera de respuesta (luego hay respuesta):
Código:
dit-niu: 55000611386
dit-tarea: 7190
dit-servidor: WLP00402
dit-idpeticion: 20250713101103269026
x-ua-compatible: IE=7
Content-Length: 253
Content-Type: text/xml; charset=UTF-8
Date: Sun, 13 Jul 2025 08:11:03 GMT
Set-Cookie: CERT_WWW1=67CECE645A1A038662C70C21B90FD0829C6022BACB433FE56F92234B2D3A2CA665A4AB87BF542710B93416FC106266A9B88DAA70C5F2A775B856E87D8CC69DFB1562A823482261607AE84A8DA0F0CA840A0AD3FEM2kLpaFKkQfHR6To7qnvuBi5KmUH55X01WwoypqxmWzw7sqeMEpkYTcFXyt6T3rPP759aYLKch20tIY9TdVtW9kIKheF1AWPwtdfcuKZW+iu5KjbiyyuHt3qKJo3lIyYuejrZRHwNJ3/DX70rgGNDxws8NBSsJGIec6YG1cJ0/GOOCl6VQefTu6PHnlunvOW2iEyxAK6cOHnV+cj24iXhytm0jMIAsq+Of4EBRG9dHgc2C7iPaOY1/z5hL9rbAlpcnFxMkR6xTMTP9Z1yElf6fPqhNNeatfDeCRVB7UQepVThNsaVqVEXYdd1/cAiXwokndH+QOEkIhkauVSxv2ccE3o4xhQe3CztrZnzSDBsdXFBxN7JDsEafl5ArrH2EcDtjOV53XqyrVf+cj0mIzWs5hih81ZLiA==; Domain=.aeat.es; Path=/; HttpOnly; Secure,CERT_WWW1V=20250713-09410326; Domain=.aeat.es; Path=/; Secure,sgat_id_usr_sede=%7B%22tipoAcceso%22%3A%22C%22%2C%22fechaYHora%22%3A%2220250713101103270%22%2C%22nombre%22%3A%22MOLINA%20MU%C3%91OZ%20JOS%C3%89%20LUIS%22%7D; Domain=.aeat.es; Path=/; Secure
dit-codigo-respuesta: 99999
content-language: es-ES
expires: Thu, 01 Dec 1994 16:00:00 GMT
cache-control: no-cache="set-cookie, set-cookie2"
x-site: Sede
referrer-policy: strict-origin-when-cross-origin
x-xss-protection: 1; mode=block
strict-transport-security: max-age=31536000; includeSubDomains
content-security-policy: frame-ancestors 'self' *.aeat.es