That was a real trouble for me so I thought I should post it. I was using the following code,
$date = date(”Ymd”);
$params = array();
$params[’serialNo’] = $date;
$params[’entryType’] = “master”;require_once(’lib/nusoap.php’);
$masterClient=new soapclient(”http://localhost/nusoap/edit/server.php”);
$response = $masterClient->call(’makeEntry’, $params);
While testing, I was getting error as Cannot redeclare class soapclient……… I search inside the class like weirds, but didn’t find the source of error. After searching, I found that there is clash between PHP5 build-in soap class and the nusoap class.
In order to solve this problem, simply rename all occurrences of “soapclient” in all 10 nusoap files into “soapclient2″ or whatever you want.



Ari Dubov
April 6, 2008 at 11:35 am
1Yes, I do think your opinion is righteous. (So do lots of people). Luckily majority of people are intelligent :).
Dmitri
April 9, 2008 at 5:06 am
2I’ve heard so much about this website, so I finally decided to visit it. I have to say that It’s nothing special..
tube8
August 4, 2008 at 9:31 pm
3interesting post thx titanium tubing see you
Comments RSS | TrackBack Identifier URI