Ruby 使用 WSDL 调用 Web服务 2015/06/25 35364 清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>> require 'soap/wsdlDriver' wsdl = 'http://yourserver.net/quotes.wsdl' driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver puts "Stock price: %.2f" % driver.getQuote('TR')