Writing a SOAP Client : SOAP « Network « Ruby






Writing a SOAP Client


require 'soap/rpc/driver'

driver = SOAP::RPC::Driver.new(
            'http://webservices.codingtheweb.com/bin/qotd',
            'urn:xmethods-qotd')
driver.add_method('getQuote')

puts driver.getQuote

 








Related examples in the same category

1.Writing a SOAP Server
2.Using a WSDL File to Make SOAP Calls Easier