Displaying 1 result from an estimated 1 matches for "twa_invalid".
Did you mean:
gpa_invalid
2006 Jan 31
0
webservice problem (cant make client)
...ing},{: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"
def authenticate(twa, login, pass)
user = User.authenticate(login, pass)
if user == nil then
return USER_NOT_FOUND
else
return USER_FOUND
end
end
end
Auth...