[jboss-user] [JBossWS] - Forcing CDATA tags to be output sometimes on some tags from

roger_pearse do-not-reply at jboss.com
Fri Jul 20 03:39:53 EDT 2007


I'm porting a web service to JBossWs and I've run into a backward compatibility issue.  

In the soap request, there is an optional tag to say "we want CDATA tags around the output fields in the response".  So in the XML that appears back in the client it might be



I can't work out how to force the CDATA's to appear.  If I add them to the value of the field, they get turned into this:


Can anyone tell me how to do this?  

Many thanks indeed!

Roger Pearse

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066050#4066050

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066050

More information about the jboss-user mailing list