I'm having a problem with circular references during serialization.

For example, say I have two types: User and Group. User has a getGroup() method, and Group has a getUsers() method which returns an array of users.

Since this basically amounts to a circular reference, Axis goes into infinite recursion when it tries to serialize the response, and simply hangs forever spitting out huge log messages.

It seems like SOAP should have a more intelligent way to handle this. Is there a known solution, other than removing the circular reference from my objects?

Thanks,
Andrew



Reply via email to