i want to add product to shopping cart via API , i use this code
//return "Add Product To Cart ... ";
$proxy = new SoapClient('http://mymagent.com/api/v2_soap/?wsdl');
$sessionId = $proxy->login('zazaza', '123456');
$cartId = $proxy->shoppingCartCreate($sessionId);
//var_dump($result);
$result = $proxy->shoppingCartProductAdd($sessionId, $cartId,$sessionId, 10, array(array('product_id' => '166');
//var_dump($result);
return $result;
but it return to me
HTTP Error: socket read of headers timed out
can any body help me ? thanks