axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Thomas Manes" <atma...@gmail.com>
Subject Re: Has anyone used CDATA for axis 2 successfully?
Date Thu, 05 Oct 2006 12:03:36 GMT
Sending CDATA can be a little tricky. There are certain types of data
that you just can't send that way. Using an attachment is probably
better.

Anne

On 10/3/06, Punnoose, Roshan <punnooser@bah-systems.com> wrote:
>
>
>
>
> Umm… not sure if you wanted something like this:
>
>
>
> OMTextImpl textData = (OMTextImpl) fac.createOMText(handler, true);
>
>                         textData.setType(XMLStreamConstants.CDATA);
>
>                         resultSet.addChild(textData);
>
>                         resource.addChild(resultSet);
>
>
>
> Seems to work pretty well…
>
>
>
>
> Roshan Punnoose
>
> Phone: 301-497-6039
>
>  ________________________________
>
>
> From: Dave Miller [mailto:dave.s.miller@gmail.com]
>  Sent: Tuesday, October 03, 2006 1:43 PM
>  To: axis-user@ws.apache.org
>  Subject: Has anyone used CDATA for axis 2 successfully?
>
>
>
>
> Further to my previous post, I am wondering if anyone has successfully used
> Axis2 to send CDATA elements?
>
>  If so, I would love to see the code snippets!
>
>  Thanks,
>
>  Dave.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message