did you try the wdsl2java generated code?
use -t for gerating a testcase and look at the code..
for me it works fine!
lg
Andreas2
----- Original Message -----
From: "Andreas Meier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 09, 2003 4:23 PM
Subject: Deserializing an Array of Beans
> Hi there,
>
> I can't find a solution for deserializing an array of beans in my
> client application.
>
> I have a method in my webservice which looks like that:
>
> public MyBean[] getMyBeans() {
> ...
> }
>
> This mehod returns an array of MyBean objects. When calling this
> mehtod from my browser I can see that the array of beans is
> correctly serialized. However if I try to request the results from
> my client via
>
> ...
> call.setOperation( "getMyBeans" );
> ...
> MyBean[] allMyBeans = (MyBean[]) call.invoke( new Object[] { } );
>
> I get the following execption:
> "No deserializer defined for array type"
>
> Doing the same with an array of primitive type (eg. int) causes no
> problem.
>
> I already searched in the message archive but haven't found a
> solution for my problem (but others which seemed to have struggled
> with the same problem a long time ago).
>
> Any ideas?
>
> Thx.
>
> Andreas
>