Magento & SOAP2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux