Forum: Ruby wsdl

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2d8b8b3782611eae032f194a900db4ef?d=identicon&s=25 Vetrivel Vaithilingam (vetrivel)
on 2009-03-17 09:41
wsdl in ruby. Example program using wsdl in ruby.
C6ce4a76ace56d6489198465130860e4?d=identicon&s=25 S2 (Guest)
on 2009-03-17 11:35
(Received via mailing list)
Vetrivel Vetrivel wrote:
> wsdl in ruby. Example program using wsdl in ruby.

require 'rubygems'
gem 'soap4r'
require 'http-access2'
require 'soap/wsdlDriver'

wsdl = 'http://testserver2:8280/services/echoProxy2?wsdl'
driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
driver.wiredump_dev = $defout

ret = driver.echoString('ciao')
p ret
2d8b8b3782611eae032f194a900db4ef?d=identicon&s=25 Vetrivel Vaithilingam (vetrivel)
on 2009-03-18 12:08
S2 wrote:
> Vetrivel Vetrivel wrote:
>> wsdl in ruby. Example program using wsdl in ruby.
>
> require 'rubygems'
> gem 'soap4r'
> require 'http-access2'
> require 'soap/wsdlDriver'
>
> wsdl = 'http://testserver2:8280/services/echoProxy2?wsdl'
> driver = SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
> driver.wiredump_dev = $defout
>
> ret = driver.echoString('ciao')
> p ret

Thanks for Reply.
I have tried this,but I got error , the error is

  undefined method `echoString' for #<SOAP::RPC::Driver:0xa7990a14>
(NoMethodError)
This topic is locked and can not be replied to.