I’m still on rookie level when it comes to Magento. That didn’t prevent my from trying to integrate Axapta with Magento.
But I’m stock with the web services, witch I can’t find any solution for. I have read many threads in this forum the last couple of hours, but nothing got me going.
I what to start simple, so could anyone please tell me, how I can get any information out of Magento?
I tried this:
$proxy = new SoapClient(âhttp://website/shop/index.php/api/soap/index/wsdl/1â);
$sessionId = $proxy->login(âapiUserâ, âapiKeyâ);
$allCategories = $proxy->call($sessionId, âcategory.treeâ); // Get all categories.
But got the well known XML error in line 1.
I placed the api2.xml file in website/shop/etc
Then I read, that I needed to install php soap.
Through my Joomla, I get this information:
Soap Client enabled
Soap Server enabled
Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400
I hope someone will help me with this, then I will be able to continue my crazy quest integrating Axapta with Magento.
PHP: 5.2.6-1+lenny3 on Apache