Is there anyway for a SoapClient Request to time out and throw an exception. As of now, I get PHP Server response timeout, in my case 60 seconds. Basically what I want is, if there isn’t any reply from the Web Service within certain time, an exception would be thrown and I could catch it. The 60 seconds warning is not what I want.
Share
Have a look at
if you are comfortable and your environment allows you to extend classes.
It basically extends the
SoapClientclass, replaces the HTTP transport with curl which can handle the timeouts: