Showing results for 
Search instead for 
Did you mean: 

Invalid login by API. C#

Invalid login by API. C#






I have problem with connect to api mageno.

I programming in C#.

I user method login. I passed login and password the same as in configuration on magento.


I connect to api by






WebReference1.MagentoService service = new MagentoService();

  result = service.login(login, password);



When I try running method i get message:



An exception of type 'System.InvalidOperationException' occurred in System.Web.Services.dll but was not handled in user code

Additional information: The client has found the content type of the response "text / html; charset = UTF-8 ", but expected to be" text / xml ".

The request failed. Error message:


<SOAP-ENV:Envelope xmlnsSmiley FrustratedOAP-ENV="">




                <faultstring>SOAP extension is not loaded.</faultstring>









Please help me.


Kind Regards.


Re: Invalid login by API. C#

This problem is solved. I deselect extension=php_soap.dll in php.ini.