Hi,
.NET does support the use of of attributes by using simple configuration commands in the classes definition. I am verry supprised there is no Java equivalent yet, as there have been many questions/discussions on this subject.
Regards,
Albert Jan
From: "Anne Thomas Manes" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: RE: BeanSerializer and xml attributes Date: Mon, 28 Jun 2004 13:01:06 -0700
Per the definition of "wrapped" in JAX-RPC (and in the way .NET works), wrapped does not support attributes - only a sequence of elements.
_____
From: Wei Hsu [mailto:[EMAIL PROTECTED] Sent: Monday, June 28, 2004 11:56 AM To: [EMAIL PROTECTED] Subject: BeanSerializer and xml attributes
Hi all,
I was wondering if anyone knows whether axis's BeanSerializer actually supports xml attributes. Currently when I try to send a doc/lit wrapped message with the following xml element:
<createStuff> <Stuff propStr2="b"> <propStr1>a</propStr1> <propInt1>2</propInt1> </Stuff> </createStuff>
The BeanSerializer always ignores the attribute "propStr2" and calls createStuff("a", 2, null). It seems somewhat intuitive that the BeanSerializer should be configurable to take the attribute and use the corresponding getters/setters on the server side. Is there any reason why that's not the case right now? Do I have to create my own serializer/deserializer if I want to use XML attributes? I would really appreciate any info or help. Thanks!
-Wei
_________________________________________________________________ MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl