Time Out when running a request method in web service

diliph

New Member
Is there a way of setting / implementing some sort of time out when running a request after successfully making a connection to a web service? What I would like to achieve is:

Make a connection to a third party web service.
Run a method on the web service.

If the run method doesn’t come back after a certain time, then report an error.

Thanks
 
there is also method CANCEL-REQUESTS-AFTER, introduced in 10.2b

hSRV:CANCEL-REQUESTS-AFTER(TimeLimit).

RUN foo.p ON SERVER hSRV ASYNCHRONOUS
EVENT-PROCEDURE procEvt .

WAIT-FOR … .

Procedure procEvt.
hSRV:CANCEL-REQUESTS-AFTER(0).
End.
 
Back
Top