# Class method availble via soap server?

**URL:** <https://www.ruby-forum.com/t/class-method-availble-via-soap-server/54150>\
**Category:** Ruby\
**Created:** [February 24, 2006, 12:57pm UTC](https://www.ruby-forum.com/t/class-method-availble-via-soap-server/54150 "2006-02-24T12:57:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fishman2001](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/e9bcb4/32.png) [@fishman2001](https://www.ruby-forum.com/u/fishman2001)\
**Post date:** [February 24, 2006, 12:57pm UTC](https://www.ruby-forum.com/t/class-method-availble-via-soap-server/54150/1 "2006-02-24T12:57:38Z")

</div>

Hi,  
does anyone know how to make a Class method available via a soap  
server?

I’d like to do something like;  
class Server2 \< SOAP::RPC::StandaloneServer  
def on\_init  
addmethod(Owner, ‘find’)  
end  
end

where ‘Owner’ is the Class not object.  
But this doesn’t seem to work for some reason.

Cheers.  
Dan.
