SOAP-ERROR: Analizando WSDL: Entidad 'copia' no definida Magento

I try to use magento webservice but whene i try to call the webservice :

$proxy = new SoapClient('');

I get this error : Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '' : 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('');

// 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);


preguntado el 18 de septiembre de 13 a las 12:09

¿Puedes publicar tu código? -

of cours , this is my code : -

That didn't come through. Try using -

sorry i dindn't understand you ? -

plz help to solve this , really i'm blocked -

1 Respuestas

Do you have a host entry for that points to your address? Can you actually see the wsdl in your browser if you visit the URL manually? Do you have all the PHP libraries installed like simplexml? If you install something like Charles web proxy and run the request it might yield more info as to what is happening like possible redirects and responses. Do you have the log enabled and is there any error in the magento system or exception log?

Need a bit more info to help really. Also is the real error message relating to or does it actually say If so, have you configured the site base URL's in the admin? I suspect it may be a DNS issue at this moment.

Respondido el 18 de Septiembre de 13 a las 20:09

Yes the probleme DNS , i had to add www to my url call i mean : instead tuve que escribir :), thanks brother. - karim karimeri

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.