thanks for the reply marks
I'm using nusoap client to consume the webservices
i find a weird problem here, i'm getting result for some methos and failure for some methods
can you help me out with any of these methods
I need to get the a record from certain table ??
this is the error i'm getting
stdClass Object ( [MethodAPISelect_DataSetResult] => Failure. The API could not validate your log in. Please make sure you have entered the correct Company Account, User and Password, and that each are spelt correctly. Also, ensure that this User has been configured for Method API access by going to Customize > Users, editing the User, and ensuring that there is a check in the 'Is Allowed to Connect via MethodAPI' checkbox. )
This is the code...where is the mistake
$company = "-";
$login = "-";
$password = "-";
$table = "Customer";
$fields = "MAX(CustomerNumber) as CustomerNo";
$dsResp = "";
$param = array("strCompanyAccount" => $company, "strLogin" => $login, "strPassword" => $password, "", $dsResp, "strTable"=>$table, "strFields"=>$fields,"","","","");
$result = $client->call('MethodAPISelect_DataSetV2', array('parameters' => $param), '', '', true, true);
echo "<pre>";
print_r($result);
echo "</pre>";