Collections in WebService?
Hi,
I have a webservice that returns arrays of objects. It serializes correct and on client side I'm able to read the objects without any trouble.
But I was wondering if there is a possibility to return the objects as a collection (ArrayList for instance), without the need to write a (de-)serializer for the collection. Are there some "default" collections supported by the tools for creating webservices?
Thanks,
Stephan
> Hi,
> may you tell me how yoy use the arrey in your
> webservice when I use one I got class not found
> error.
> thanks
Hi,
I've build simple beans that hold the data. Each bean must have attributes of "simple" datatypes like strings, int, long, boolean, datatypes where a default mapping exist. If your beans are that simple, you should not have any trouble in serializing them via an automatically generated serializer.
If you still have trouble, please post the exception stack.
Stephan