Quantcast
Channel: Magento Expert » extension
Viewing all articles
Browse latest Browse all 23

I’m attempting to a magento api method because of a php SoapClient object.

$
0
0

The issue might be the strategy known to as produces magentos items and it is relatively extended (around 2 minutes). I have to possess the came back values in the method before extended, the soap call stops and I get value nothing.
$session_id = _get_session_id();
$client = new SoapClient($api_url . ‘&SID=’ . $session_id, array(‘trace’ => 1));

try {          
    $session = $client->login($api_user, $api_password);
    $result = $client->call($session, ‘api_call.method’, array($arg1, $arg2);
}
catch(SoapFault $soapFault) {

}

I actually should obtain the known as method return value, regardless of the time that it takes.

Are you aware why the call getting null after a long time?

What is the default timeout that may be set up?

The post I’m attempting to a magento api method because of a php SoapClient object. appeared first on Magento Expert.


Viewing all articles
Browse latest Browse all 23

Trending Articles