Magento & SOAP2

[email protected] (Kim Madsen)
Newsgroups php.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.