I’m interested in using a currency conversion web service in my rails app.
I’m struggling trying to figure out how to use a webservice and due to
the small amount of documention I’ve found I stressing that I won’t
get it working. I have tried the following but I get “undefined method
`web_client_api’ for #StoreController:0x26a37f8”. I looked in my
environment config files and the actionwebservice package is not being
skipped as far as I can tell. (In fact I’ve used it to create a web
service server so it must be working.)
I have no real idea how to set these few lines of code up and would
really appreciate some pointers.
Feeling a little let down by page 438 in the Agile Rails book,
in my controller
#con = ActionWebService::Client::Soap.new(WhatGoesHere?,
#web_client_api :con, :soap,
web_client_api :con, :soap,
@rate = con