I have written a Rails web service, which is working exactly as
expected.
The service has a method which returns an object of type
ActionWebService::Struct. In my SOAP client, I create a SOAP rpc driver,
and
execute the method, like this:
book = driver.ShowTitle(params[:isbn])
I then do a:
logger.info book.inspect
and find this in the log:
<SOAP::Mapping::Object:0x…ca7b389da {}author_fname=“David”
{}author_lname=“Johnson” {}title=“The Story of SOAP”>
I cannot figure out how to access the attributes of this
SOAP::Mapping::Object. The empty curly braces are throwing me for a
loop.
Anyone see this before?