Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML times out
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Miscellaneous
Thread ID:
01541972
Message ID:
01542007
Views:
47
This message has been marked as the solution to the initial question of the thread.
>>You might be missing the FOR loop around the TRY... CATCH.
>>
>>If this times out, it will simply TRY again (up to 5 times, you don't want to be stuck in an infinite loop if something's wrong with the server).
>
>getting errors with this one - I think Viv has what I am after but thanks for all your help


What kind of errors?

It's the most robust solution, and doesn't need you to change your IE version or whatever, because even with a different HTTP client, it probably isn't the client doing the timeout, and you'll still have the exact same issue you did.
FOR x = 1 to 5
   TRY 
       objHTTP.Send()
       EXIT
   CATCH 
   ENDTRY
ENDFOR
Not sure if that's perfect VFP syntax, but close.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform