So I installed the Arachno Ruby IDE and was able to track down a bit
of what’s happening. The string seems to get encoded somewhere in the
ActionWebServices::Protocol::SOAPMarshaler process, although
the Arachno Ruby IDE interface doesn’t allow me to inspect the full
value of variables, only the first little bit that shows up in the
side panel, so I inspect the full string and to see exactly where
it’s happening. Definitely happening somewhere within the soap
libraries. I guess since it gets a string, it sanitizes it.
I tried passing a REXML object instead of a string but same result.
Maybe I should create some sort of SOAP object out of the string? But
what kind? I have only a basic concept of what SOAP is and the SOAP
libraries are fairly over my head, so any suggestions would be
But basically I believe that the :string type will not work for
passing XML or HTML via the SOAP protocol with ActionWebServices, as
strings always get sanitized by the SOAP libraries.