I'm working with SOAP (web services). Let me explain. When I send a call to the SOAP (through PHP), sometimes doesn't respond nothing... and it keeps there doing nothing. What I need is to find a way to control the response time, so after a few seconds just pass to other execution. My idea is to use some high level js code (because I've used jquery/ajax/json in the whole app) or in the same way but with php code at the same place, something like when the SOAP is called, if it doesn't send any response after a few seconds (Ex: 15s), try to control that with any method or variable... (Sort of timer but in PHP).
I look forward to any suggestions or ideas!