Forum: Ruby on Rails using web service for authenitcation

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
87e41d0d468ad56a3b07d9a6482fd6d5?d=identicon&s=25 hemant kumar (Guest)
on 2006-04-10 17:47
(Received via mailing list)
I am writting a web service for authenitcation of users and was using
web_service_scaffold :invoke for testing it out...and was able to
consume it
using .NET. But my question is, whats the simplest method using which i
use the same web service in the current Web App. I mean, not from an
application or something but from the current web apps itself.

I found one method in AWDR, and was:

class MyController < ApplicationController
  web_client_api :product,
  def list
    @products = do |id|

but this is again like invoking the service from outside..
3ccecc71b9fb0a3d7f00a0bef6f0a63a?d=identicon&s=25 Kent Sibilev (Guest)
on 2006-04-10 19:26
(Received via mailing list)
Why not to move all your web service methods to derivative of
ActionWebService::Base and just instantiate an object of this class.

On 4/10/06, hemant kumar <> wrote:
>                  :soap,
> Rails mailing list

87e41d0d468ad56a3b07d9a6482fd6d5?d=identicon&s=25 hemant kumar (Guest)
on 2006-04-11 00:02
(Received via mailing list)
Thanx i would try that out
This topic is locked and can not be replied to.