Foros del Web » Programando para Internet » PHP »

NuSOAP

Estas en el tema de NuSOAP en el foro de PHP en Foros del Web. I'm an informatics university student. I've downloaded and reviewed every tutorial and nusoap example I've found in a dozen of sites, but none of them ...
  #1 (permalink)  
Antiguo 23/07/2007, 15:19
Avatar de Kluster  
Fecha de Ingreso: agosto-2005
Ubicación: Cuba
Mensajes: 86
Antigüedad: 18 años, 8 meses
Puntos: 1
NuSOAP

I'm an informatics university student. I've downloaded and reviewed every tutorial and nusoap example I've found in a dozen of sites, but none of them have helped me. This is the problem:

I need to publish a web service to standarize the identifiers and names of some locations. This information is stored in a database. So, my web service connects to this databse, executes a simple SELECT query and returns data. When I test this on a single page, no problem. But when I publish this function as a method in my soap server, using nusoap 0.7.2 and PHP 4.4.4, and try to use it from a client page, it doesn't show the results.

In the server, I store the query results in a variable, and the function makes a "return $query_result". So, in the client, I make this:

"$var = $client->call("MyFunction", $params);"

But when I print $var, it only shows "Array()" or "Object", if using OOP.

What I'm I doing wrong, or what do I need to access to this info correctly?

Thanx since now...
  #2 (permalink)  
Antiguo 23/07/2007, 16:15
Avatar de ferbux  
Fecha de Ingreso: mayo-2007
Ubicación: por ahí intentado ayudar
Mensajes: 823
Antigüedad: 16 años, 11 meses
Puntos: 6
Re: NuSOAP

HI, about your problem, you can use print_r to show the content of array()
__________________
"Eres grande por que caminas entre gigantes"
  #3 (permalink)  
Antiguo 27/07/2007, 20:00
Avatar de richardinj  
Fecha de Ingreso: enero-2005
Ubicación: Ciber Espacio
Mensajes: 2.180
Antigüedad: 19 años, 3 meses
Puntos: 11
Re: NuSOAP

juat??????????
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 09:35.