Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Magento API XmlRpc can’t connect
 
webhank
Jr. Member
 
Total Posts:  19
Joined:  2008-07-17
 

i have set up an api user and key and am using this script:

<?php
$client 
= new Zend_XmlRpc_Client('http://url.com/api/xmlrpc/');

// If somestuff requires api authentification,
// we should get session token
$session $client->call('login', array('user''apikey'));

$r $client->call('call', array($session'customer.list'));
var_dump($r);

// If you don't need the session anymore
$client->call('endSession', array($session));
?>

i get the error message:
Fatal error: Class ‘Zend_XmlRpc_Client’ not found in ...

does anyone have any insight?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top