# Getting a list of available methods from XMLRPC::Server

**URL:** <https://www.ruby-forum.com/t/getting-a-list-of-available-methods-from-xmlrpc-server/61265>\
**Category:** Ruby\
**Created:** [May 22, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/getting-a-list-of-available-methods-from-xmlrpc-server/61265 "2006-05-22T16:13:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [May 22, 2006, 4:13pm UTC](https://www.ruby-forum.com/t/getting-a-list-of-available-methods-from-xmlrpc-server/61265/1 "2006-05-22T16:13:19Z")

</div>

Hi all,

Does the XMLRPC::Server class from Ruby’s xmlrpc lib automatically  
provide a method to list all available methods being served? 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.

---

<div class="post-metadata">

**Author:** ![BergerS\_Daniel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bc8723/32.png) [@BergerS\_Daniel](https://www.ruby-forum.com/u/BergerS_Daniel)\
**Post date:** [May 22, 2006, 4:25pm UTC](https://www.ruby-forum.com/t/getting-a-list-of-available-methods-from-xmlrpc-server/61265/2 "2006-05-22T16:25:49Z")

</div>

It does include it, but the xmlrpc documentation makes it difficult to  
find. It’s hidden in the `BasicServer` class. The method is called  
`addIntrospection`:

[http://www.ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/classes/XMLRPC/BasicServer.html](http://www.ruby-doc.org/stdlib/libdoc/xmlrpc/rdoc/classes/XMLRPC/BasicServer.html)

It adds:

- `system.listMethods`
- `system.methodSignature`
- `system.methodHelp`

which are the defacto xmlrpc standard for introspection.

-tim
