DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8584>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8584

BeanSerializer does not preserve case in Beta 2

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From [EMAIL PROTECTED]  2002-04-27 15:38 -------
For a bean field with accessors "getFoo" and "setFoo", the actual field name 
is "foo", not "Foo".  This is the way the JavaBeans standard works, and we 
follow these rules.  I just checked this out by using the AttributeBean 
(test.encoding.AttributeBean) in a service, and correctly got "male", 
not "Male", in both the serialization and the generated WSDL.

You can freely change the serialized/WSDL names of your bean fields, whether 
they are attributes or elements, by using the TypeDesc/FieldDesc classes.  
Again, take a look at AttributeBean to see how this is done.  Basically if you 
specify an AttributeDesc with a name equal to the JavaBeans property name, we 
wil use whatever XML QName is defined in that AttributeDesc for 
serialization/WSDL.

If in fact you believe that there is still a bug here, please reopen this 
issue and include a minimal example (code/deploy.wsdd) which duplicates the 
problem.  Thanks!

Reply via email to