Something like the PengoWorks JS Client/Server API is exactly what you're
looking for - it'll allow you to do anything you want on the call back to
the server (including invoking a component then formatting the data) and
then return those results via JS.

http://www.pengoworks.com/workshop/js/gateway/

It's a pretty slick little utility.

Roland

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Davis, Eric
Sent: Tuesday, June 15, 2004 9:03 AM
To: [EMAIL PROTECTED]
Subject: [CFCDev] Consuming CFC as webservice from JavaScript?

I've got a few 'data master' CFCs, which are accessible already as
webservices, and exist as single-point-entry gateways to master
databases here, such as Employees, Equipment, and Facilities. Each of
them returns an abstracted version of the vendor-specific record format,
which can be re-related easily should a db upgrade happen-- sort of a
data access layer to the applications I'm working on.

Now I have need to consume the webservice through JavaScript: there's a
facility lookup subform in a form with a different data goal. I don't
want to submit the page for the facility lookup, especially considering
that this webservice exists. I've seen it done, and I've downloaded
Microsoft's webservice.htc "DHTML behavior" but I'm kind of stuck as to
how to support it outside IE.


Any pointers?

Thanks,
ecd.


-- 
Eric C. Davis
Programmer/Analyst II
Georgia Department of Transportation
Office of I.T. Applications
Web Applications Group
404.463.2860.199
[EMAIL PROTECTED]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]


----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to