Ver Mensaje Individual
  #9 (permalink)  
Antiguo 12/09/2012, 15:32
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 15 años
Puntos: 1517
Respuesta: nusoap devuelve text/html y no text/xml

Pero ¿estás también trayendo en el cuerpo de la página esa primera parte?

Cita:
HTTP/1.1 200 OK
Date: Wed, 12 Sep 2012 21:24:58 GMT
Server: Apache/2.2.8 (Win32) PHP/5.2.6
X-Powered-By: PHP/5.2.6
X-SOAP-Server: NuSOAP/0.9.5 (1.123)
Content-Length: 1268
Connection: close
Content-Type: text/xml; charset=UTF-8
Porque si es así entonces ahi tienes un problema, debería ser solamente
Código XML:
Ver original
  1. <?xml version="1.0" encoding="UTF-8"?>
En la primera línea.
Otra cosa importante, ya que el archivo está en utf-8 deberías setear el header como
Código PHP:
Ver original
  1. header('Content-Type: text/xml; charset=UTF-8');
__________________
Verifica antes de preguntar.
Los verdaderos amigos se hieren con la verdad, para no perderlos con la mentira. - Eugenio Maria de Hostos