Ver Mensaje Individual
  #2 (permalink)  
Antiguo 13/01/2010, 12:07
Avatar de maturano
maturano
 
Fecha de Ingreso: enero-2010
Ubicación: /home/
Mensajes: 537
Antigüedad: 14 años, 3 meses
Puntos: 36
Pues eso.

NuSOAP tiene un método para leer la respuesta, imprímelo y ve cuál es el error. Un var_dump()

En esta página hay un ejemplo de cómo hacer el debugging:
http://www.scottnichol.com/nusoapintro.htm#debugging
Código PHP:
Ver original
  1. <?php
  2. // Pull in the NuSOAP code
  3. require_once('nusoap.php');
  4. // Create the client instance
  5. $client = new soapclient('http://localhost/phphack/helloworld.php');
  6. // Call the SOAP method
  7. $result = $client->call('hello', array('name' => 'Scott'));
  8. // Display the result
  9. print_r($result);
  10. // Display the request and response
  11. echo '<h2>Request</h2>';
  12. echo '<pre>' . htmlspecialchars($client->request, ENT_QUOTES) . '</pre>';
  13. echo '<h2>Response</h2>';
  14. echo '<pre>' . htmlspecialchars($client->response, ENT_QUOTES) . '</pre>';
Ahí se está imprimiendo todo el proceso con su respuesta, peticiones y todo (no eran métodos ). Haz lo mismo, así obtendrás información de dónde puede estar tu error.

Última edición por GatorV; 13/01/2010 a las 14:39