If you think the reverse mapping is safe for caps than change the code.


Rich Scheuerle
XML & Web Services Development
512-838-5115  (IBM TL 678-5115)


                                                                                       
                                     
                      Glen Daniels                                                     
                                     
                      <gdaniels@macrome        To:       "Axis-Dev (E-mail)" 
<[EMAIL PROTECTED]>                      
                      dia.com>                 cc:                                     
                                     
                                               Subject:  Question for Rich re: 
JavaBeanHelperWriter                         
                      04/05/2002 06:45                                                 
                                     
                      PM                                                               
                                     
                      Please respond to                                                
                                     
                      axis-dev                                                         
                                     
                                                                                       
                                     
                                                                                       
                                     




Hi Rich!

In an earlier change, you wrote:

>     3) Slight change to the JavaBeanHelperWriter to write meta data if:
>         java name and xml names are different.
>         java name begins with a cap (we have run into too many problems
with the
>            reverse mapping of such things).
>         element has a qualified name (namespace uri is set).

What problems have you run into with reverse mapping capitalized XML->Java?
I would personally rather we didn't emit metadata where the default mapping
works - for an example of how this goes (imho) a bit far, take a look at
the generated PEADDRESS class in the wsdl.nested sample.  We used to only
emit metadata for the few elements with underscores in the names, now
there's a fieldDesc for every field.  This not only causes a lot of extra
code, it ends up slowing us down a bit in the default case...  Just my
$0.02.

--Glen



Reply via email to