Berger, Daniel
2006-May-19 17:26 UTC
[Rails] Getting a list of available methods from ActionWebService
Hi all, I dug around a bit, may have missed it. Is there a method automatically generated by ActionWebService (or XMLRPC::Server) that a client can use to list all available service methods (perhaps along with docs)? Or do I have to roll that myself? Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
Berger, Daniel
2006-May-22 15:03 UTC
[Rails] Getting a list of available methods from ActionWebService
> -----Original Message----- > From: rails-bounces@lists.rubyonrails.org > [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of > Berger, Daniel > Sent: Friday, May 19, 2006 11:27 AM > To: rails@lists.rubyonrails.org > Subject: [Rails] Getting a list of available methods from > ActionWebService > > > Hi all, > > I dug around a bit, may have missed it. > > Is there a method automatically generated by ActionWebService (or > XMLRPC::Server) that a client can use to list all available > service methods (perhaps along with docs)? Or do I have to > roll that myself?Just a quick follow-up. Calling ''system.ListMethods'' does *not* work: ruby/lib/ruby/1.8/xmlrpc/client.rb:414:in `call'': no such web service ''system'' (XMLRPC::FaultException) It doesn''t appear that ActionWebService is using XMLRPC::Server as I thought it did. Any chance of implementing some free inspection/list/help functions under ''system'' for ActionWebService? Thanks, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.