Hi Matthew,

your explanation of the CFLOCK makes sense.

Thanks for letting us know!

David

Matthew wrote:
> Haikal I think you figured it out! I've messed around with the
> <CFINVOKE> tag (without using the <CFOBJECT> to initialise!) and think
> it will work, however I'll have to wait until the next outage from the
> web service source to test properly.
>
> FYI: the <cflock> suggestion won't work because the timeout attribute
> doesn't control how long to hold the lock for it actually controls how
> long each "queued" request should wait to be the next to take the lock
> i.e. "timeout after X seconds of waiting for the request in front of
> me to finish with the lock" - hope that makes sense.
>
> Thanks everyone for your help!
> Cheers
>
> On Jul 18, 1:55 pm, Haikal Saadh <[EMAIL PROTECTED]> wrote:
> > Here's another thought:
> >
> > If it actually is the cfobject call that's timing out, maybe you could
> > save the WSDL file to your server, and have it hit that?
> > That way you won't have to worry about it timing out, and you can
> > happily use <cfinvoke timeout= />
> >
> > Haikal Saadh wrote:
> > > So it's the actual cfobject tag that's timing out? Not the subsequent
> > > cfinvoke? cfinvoke seems to have a timeout parameter.
> >
> > > (Excuse my ignorance, never actually used cfobject for a web service call)
> >
> > > Matthew wrote:
> >
> > >> 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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to