After configuration SOAP_v2 for getting products info,
Magento version : 1.9.2.3
Code:
<?php
$proxy = new SoapClient('abc.com/api/v2_soap/?wsdl');
$sessionId = $proxy->login((object)array('username' => 'bala', 'apiKey' => 'bala123'));
$result = $proxy->catalogProductInfo((object)array('sessionId' => $sessionId->result, 'productId' => '9699'));
var_dump($result->result);
?>
And error is,
PHP Fatal error: Uncaught SoapFault exception: [Client] looks like we got no XML document in /home/abc/public_html/bala.php:3 Stack trace:
#0 /home/abc/public_html/bala.php(3): SoapClient->__call('login', Array) #1 {main} thrown in /home/abc/public_html/bala.php on line 3*
How can i solve this error?