I try to use magento webservice but whene i try to call the webservice :
$proxy = new SoapClient('http://mydomain.com/magento/index.php/api/v2_soap/?wsdl');
I get this error : Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://mydomain.com/magento/index.php/api/v2_soap/?wsdl' : Entity 'copy' not defined\n in /var/www/trunk/test.php:3\nStack trace:\n#0 /var/www/trunk/test.php(3),
So this Entity 'copy' not defined can you tell me why this exactly , should i add something in my server ?
$proxy = new SoapClient('http://127.0.0.1/magento/index.php/api/soap/?wsdl=1');
// create authorized session id using api user name and api key
// $sessionId = $proxy->login('apiUser', 'apiKey');
$sessionId = $proxy->login('karimeri', 'xxxxxxx');
// Get customer info for customer id = 1
$customerinfo = $proxy->customerCustomerInfo($sessionId,1);
print_r($customerinfo);