i ant too sure on this one bcoz its been some
time since i experimented on such a class but
if i remember correctly your xrpcc tool wont
be able to generate suitable Serializers and
Deserializers for such a class.
However if you drop the Node[] then the class
is a valid type (... provided of course that you
would have to add 'public' accessors and mutators
for id and name).
Hrishikesh
-----Original Message-----
From: Isabelle Gheysens [mailto:i.gheysens_at_ENERGYICT.COM]
Sent: Friday, May 03, 2002 8:05 PM
To: JAXRPC-INTEREST_at_JAVA.SUN.COM
Subject: supported jaxrpc types
hello,
I read the specs about supported jaxrpc types. I have a question about
this.
would the following object be a supported jaxrpc type?
public class Node {
private int id;
private String name;
private Node[] children;
}
Thanx in advance,
Isabelle