Hi:
I am trying to figure out how to use the SuperPages.com API (http://advertising.superpages.com/spapiweb/v2) using nusoap.
I keep getting 'Fault: java.lang.NullPointerException' each time i try and run my script and I can not figure it out!
$client = new soapclient('http://services.superpages.com/spapi/services/TaxonomyService?wsdl',true);
$headers = array("username"=>"$sUsername","companyId"=>"$sAccountId","password"=>"$sPassword");
$client->setHeaders($headers);
$params = array("categoryName"=>"plumber");
$result = $client->call('CategoryKeywords',$params,'https://services.superpages.com/spapi/v2');
If anyone out there has experience consuming the superpages api with php and nusoap I would greatly appreciate any help OR if you can see what I am doing wrong and clue me in.
Thank you in advance