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');
But this is returning the following error -
Fatal error: Uncaught SoapFault exception:  Access denied.
Can anyone help me to resolve this error.
If you are working on localhost, then you will need to start service from wamp server. php->php-extension -> php_soap .You need to tick mark it