Title: Serialization issues / questions

Hi,

As part of trying to integrate the AxisEngine to our server, I found the following behavior which seems "strange"

1. Serializing a Bean that one of its member is an ArrayList, doesn't serialize the ArrayList member.
No error reported either, just nothing ?!?

2. In case the member is a regular Java Array, it forces the specific Object that instantiate the array to be registered in the WSDD, although if that type was a regular member (no as array), it would pick it up.

Example :
Class PersonBean extends Bean. The base Bean was registered to a customized serializer factory, that create a "smart" serializer, which for the most uses the Bean serializer as is. Just reducing registration for each new Bean type we have.

Once a member from the type
        PersonBean[] team = new PersonBean[2];
Is declared it forces me to register PersonBean as well.
Is that a desired behavior ? if so, is there a "simple" way to override this behavior.

3. Serializing our beans using the BeanSerializer, works very nice, once we created BeanInfo classes to specify the exposed properties. Strangely we weren't able to "hide" public static members. Any clue why ?

In general, I found the AXIS package very useful, and I'll be happy to give more feedback, and some samples of how to use the engine outside the AxisServlet (the examples didn't cover that :-), if you are interested.


thanks,

Amit.

Noosh Inc.
[EMAIL PROTECTED]
408 - 617 - 6042

Reply via email to