标签: php magento
可以在不进行身份验证/登录的情况下访问Magento Web服务吗?
$client = new SoapClient('http://magentohost/soap/api/?wsdl'); /* AVOID LOGIN $session = $client->login('apiUser', 'apiKey'); */ $result = $client->call($session, 'somestuff.method');