PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20/WM20] Call of a WebService procedure "hangs" the app
[WD20/WM20] Call of a WebService procedure "hangs" the app
Iniciado por guest, 06,abr. 2016 11:35 - 3 respuestas
Publicado el 06,abril 2016 - 11:35
Hi,
I'm going to develop 2 apps, 1 for PC and 1 for Windows Mobile.
In both the apps I use a lot of WebService procedures, but...

If my WebService is down the app hangs for about 1 minute.
No way to escape from this locked situation (even with Threads).

Ps. Parallel tasks are not a good way because they are not available for Windows Mobile

Thanks,
Dann
Publicado el 06,abril 2016 - 13:48
Hi

did you change the timeout values?

I'm using REST type webservices for my replication system, and a simple httptimeout instruction solves the problem you are describing. I set it to 10s, and voila

Best regards
Publicado el 07,abril 2016 - 01:43
Sure but if you are developing service and consumer in WD the way is only soap..

By the way the issue seems to be about app freeze not only in timing.
Even 10s are high if the app freezes at all during that time.
I often see circle Android hourglass freezed with WD soap ws.
Publicado el 07,abril 2016 - 15:01
Hi

as a REST type webservice is a simple webdev awp page, no it's not. One page in webdev, everything else on client side via httprequest.

Best regards