Has anyone use STOP-AFTER on a WebService CONNECT?

Posted by jquerijero on 02-Oct-2012 09:43

I saw some references that STOP-AFTER doesn't work for timing out socket connection. Is this true also for the webservice CONNECT statement?

All Replies

Posted by jmls on 05-Oct-2012 14:36

I beleive so.

Posted by jquerijero on 05-Oct-2012 15:10

This is my finding;

If the STOP-AFTER is used inside a .p wrapping the CONNECT call, the application either hangs or just shutdown.

EX.

Inside procedure.p

DO STOP-AFTER

  CONNECT

END.

If I wrap the .p itself that contains the CONNECT call with STOP-AFTER, it seems to work fine.

EX.

DO STOP-AFTER

   RUN procedure.p. /* contains CONNECT*/

END.

What do you think is happening? Can I correctly assume that the second sample is acceptable/reliable, or is it just a fluke that it works as expected in my second sample program?

Posted by jmls on 05-Oct-2012 15:24

 * jmls goes to check...

On 5 Oct 2012 21:10, "Joseph Querijero"

This thread is closed