Use primatives, beans, and arrays. There are standard de/serializers for these types (defined by the JAX-RPC spec). Don't use Collections.

Anne

On 2/15/06, Giggle Giggle <[EMAIL PROTECTED]> wrote:
1/
And how do you solve this problem? I don't believe you use only primitive types.
If your answer is: "custom serializers", is it a big deal to learn? And why aren't there any standard de/serializers for Java?

2/
Axis2 - I generate wsdl and java sources form wsdl using WTP in Eclipse, would it work by only changing axis.jar to axis2.jar?

Thank you
Lucas

> Od: Rodrigo Ruiz < [EMAIL PROTECTED]>
> Předmět: Re: Sending a Collection of objects (advanced :-))
> Datum: 14.2.2006 14:52:34
> ----------------------------------------
> If you want to avoid custom serializers, the only way is to have a
> separate set of classes for your web service, and convert to and fro
> your internal set.
>
> I have never tried, so I am not sure at all, but maybe you can use
> "DynaBeans" from jakarta commons beanutils to dinamically create
> "web-service compatible" wrappers for your classes. If you try this
> path, and get success, don't forget to share it! ;-)
>
> Regards,
> Rodrigo Ruiz

Reply via email to