Jim...

Simon Free gave an excellent presentation to the Nashville CFUG on "writing
public facing APIs". I'd point you that direction to get started:

http://www.ncfug.com/go/meeting/meetingID/2FF6B098-A6C8-07F7-403E6199D0D8FC1
D/


Andy matthews 

-----Original Message-----
From: Jim Cumming [mailto:[email protected]] 
Sent: Wednesday, June 03, 2009 1:33 PM
To: cf-talk
Subject: Strategy for exposing webservices


Hi All, long time lurker, first time poster here.

I was hoping someone could offer me some advice. A company I working for
would like to start exposing some of their internal systems to the outside
world using webservices. Obviously we want to do this in a secure and
controlled manner as possible. I was hoping to pass all requests through a
single function in a cfc. This cfc would examine the request, check
passwords, ip adddresses and validate data before calling the actual
required function from another cfc and passing data back to the client. I
was thinking of doing this by passing an xml packet as the only argument to
the main cfc and then parsing this file to determine the desired method,
username, password and other arguments. 

I'd like to know if this sounds like I'm heading in the right direction, or
am I talking total nonsense? Is there an already written framework for
creating webservices in a more controlled manner than just setting the odd
cfc to 'remote'? I would be eternally grateful if anyone could assist.

Jim 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323128
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