You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Glen Daniels <gd...@macromedia.com> on 2003/02/19 18:50:39 UTC

RE: [wsif] generic type mapping [Re: bug 16485 [BeanDeserializer error when XML element starts with a capital letter]]

> Here's the deal.  Java<->XML databinding REQUIRES metadata, 
> that is all there is to it.

Let me clarify that a bit - it is certainly possible that the default mapping (for instance, the default JAX-RPC mapping) just works, in which case there is no need for EXPLICIT metadata, even though there is still IMPLICIT metadata in the mapping rules.  In other words, if the XML is <name> and it maps to a field "name", you're fine without a TypeDesc.  But if the XML is <foo-bar> mapping to a field "fooBar", you'd better have it so you can serialize correctly.

--G