G
Gabriel Policiuc
Hi,
I use ruby to get a report by calling a soap based web service method.I
am getting a ruby object of this type SOAP::Mapping::Object.
I inspected the object; I tried getting the info out of the object
without luck.
Considering the soapResponse is the object returned by the web method I
have tried things like soapResponse["//some_elem"] .. stuff like that.
But I get nils (except for the root).
I can convert the response to an array .. using __xmlele I think and
then parse it. This should be a solution.
But what should I do to correctly parse the object?
How do I access the received envelope? This should be easy ..
thanks
I use ruby to get a report by calling a soap based web service method.I
am getting a ruby object of this type SOAP::Mapping::Object.
I inspected the object; I tried getting the info out of the object
without luck.
Considering the soapResponse is the object returned by the web method I
have tried things like soapResponse["//some_elem"] .. stuff like that.
But I get nils (except for the root).
I can convert the response to an array .. using __xmlele I think and
then parse it. This should be a solution.
But what should I do to correctly parse the object?
How do I access the received envelope? This should be easy ..
thanks