Foros del Web » Programando para Internet » PHP »

Uncaught SoapFault exception: [Client] DTD are not supported by SOAP

Estas en el tema de Uncaught SoapFault exception: [Client] DTD are not supported by SOAP en el foro de PHP en Foros del Web. Que tal: estoy haciendo mis "primeros pininos" con Servicios Web usando SOAP y PHP (nativo), usando un tutorial que encontré en O'Reilly: http://www.oreillynet.com/pub/a/php/2007/07/26/php-web-services.html Todo va ...
  #1 (permalink)  
Antiguo 01/12/2009, 13:19
Avatar de solinem  
Fecha de Ingreso: diciembre-2007
Mensajes: 61
Antigüedad: 16 años, 4 meses
Puntos: 0
Uncaught SoapFault exception: [Client] DTD are not supported by SOAP

Que tal:
estoy haciendo mis "primeros pininos" con Servicios Web usando SOAP y PHP (nativo), usando un tutorial que encontré en O'Reilly:
http://www.oreillynet.com/pub/a/php/2007/07/26/php-web-services.html
Todo va bien si lo hago localmente, pero si el "cliente soap" lo ejecuto desde algun servidor remoto (que es como realmente va a ocurrir), obtengo el siguiente mensaje:
--------------------------------------------------------------
Fatal error: Uncaught SoapFault exception: [Client] DTD are not supported by SOAP in C:\xampp\htdocs\soap-client.php:5 Stack trace: #0 [internal function]: SoapClient->__call('getCatalogEntry', Array) #1 C:\xampp\htdocs\soap-client.php(5): SoapClient->getCatalogEntry('catalog2') #2 {main} thrown in C:\xampp\htdocs\soap-client.php on line 5
---------------------------------------------------------------
Estoy siguiendo al pie de la letra el tutorial pero algo extraño sucede.
__________________
Agradezco de antemano su valiosísima ayuda.
Marco Ríos
Ciudad de México

Última edición por solinem; 01/12/2009 a las 17:39
  #2 (permalink)  
Antiguo 08/12/2009, 18:14
Avatar de solinem  
Fecha de Ingreso: diciembre-2007
Mensajes: 61
Antigüedad: 16 años, 4 meses
Puntos: 0
Respuesta: Uncaught SoapFault exception: [Client] DTD are not supported by SOAP

Por favor, habrá alguien que me pueda ayudar????
__________________
Agradezco de antemano su valiosísima ayuda.
Marco Ríos
Ciudad de México
  #3 (permalink)  
Antiguo 09/12/2009, 03:52
 
Fecha de Ingreso: diciembre-2008
Mensajes: 118
Antigüedad: 15 años, 4 meses
Puntos: 6
Respuesta: Uncaught SoapFault exception: [Client] DTD are not supported by SOAP

Pues empieza por comprobar que corre bien soap en el server, ejecuta php infoy comparas con el que estés usando como local
  #4 (permalink)  
Antiguo 14/12/2009, 15:34
Avatar de solinem  
Fecha de Ingreso: diciembre-2007
Mensajes: 61
Antigüedad: 16 años, 4 meses
Puntos: 0
Respuesta: Uncaught SoapFault exception: [Client] DTD are not supported by SOAP

Que tal,
Así es, el soap está funcionando correctamente:
soap

Soap Client enabled
Soap Server enabled

Directive Local Value Master Value

soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 0 0
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400
__________________
Agradezco de antemano su valiosísima ayuda.
Marco Ríos
Ciudad de México
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:33.