Recently, I encountered a soap call using php to call a remote function interface to query hundreds of millions of data queries, the interface response time is bound to increase to a terrible level, about 2 minutes. Get this... recently, I encountered a soap call using php to call a remote function interface to query hundreds of millions of data queries, the interface response time is bound to increase to a terrible level. It may take about 2 minutes. Will the time required to obtain the execution result exceed the soap time limit? If there are other solutions, how can we do this? The purpose is to obtain the interface response results.
Reply content:
Recently, I encountered a soap call using php to call a remote function interface to query hundreds of millions of data queries, the interface response time is bound to increase to a terrible level. It may take about 2 minutes. Will the time required to obtain the execution result exceed the soap time limit? If there are other solutions, how can we do this? The purpose is to obtain the interface response results.
SOAP is a Simple Object Access Protocol (abbreviated as Simple Object Access Protocol) used to Access Web services. SOAP usually uses the HTTP protocol at the underlying layer, so each call must have a time limit (TimeOut ). However, this restriction is imposed on the Server side.
According to your description, you are a service user and belong to the Client. As long as the Server can ensure that the connection is continuously opened before the correct response is made, theoretically you can get the desired result.
You can try to search with the keyword "PHP Soap Client Timeout.
This is the first two results provided by Google:
We recommend that you use RESTful interfaces.