You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Eric Grace <er...@MessageMedia.com> on 2001/06/12 23:49:59 UTC
Parameter Encoding Problem
How do I embed and xml string of the following nature into a Parameter
without the '<' and '>' characters being encoded into < and >
characters???
I am attempting with the following without luck....
String xmldata = "<obj> <description><![CDATA[ Obj Description]]>
</description></obj> ";
String respEncStyle = Constants.NS_URI_SOAP_ENC;
Parameter parameter = new Parameter("xmldata",String.class, xmldata,
respEncStyle);
The result is....
<obj><description><![CDATA[Obj
Description]]></description></obj>
-eric
"The box said to install NT 4.0 or better, so I installed Solaris"
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org