Class method availble via soap server?


#1

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.