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

[456 byte] By [StephanTheNumba] at [2007-10-2 1:37:06]
# 1
Hi,may you tell me how yoy use the arrey in your webservice when I use one I got class not found error.thanks
shayegha at 2007-7-15 19:00:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

> 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

StephanTheNumba at 2007-7-15 19:00:27 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...