Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML times out
Message
 
À
18/04/2012 12:20:34
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Divers
Thread ID:
01541972
Message ID:
01542068
Vues:
32
>>>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.

Excellent - no XML failures - thanks a lot for your patience
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform