2009-10-27 21:12:49 UTC
I found another problem, i don't know if it is caused by PHP 5.3 version , but when my web service function returns a string i got this error in the soap envelope:
" getclass() expects parameter 1 to be object, string given in <b>C:\wamp\www\prova\lib\nusoap.php</b> on line <b>4021</b>"
I guess it is cause by the getclass function that is applied to a string parameter (the return value of my webservice method) , but getclass now aspect an object and gives an error if it isn't.
So i changed the line n. 4021 of nusoap.php in this way:
if (isobject($this->methodreturn) && (isset($this->methodreturn) && ((getclass($this->methodreturn) == 'soapfault') || (getclass($this->methodreturn) == 'nusoapfault')))) {...
Now it works...
Does anybody know if it is right?
Best regards, Ste.