I was using the NuSOAP and i saw a typical problem. I uploaded the code to a webserver and it worked fine. But when I tested it on my localhost it bombed. The error was
“Cannot redeclare class soapclient”
I found the hack on oreillynet
There seems to be a clash of PHP5 build-in soap class and the nusoap class. Simply rename all occurences of “soapclient” in all 10 nusoap files into “soapclientw” (or whatever instead of “w”) and for me it worked.
This is a workaround/ hack. Backup your files before trying it.