Displaying 2 results from an estimated 2 matches for "remoteinfocontrol".
2006 May 02
3
web services on the client side
...ver seems to work fine. but when i use the example at the end of the
chapter to set up a client, i get the following error when i open the
page:
Missing API definition file in apis/user_api.rb
Which is the filename for my user api on the server application. I have
this in my controller:
class RemoteInfoController < ApplicationController
web_client_api :user,
:soap,
"http://my_ip_address/server/backend/api"
def list
@users = user.find_all_users.map do |id|
user.find_user_by_id(id)
end
end
def index
end
end
Am I supposed to have a user_api.rb file on the clie...
2006 May 02
0
RE: Rails Digest, Vol 20, Issue 39
...er to set up a client, i get the following error when i open the
> > page:
> >
> > Missing API definition file in apis/user_api.rb
> >
> > Which is the filename for my user api on the server application. I have
> > this in my controller:
> >
> > class RemoteInfoController < ApplicationController
> > web_client_api :user,
> > :soap,
> > "http://my_ip_address/server/backend/api"
> >
>
> --
> Posted via http://www.ruby-forum.com/.
>
>
> ------------------------------
>
> Message: 4
> Date:...