Consuming WSDL-based web service with a Ruby client

Perl's SOAP::Lite and SOAP::WSDL have been a nightmare to get them working for WSDL-based web services, but Ruby's WSDLDriver seems to do the job fine: [coolcode language="ruby" linenum="off"] #!/usr/bin/env ruby require 'soap/wsdlDriver' wsdlfile = "http://your-server.com/service?wsdl" driver = SOAP::WSDLDriverFactory.new(wsdlfile).create_rpc_driver param = {"a_param" => "a_value"} result = driver.a_method(param) puts result.the_name_of_the_return_variable [/coolcode]

What did I say then?

Perpetual+: 01 Aug 2009 (2 years 27 weeks ago):

The HSCEI started with a bang, rising 3.93% on 20 Jul 09. For the next 8 days, it rose more than...

Theme provided by Danang Probo Sayekti.