
23/07/2007, 15:19
|
 | | | Fecha de Ingreso: agosto-2005 Ubicación: Cuba
Mensajes: 86
Antigüedad: 19 años, 6 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... |