Hello,
Has anyone had to write a web service in Rails? If so, I'd love to get some information from you as to where to begin.
I have recently started introducing Rails into the enterprise at my office. It has been met with some hesitation by the older developers (all using .NET). Anyway, a requirement came up to write some web services that allow another web company to consume certain information. Basically i need to set up a registration service for members and then a log in service where we can authenticate users... we'll be storing the credentials on our side.
Basically it breaks down like this:
Registration other company will pass last 4 of SSN, Zip code, Email Address, Password Our Response Already registered (boolean): true if already registered, false if not if registered the registered email address (string) the registered password (string) other company can then use these to send them a forgot password email
Login other company will pass email (string) password (string) Our response allowed (boolean) other information...
We're storing all of our data on SQL Server 2008 but that's not a big issue. I wanted to be able to show Rails' capability of quickly and easily handling this standard enterprise requirement. I'd love to hear some thoughts from anyone who has done this type of thing before. I am really trying to avoid using Windows Communication Foundation for this type of thing. I was thinking just a very SOAP type of thing would be the best approach.
Thanks! Steve