Hi,

I am trying to parse variables from a simple data structure/class.. I am 
using a web service and it returns a data structure. Here is the code:

@result = ws.HelloWorld(nil)
puts @result.inspect # line 15
puts @result.HelloWorldResult  # line 16

#<SOAP::Mapping::Object:0x174c2b4
{http://tempuri.org/}HelloWorldResult="Hello World"> # line 15
rms_wsdl.rb:16: undefined method `HelloWorldResult' for
#<SOAP::Mapping::Object:0x2e98448> (NoMethodError)

I am sure, I am missing something very basic. Any help would be greatly
appreciated.

Thanks in advance.

Prad

-- 
Posted via http://www.ruby-forum.com/.