moudden.mehdi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jun-18 00:03 UTC
Missing API definition !!
Hello, I have API for the selection of the advertisements in my BDD, I it test http://localhost:3013/annonce/invoke Ca walks well but the problem that at the time of the consomation of the Web local service one with an application customer it my gives the probléme according to: API Missing definition slips by in ap my API c : class AnnonceApi < ActionWebService::API::Base api_method :find_all_annonces, :expects => [:int], :returns => [Annonce] end my Methode class AnnonceController < ApplicationController wsdl_service_name ''Annonce'' web_service_api AnnonceApi web_service_scaffold :invoke def find_all_annonces(id) Annonce.find(id) end end my Methode client in auther application in local class ClientController < ApplicationController web_client_api :annonce, :soap, "http://localhost:3013/annonce/api" def list(id) annonce.find_all_annonces(id) end end Merci --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---