|
| Detect timeout on SOAPRunXML and SOAPRun |
| Iniciado por guest, 14,oct. 2011 18:19 - 3 respuestas |
| |
| | | |
|
| |
| Publicado el 14,octubre 2011 - 18:19 |
HI, I'm using SOAPRunXML to send data to a webservice. Sometimes there's an timeout, due to external reasons. The SOAPRunXML() function returns False, as expected. But SOAPError(SOAPErrMessage) returns an empty string. When I use soapUI to test this, it returns a nice "timeout" message. Why doesn't WD give me a timeout, which is the reason for this failure. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 14,octubre 2011 - 23:46 |
Hi Arie, Is it a webservice you developed? I just found that I got FALSE on our webservice when the webservice hit a programming error in my attempt to return an error message. But my SOAPError did return the last error, it was just confusing. When I corrected the error processing I was able to return a clean error message as a result. We have had some timeouts as well with no clear error message. I hope someone has more insight. I increased the "Maximum duration of a request" on our WebDev server and we have not had any more timeouts. It may be that WD does not understand all error conditions in third party webservices. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 15,octubre 2011 - 11:19 |
Hi Jeff, no it is not my own webservice. Right now I'm just counting the time it takes. Sort of detecting a timeout myself. That's enough for now. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,mayo 2016 - 22:00 |
| in SoapRun function, try to use HTTPtimeou() to get the timeout time or use HTTPtimout(time in miliseconds) to set a new timeout. |
| |
| |
| | | |
|
| | | | |
| | |
|