Hi all
I am trying to implement a web service but on executing it i am getting the following exception

INFO: Interceptor has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Marshalling Error: A cycle is detected in the object graph. This will cause infinitely deep XML

code for which i am getting this exception is :
List<AccountSubscriptionDTO> asList=new ArrayList<AccountSubscriptionDTO>();
for(AccountSubscription accountSusbcription:accountSubscriptionList)
{
AccountSubscriptionDTO as=new AccountSubscriptionDTO();
as.setAccount(accountSusbcription.getAccount());
as.setEnddate(accountSusbcription.getEnddate());
as.setExcpetedpayment(accountSusbcription.getExpec tedpayment());
as.setSubscription(accountSusbcription.getSubscrip tion());
as.setParentid(accountSusbcription.getParentid());
as.setStratdate(accountSusbcription.getStartdate() );
asList.add(as);
}
return asList;

code is ececuting but for the result i am getting that execption in soapUI also

Please tell me where i am wrong and how should i correct it

Thanks
Kirti