require 'soap/wsdlDriver' wsdl = 'http://yourserver.net/quotes.wsdl' driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver puts "Stock price: %.2f" % driver.getQuote('TR')