Hello,
I have a function that returns 2-d array of strings. It times out when array gets too big. When I view the server debug note, it does return correct value and I guess in the process of serializing the returned array and posting it back to client, it timesout.
my return type is defined:
$server->addComplexType('ArrayOfStrings',
'complexType',
'array',
'sequence',
'SOAP-ENC:Array',
array(),
array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'xsd:string[]')),
'xsd:string'
);
$server->addComplexType('ResultArray',
'complexType',
'array',
'sequence',
'SOAP-ENC:Array',
array(),
array(array('ref'=>'SOAP-ENC:arrayType','wsdl:arrayType'=>'tns:ArrayOfStrings[]')),
'tns:ArrayOfStrings'
);
|
My question is whether above return type declaration is correct and whether nusoap has limit on size of array that can be returned. I have no problem returning huge string and huge binary data. Only array return type fails.
Thanks