Java webservice does not return all struct array

Posted by Aykut on Stack Overflow See other posts from Stack Overflow or by Aykut
Published on 2010-03-17T07:01:44Z Indexed on 2010/03/17 9:41 UTC
Read the original article Hit count: 244

Filed under:
|

Hi

I wrote a webservice which runs correctly. In the webservice, there is a class which contains other classes' arrays and the webservice returns this class's instance. for example

public class cls1 implements Serializable{
  cls2[] cls2Arr;
  cls3[] cls3Arr;
}

I fill this arrays (cls2Arr and cls3Arr) correctly in service side. When I read this arrays from client, I see only last item of arrays. I checked on the service side before the webservice returns, and the cls1 instance and everything else looked good. What can be a reason ?

Thx

© Stack Overflow or respective owner

Related posts about java

Related posts about web-services