tags:

views:

119

answers:

0

I'm using ZSI to talk to a SOAP web service. One of the methods expects a literal XML string wrapped in a CDATA tag. How can I make it so that ZSI will NOT escape the string?

For example, I want to pass the following as a parameter:

<query>
  <name>Elmer Fudd</name>
  <age unit="years">33</age>
  <job>Wabbit Hunter</job>
</query>

I do NOT want it to be escaped.