search for: backend_controller

Displaying 5 results from an estimated 5 matches for "backend_controller".

2006 Apr 17
7
Should Perl talk to Rails via LWP
Hi folks, I need your opinions on a basic design issue. I''ve seen the light of RoR and have replaced my Perl (DBI/CGI) based web server <-> RDBMS communication with RoR, but I still have a whole host of users (other servers/OS''s etc) out there wanting to talk to my RDBMS and they only talk Perl. Also they don''t want to talk Perl/DBI directly (they are not allowed
2006 Nov 04
1
layere dispatching - please help!
Hi Folks, I''m having trouble with setting up web services with layered dispatching. I''ve defined my controller (backend_controller.rb) as: class BackendController < ApplicationController web_service_dispatching_mode :layered web_service_scaffold :invoke web_service (:car) {CarService.new} end and my service (node_service.rb) as: class CarApi < ActionWebService::API::Base a...
2006 Aug 19
4
acts_as_ferret causing strange behaviour
I posted this issue as a bug on the acts_as_ferret trac (http://projects.jkraemer.net/acts_as_ferret/ticket/36) but need to get this working asap. so hopefully someone can point me in the right direction. To try and sum this up in better terms than I used in the original bug report, the problem I am experiencing seems to be related to the fact I am using inheritance in my controllers. I
2006 Jan 31
0
webservice problem (cant make client)
...in, string pass) when i do /invoke i can test it, this all works backend_api.rb class BackendApi < ActionWebService::API::Base api_method :authenticate, :expects => [{:twa =>:string},{:login =>:string},{:pass =>:string}], :returns => [{:responsecode =>:string}] end backend_controller.rb class BackendController < ApplicationController wsdl_service_name ''Backend'' web_service_api BackendApi web_service_scaffold :invoke # Constants TWA_INVALID = "TWA_INVALID" USER_NOT_FOUND = "USER_NOT_FOUND" USER_FOUND = "USER_FOUND...
2005 May 31
2
Rails Web Services
...gem) <code> # app/api/product_api.rb class ProductApi < ActionWebService::API::Base api_method :find_all_products, :returns => [[:int]] api_method :find_product_by_id, :expects => [:int], :returns => [Product] end # app/controllers/backend_controller.rb class BackendController < ApplicationController wsdl_service_name ''Backend'' web_service_api ProductApi web_service_scaffold :invoke def find_all_products Product.find(:all).map {|product| product.id} end def find_product_by_id(id) Product.find(i...