Clayton Cottingham
2006-Jun-07 08:50 UTC
[Rails] Confirm User engine clobbers active web service actions
Hello Ive been learning / implementing AWS Thanks to the wonderful pdf by orielly I was able to spot a problem with the User Engine I would like to see if anyone else has had problems with this?? Basically if you make a web service at /products You should be able to reach /product/wsdl and get a well formatted xml doc If you have a login engine on it seems fine but as soon as you install user engine it Errors with no action repsoneded to wsdl If you look insdie the role permissions there is no actions for api or wsdl -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060606/0c64e4b5/attachment-0001.html
Keith Lancaster
2006-Jun-07 08:52 UTC
[Rails] Re: Confirm User engine clobbers active web service actions
Clayton Cottingham wrote:> Hello> You should be able to reach /product/wsdl and get a well formatted xml > doc > > > > > > If you have a login engine on it seems fine but as soon as you install > user > engine it > > Errors with no action repsoneded to wsdl >You are correct. I reported this quite a while back, but apparently it has not been fixed. In user engine is a command that hides the wsdl command - literally hides it. The following line is in authorized_system.rb in the user engine. hide_action :action_method_names, :wsdl, :deepcopy Remove :wsdl and things should work again. Keith -- Posted via http://www.ruby-forum.com/.
Paul Robinson
2006-Jun-07 14:36 UTC
[Rails] Re: [Engine-users] Confirm User engine clobbers active web service actions
On 7 Jun 2006, at 00:59, Clayton Cottingham wrote:> If you look insdie the role permissions there is no actions for api > or wsdlAdd them to the table then. Or (I''ve not done web services in Rails yet) if the process involves creating a method within the controller, rake sync_permissions might pick it up. Otherwise, creating them is as simple as adding an entry to the permissions table. -- Paul Robinson