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
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