Hi,
I'm trying the following code to access product list
$client = new SoapClient('http://magentohost/api/soap/?wsdl');
$session = $client->login('apiUser','apiKey');
$result = $client->call($session, 'product.list');
$client->endSession($session);
But this is returning the following error -
Fatal error: Uncaught SoapFault exception: [2] Access denied.
Can anyone help me to resolve this error.
Thanks
Radhika.