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.

BEGIN:VCARD
VERSION:2.1
N:Punnoose;Roshan
FN:Punnoose, Roshan
ADR;WORK:;2115
LABEL;WORK:2115
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050413T183207Z
END:VCARD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to