Forum Moderators: coopster

Message Too Old, No Replies

soap issue

soap issue

         

dizyn

12:25 pm on Dec 13, 2006 (gmt 0)

10+ Year Member



require_once('nusoap.php');
function getXML($actionz,$param)
{
$serverpath ='http://services.Preview.example.com/webservices/ticketsearch.asmx';
$namespace="http://www.example.com/webservices/";
$soapclient = new soapclient($serverpath);
$soapAction='http://www.example.com/webservices/'.$actionz.'';
$result = $soapclient->call($actionz,$param,$namespace,$soapAction);
if (isset($fault))
{
print "Error: ". $fault;
}
else if ($result)
{
$mannan_tmp = $soapclient->responseData;
}
else
{
print "No result";
}
unset($soapclient);
return $mannan_tmp;
}

$b =& new xmlParser();
$b->tmp = 'ROW';
$tstz = getXML('GetAllProductions',array('SecurityToken' => '2220'));
$mike = $b->parse($tstz);

print_r($mike);
exit;

when i try to access 5000 record its says "no result", if i try to access an xml with 2000 it works fine.
any help

[edited by: coopster at 4:26 pm (utc) on Dec. 13, 2006]
[edit reason] generalized url TOS [webmasterworld.com] [/edit]

coopster

3:21 pm on Dec 25, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



I'm not certain. I guess if it is record dependency, see how many bytes the content being returned is and perhaps you are exceeding either a data-limit capacity or else a timeout issue.

On a side note are you using PHP5? Is so, why not use the built-in SOAP Functions [php.net] instead?