Magento & SOAP2

From: Date: Thu, 25 Feb 2010 19:45:24 +0000
Subject: Magento & SOAP2
Groups: php.general 
Request: Send a blank email to php-general+get-302381@lists.php.net to get a copy of this message
Hi Does anyone on the list have experience with the above? The documentation is only on SOAP1.x, but not on SOAP2 and the calls are completely different: SOAP1.x: http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product_attribute#example_1._getting_product_attribute_s_sets_list_and_get_attributes $proxy = new SoapClient('http://magentohost/api/soap/?wsdl'); $sessionId = $proxy->login('apiUser', 'apiKey'); // make a call in SOAP1.x $attributeSets = $proxy->call($sessionId, 'product_attribute_set.list'); var_dump($attributeSets); // make a call in SOAP2: $attributeSets = $proxy->catalogProductAttributeSetList($sessionId2); var_dump($attributeSets); This I figured out, but when I wanna create a product (for import from a different webshop) I get lost, have no idea now, how to solve this since the documentation still is for 1.x only :-/ Documentation http://www.magentocommerce.com/wiki/doc/webservices-api/api/catalog_product#catalog_product.create Any ideas will be welcome :-) -- Kind regards Kim Emax - masterminds.dk

« previous php.general (#302381) next »