I've been tasked with building a very simple web service into our existing application. Basically, we have another department here that needs to know if a user is set up in our application before they set that user up in their application, so they need a way to hand us a username and we verify if that user exists.
In my particular situation, complete SES urls (site.com/user/validate/123) are not an option, although I can do this: site.com/index.cfm/user/validate/123 . I was thinking of just having index.cfm parse the query string and use that to determine which CFC and method to call, then return the XML. (i.e.: call the Validate method in the User CFC and pass in the ID 123) Also, at this point, using a framework is not an option. I already know that once I have this first one up and running, there will be two more they want built that will have almost the exact same functionality (see if a user is valid, see if a customer is valid, see if an account number is valid). In all of these situations, these calls will be GET only, so they give us an ID and we tell them true/false if the record exists. So, my urls for these would be something like: site.com/index.cfm/user/validate/123 site.com/index.cfm/customer/validate/456 site.com/index.cfm/account/validate/789 What would be the best way to go about this? Am I on the right track or heading down the wrong path? I've see a lot of info out there about using web services and APIs, but not a whole lot on actually creating them in CF. I've read a couple of posts on Ben Nadel's blog, and gone through some of Simon Free's presentations, but that's about it. As I'm just getting ready to start building this thing, I want to make sure I have it laid out correctly. I'd appreciate any advice before I start coding. -- Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342642 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

