You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Alex Cruise <ac...@infowave.com> on 2001/01/12 20:02:08 UTC

RE: Deserializers available to the mapTypes method on a SOAPMappi ngRe gistry object.

From: Weegar, Jim [mailto:Jim.Weegar@itb.mckhboc.com]

> I'm really looking for a deserializer that will work with a 
> "CDATASection".
> StringDeserializer does work with a CDATASection but you get the "
> ![CDATA[]]" stuff along with the actual data.

Jim,

You can roll your own relatively easily.  If you write a deserializer and
register it for the element which contains the CDATA section in the
SOAPMappingRegistry, it will be called when those elements appear, and be
passed a Node object, which you can navigate and deal with at will.  I
haven't quite gotten to the point of finding out what happens to your Bean
object later on, when it's time to look at the Call return value, but I'll
get there soon. :)

-0xe1a