That much I do, of course.  What I'm looking for is something a bit more
intelligent:

1)  Specify a custom timeout value per webservice function call, and
catch all exceptions, including when it times out. 
2)  come up with thresholds on how many timeouts or errors should
disable that section of the consuming website.  
3) reset the count and timeout  after a given amount of time to allow
the site to retry...

Anyone else have sections of their site which rely on webservices?

dov

-----Original Message-----
From: Munson, Jacob [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 06, 2006 1:03 PM
To: CF-Talk
Subject: RE: Cf webservice timeout. Etc.

How about cftry/cfcatch?

<cftry>
<cfobject 
   webservice= "http://www.../wsdl";
   name = "myobjectname">
<cfcatch type="Application">
        failed
</cfcatch>
</cftry> 

> -----Original Message-----
> From: Katz, Dov B (IT) [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 06, 2006 9:53 AM
> To: CF-Talk
> Subject: Cf webservice timeout. Etc.
> 
> I have an external CF site which uses webservices on my server.
>  
> I'm trying to help them come up with some sort of timeout plan to 
> disable a section of their site if for any reason the webservice calls

> timeout, to prevent their server from getting tied up on pending 
> requests.
>  
> Currently they use CFobject to create an object on my webservice and 
> call methods on this.  It doesnt' seem like there are any timeouts 
> configurable for this way of consuming my service.
>  
> What do most people do here? I was thinking of having them keep a 
> timeout/error count threshold and last-timeout value and if the error 
> count exceeds some threshold, they disable the feature for
> 1-2 hours and
> try again, etc...
>  
> any advice is welcome...


[INFO] -- Access Manager:
This transmission may contain information that is privileged,
confidential and/or exempt from disclosure under applicable law.  If you
are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution, or use of the information contained
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you
received this transmission in error, please immediately contact the
sender and destroy the material in its entirety, whether in electronic
or hard copy format.  Thank you.   A2





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:234289
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to