Hi everyone,
I am using php for soap request. This is my code
$client = new SoapClient('https://www.methodintegration.com/MethodAPI/service.asmx?wsdl');
$response = $client->MethodAPITableListV2('comapnyName','myusername(email)','password','');
I tested my credibility on https://www.methodintegration.com/MethodAPI/service.asmx?op=MethodAPITableListV2 and everything is good. When I tried to use my php code in my project I get this:
stdClass Object
(
[MethodAPITableListV2Result] => <?xml version="1.0" encoding="windows-1252" ?><MethodAPI response = "Failure. The API could not validate your log in. Please make sure you have entered the correct Company Account, User and Password, and that each are spelt correctly. Also, ensure that this User has been configured for Method API access by going to Customize > Users, editing the User, and ensuring that there is a check in the 'Is Allowed to Connect via MethodAPI' checkbox." ></MethodAPI>
)
Can U help me with this error?
Thanks