logo       

Re: segemtation fault calling java webservice: msg#00069

php.nusoap.general

Subject: Re: segemtation fault calling java webservice

I do not know why you get a segmentation fault as the error. Normally, I would
expect you to exceed the PHP memory limit. See php.ini, e.g.

memory_limit = 8M ; Maximum amount of memory a script may consume
(8MB)

This normally causes a graceful PHP error. You could bump this up to see
whether it increases the capacity for your client.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: <dieter.koch@xxxxxxxxxxxxx>
To: <nusoap-general@xxxxxxxxxxxxxxxxxxxxx>
Sent: Friday, April 15, 2005 3:14 AM
Subject: [Nusoap-general] segemtation fault calling java webservice


Hi @all,

we are using nuSAOP (Rel. 1.87) component for calling java webservices
from php.
Everything works fine until the point, when the data amount that is
received from
the webservice has reached a special limit. Following situation:

I call a java-webservice dynamically by using the "?wsdl" option:

$parameters = array( 'myPar1'=>$par1, 'myPar2'=>$par2, 'myPar3'=>$par3,
'myQueryLimit'=>$queryLimit );
$retData = array();
$soapclient = new soapclient($wsdl, 'wsdl');
$retData = $soapclient->call('getSearchReport', $parameters);

I receive a complex DataType, that is nothing else, then a
multidimensional array.
With the parameter $queryLimit i can limit the received data (thus the
number of records,
that the webservice has to deliver). As long as the $queryLimit is set
to max. 1200,
everything works fine, but above this limit i get a 'segmentation
fault'.

I know, it really does not make really sense, to handle such big
data-amount with
SOAP, but i can not believe, that this limit is true.

I would be very happy, if anyone has an idea, where the problem is.

thanks in advance, best regards
Dieter Koch, Frankfurt Germany




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise