I try to access a webservice with PHP that takes quite long to respond (I've tested it with the free program "soapUI" and it takes about 65 seconds until I get an answer). Therefore the PHP script is always interrupted before the webservice has sent the response. Here is the very short PHP snippet I use for testing:
Code: Select all
$client = new SoapClient("https://my.server/past/to/webservice.asmx?wsdl");
echo "test1"
$result = $client->GetProducts(array("param1"=>"value1", "param2"=>"value2", "param3"=>"value3", "param4"=>"", "param5"=>""));
echo "test2"I already increased all timeouts I could find:
"max_execution_time" to "3560"
"max_input_time" to "3560"
"default_socket_timeout" to "3560"
And I executed the PHP script from within a browser and from the Linux shell with "wget" (to be sure additional with the option "--timeout=3560"). Always with the same result: no result at all.
I even tried to add a try-catch block arround the SOAP call, but there is also no exception. The script is just interrupted without any error message...
Does anyone have an idea about which timeout I have to increase that the webservice call is not interrupted before it could send the result?
Thanks for any ideas in advance
Andreas