Hi,
       I'm writing a service that serialize/deserialize a JavaBean
(basically an extension of an axis' example:
samples/userguide/example5/BeanService.java ). I deployed the service and
everything was ok.

I modified the Order.java so that it contains a reference to itself:

public class Order{
    private String strType;
    private HashMap map = new HashMap();
    private Order order2 = new Order();
.....
}

when I run the client class, I get the following error:

java.lang.StackOverflowError
Exception in thread "main"

Any clues?!
Thanks
Carolina Costa




Reply via email to