>> how you validate that a webservice is up an running before you execute
it.
or alternativly, how about if it's bogged down and running really slow? and
it's better to give up and get the user to come back?
As I relearned from my online bank this morning, it can be up one minute and
down the next. Any checking has to be just before the call or try/catch the
call.
would this work? from the calling page:
try
call webservice
catch
<what?>
display "that service is unavailable at this time"
end try
I've also been thinking about this problem
cheers
barry.b
-----Original Message-----
From: Jeremy [mailto:[EMAIL PROTECTED]
Sent: Monday, 13 October 2003 9:49 AM
To: CFAussie Mailing List
Subject: [cfaussie] Checking a webservice
Howdy,
Got a quick question about CFC and webservicing. I have gone through the
documentation for webservices and CFC and I would like to know how you
validate that a webservice is up an running before you execute it.
<cfhttp> perhaps?
i.e.
<cfif webservice = 1>
<cfinvoke webservice>
<cfelse>
the webservice is currently offline
</cfif>
Thanks in advanced!!
jeremy
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/