A
Axel Fuchs
Hi, I am learning how to use WSDL but none of the Ruby Cookbook book
samples work any longer. So I created this example:
#!/usr/bin/ruby
require 'soap/wsdlDriver'
wsdl='http://www.abundanttech.com/webservices/deadoralive/deadoralive.wsdl'
driver=SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
XSD::Charset.encoding = 'UTF8'
result = driver.getTodaysBirthdays(nil)
The question is: How do I access the elements of result in this example
and print them out? When I use MAC wsdl client, it look like result is a
XML structure.
Thanks!
samples work any longer. So I created this example:
#!/usr/bin/ruby
require 'soap/wsdlDriver'
wsdl='http://www.abundanttech.com/webservices/deadoralive/deadoralive.wsdl'
driver=SOAP::WSDLDriverFactory.new(wsdl).create_rpc_driver
XSD::Charset.encoding = 'UTF8'
result = driver.getTodaysBirthdays(nil)
The question is: How do I access the elements of result in this example
and print them out? When I use MAC wsdl client, it look like result is a
XML structure.
Thanks!