Project Detail

Magento API Product List Output Via SOAP Issue   Refundable $5 fee paid

Magento API Product List Output Via SOAP Issue is project number 539806
posted at GetAFreelancer.com. Click here to post your own project.

 

| More
Free Trial For New Buyers
 

Status: Open

Selected Providers: -

Budget: $30-250

Created: 10/30/2009 at 12:12 EDT

Bid Count: 2

Average Bid:
$ 55

12/29/2009 at 12:12 EST (36d 23h left)

Project Creator: rfried498 View PM Post PM
Employer Rating: 9/109/109/109/109/109/109/109/109/109/10 (2 reviews)

Bid On This Project
 

Description

For some reason I am getting my API call to time out when i use product.list as the call… It works when I use product.info and i send the sku as I get all the product info returned in an array, so I know its not the issue of PEAR SOAP not working. Does anyone have any ideas why that could be happening? I even tried to use the category.assignedProducts method, and that returned an empty array when I specified the category id. My code is below.

If I change the resource path to product.info, and supply the sku in the args, it will work... so I know the code does work as is, just not for product.list.


...again this is PEAR soap.

$host= ‘www.domain.com’;
require_once (’SOAP/Client.php’);
$namespace = ‘http://’.$host.’/index.php/api/soap/?wsdl’;

$client = new SOAP_Client($namespace, ‘wsdl’);

$mage_user = “user”;
$mage_api_key = “key”;

$arguments = array(
‘username’ => $mage_user,
‘apiKey’ => $mage_api_key,
);
$session_id = $client->call( ‘login’, $arguments );

$filters = array(
‘sku’ => array(’eq’=>26813),
‘type_id’ => array( ‘eq’ => ‘simple’ ),
);

$arguments = array(
‘sessionId’ => $session_id,
‘resourcePath’ => ‘product.list’,
‘args’ => array( $filters ),
);

$result = $client->call( ‘call’, $arguments );
var_dump($result);

Messages Posted:0 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 
View PM Post PM

60

1 day

10-30-2009 13:02 EDT

please see pm for more info.

help

 
View PM Post PM

50

4 days

11-05-2009 13:41 EST

Hello, We are Magento Experts. Thanks Biganswers

help


    Bid on this Project