0 Replies Latest reply on Aug 14, 2009 9:47 PM by jeff87

    web service return a string inside of a CDATA

    jeff87

      I haven't been able to find anything about this, but it seems like it should be possible. I'm using Seam 2.2.0 and JBoss AS 5.1.0. Is there a way to tell a web service that returns a String to enclose the return value inside of a CDATA block. I tried doing it myself in the String response I build but that doesn't work. Basically say my String that I am about to return equals "Father & Son Business", then the web service client will get <return>Father &amp; Son Business</return> in the xml response. Anyone out there know of a way to deal with this without needing the web service client to search for things like &amp; and replace them on their own?