from soap4r-ml:
Also, the value returned is an SOAP::Mapping::Object, which appears to
be mising some information. This is the actual soap response:
<env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'>
<env:Body>
<gno:getHealthSummaryResponse
xmlns:gno='http://some.url'>
<gno:htmlContent>
<![CDATA[<span>some html</span>]]>
</gno:htmlContent>
</gno:getHealthSummaryResponse>
</env:Body>
</env:Envelope>
And the "p results;" line outputs:
#<SOAP::Mapping::Object:0x..fdbf31b4a {http://gnosis.ibm.com/
report}htmlContent=#<SOAP::Mapping::Object:0x..fdbf319ec>>
So i can get the htmlContent using:
htmlContent = results[XSD::QName.new('http://
some.url','htmlContent')];
But the CDATA information is not there, or i just cannot figure out
how to get at it. I have tried using the wsdl to generate code, and
inserting my hack to get the namespace prefixed attribute, but the
response is still missing the CDATA:
#<GetHealthSummaryResponse:0xb7ea7c18 @htmlContent=nil>
Any help would be greatly appreciated. I have been digging around in
the source for some time and am unable to track the flow of a request
using this API.