我致电Magento 1.5.1.0 API,网址:http://
I can login to the webservice, I can get customer.info, customer_address.info etc.
But I can t get customer_address.list to work. 我使用以下代码: 第二个 var_ dump 中的错误消息是: 在非目标上调用成员函数 getId () 任何关于什么可能是错误的想法吗? 请注意, 拉尔斯·汉森$proxy = new SoapClient( http://***/api/soap/?wsdl );
$sessionId = $proxy->login( apiuser , apipass );
$newCustomerId = 178475;
// This works fine
var_dump($proxy->call($sessionId, customer.info , $newCustomerId));
// This should work according to the API doc. But doesn t?
var_dump($proxy->call($sessionId, customer_address.list , $newCustomerId));
I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...