Displaying 1 result from an estimated 1 matches for "projectservice".
2006 Jan 12
2
Web services and login?
...true
end
def GetProjects
if @session[:loggedIn]
return Project.find(:all)
else
raise NotLoggedIn, "You are not logged in!"
end
end
def CreateProject(name)
Project.create(:name => name)
return name << "Wee"
end
end
Nothing fancy, but doing
ProjectService.Login();
ProjectService.GetProjects();
in c#, gets a NotLoggedIn exception. Any ideas?
--
Posted via http://www.ruby-forum.com/.