Hello,
Thanks a lot for replay. I realy need to use these two functions fromJSON() / toJSON(). Knowing that there is a circular reference between my objects. Can you tell me more how to use them? Regards From: Dale Newfield [via AppFuse] [mailto:ml-node+2132854-1162864273-139...@n4.nabble.com] Sent: Thursday, May 06, 2010 3:49 PM To: mlounnaci Subject: Re: Cycle detected problem in web servive On 5/5/10 3:54 AM, mlounnaci wrote: > When i tried to retrive a List<Customer> from my getCustomers() webservice > method a cycle detected exception occured because the objects have a > bidirectional relation. What is serializing/constructing the schema for the objects in your service? IIRC I used to use "aegis", but I eventually changed to send a hand-serialized (as JSON) version, with fromJSON() and toJSON() methods added to relevant Managers. This way you can decide where to break the cycles yourself. -Dale --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] _____ View message @ http://appfuse.547863.n4.nabble.com/Cycle-detected-problem-in-web-servive-tp 2130582p2132854.html To start a new topic under AppFuse - User, email ml-node+547864-324903980-139...@n4.nabble.com To unsubscribe from AppFuse - User, click < (link removed) dW5uYWNpQGhiLXRlY2hub2xvZ2llcy5kenw1NDc4NjR8LTMzMjk3MjgxMw==> here. -- View this message in context: http://appfuse.547863.n4.nabble.com/Cycle-detected-problem-in-web-servive-tp2130582p2164433.html Sent from the AppFuse - User mailing list archive at Nabble.com.