php - SOAPClient throws fault when passing too much data -


I've got a simple class that returns results from selection classes. DB user only chooses the privilege

The class is made available through SOAP so that 3 parties can query the database to create reporting tools.

The problem is that PHP SOAPClient throws a simple exception when I try to select too many rows, with about 10 columns of table, with the small pieces of data, I select only 80 rows I can do
The total size of the return soap reaction is 134KB, which is clearly not too much ...

I have used the max_input_time , memory_limit and < Code> max_execution_time , but there is nothing ...

Why does SoapClient fail?

Error thrown: ( Fatal error: Unkoot sapfalft exception: [client] It looks like we did not find any XML document

There is an error in the SOAP client class I did not manage to fix it. I wrote default_socket_timeout in the manual, but its only effect was that The simplicity was gone

I solved the problem with curls, and these settings Handmade XML with:

  ini_set ('default_socket_timeout', 120); // 2 minutes to download data ini_set ('memory_limit', '256m'); // memory limit Ignorer_jir_bart (true); // unverified user has set_time_limit (0); // set execute time infinite curl_setup ($ connection, CURLOPT_TIMEOUT, 120); // 2 minute timeout There are many bugs in SoapClient and SoapServer sections (timeout Failure, no xsd verification, etc ...), so if you can, then choose another option. 

< / Html>

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

jquery - SimpleModal Confirm fails to submit form -

php - Multiple Select with Explode: only returns the word "Array" -