Don't worry I've worked it out.

FYI: you have to use the <CFINVOKE> tag with the "timeout" attribute (do not 
initialise with <CFOBJECT>).
Cheers
Matthew

> Howdy,
> 
> Our CF server keeps crashing whenever a web service we are consuming 
> falls over (infrequent and random). I have no control over the web 
> service, so I am trying to find a way that I can timeout a WS call 
> from CF. I'm using the CreateObject("webservice") function (same as 
> CFOBJECT) to invoke the web service, however I've just found out the 
> CFOBJECT doesn't adhere to the timeout settings in CFADMIN or the 
> <cfsetting> tag (http://kb.adobe.com/selfservice/viewContent.
> do?externalId=tn_19438&sliceId=2).
> 
> How can I timeout the call?
> 
> Someone must have ran into this problem!
> 
> Cheers
Matthew

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
CF 8 – Scorpio beta now available, 
easily build great internet experiences – Try it now on Labs
http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283962
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to