I have seen this posted several times on this forum without a definitive
response.  I'd imagine the incantation is pretty easy, but I've been
unable to find it.

For what it's worth, this is NOT in a rails environment.

I've got the following example server code working, but I also need to
be able to generate a WSDL for this web service.

"""
require 'soap/rpc/standaloneServer'

class TestWebServices < SOAP::RPC::StandaloneServer

        def initialize(* args)
                super
                add_method(self, 'sayhelloto', 'username')
        end

        def sayhelloto(username)
                t = Time.now
                puts("#{username} logged on #{t}")
                "Hello, #{username} on #{t}."
        end

end

server =
TestWebServices.new('TestWebServiceServer','urn:TestWebServices','localhost',8005)
trap('INT') {server.shutdown}
server.start
"""

When I go to http://localhost:8005/sayhelloto/wsdl/ I get a "Method Not
Allowed" message.

Any help with this would be GREATLY appreciated!

Thanks
-- 
Posted via http://www.ruby-forum.com/.