NewB question on ruby data structure

P

psethi

Hi,

I am trying . I am using a web service and it returns a data structure.
Here is the call to the web service:

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

#<SOAP::Mapping::Object:0x174c2b4
{http://tempuri.org/}HelloWorldResult="Hello World">
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
 
P

Premshree

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

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

There is no method HellOWorldResult for a SOAP::Mapping::Object. What
exactly are you trying to do?

Premshree
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,206
Messages
2,571,069
Members
47,678
Latest member
Aniruddha Das

Latest Threads

Top