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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
 Sent: Tuesday, October 03, 2006 1:43 PM
 To: [email protected]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to