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

Reply via email to