Search code examples
phpweb-servicesresultsetnusoap

Getting HTTP 500 Internal Server Error, Webservice PHP/NuSOAP on resultset with more than 1000 rows


I handle a small webservice with two methods, everything is running great until the resulset returns more than 1000 rows.

I know I have to put some code here, but the project is very confidential, so I put only basic Nosuap object parameters.

$namespace = 'urn:server';
$server = new nusoap_server;
$server->configureWSDL('SOME_NAME', $namespace);
$server->wsdl->schemaTargetNamespace = $namespace;
$server->register('ws_consultar_reclamos',
array('fechas' => 'tns:fechas_array'),
array('return' => 'tns:reclamacion_array'),
$namespace,
'urn:server#ws_consultar_reclamos',
'rpc',
'encoded');

I repeat, everything runs great until the resultset has more than 1000 rows.

I'm using PHP with NuSOAP.

Is there any configuration that I have to change to accept a bigger resultset?

Please help me, I'm running out of time with this situation.

Thanks a lot!


Solution

  • In case you haven't done it yet, activate logging:

    error_reporting  =  E_ALL
    log_errors = On
    

    Have you tried to increase the memory limit in php.ini?