Results 1 to 1 of 1
Thread: Web service Implementation
- 10-14-2009, 09:13 AM #1
Member
- Join Date
- Sep 2009
- Posts
- 32
- Rep Power
- 0
Web service Implementation
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
Similar Threads
-
how to call service method inside another service
By kirtichopra2003 in forum Web FrameworksReplies: 1Last Post: 10-24-2009, 02:19 AM -
Help on Stack Implementation
By danver_2009 in forum New To JavaReplies: 1Last Post: 02-16-2009, 08:12 AM -
Need little Help In Calculater Implementation..
By realahmed8 in forum New To JavaReplies: 6Last Post: 12-18-2008, 01:39 AM -
VietPad 2.0 (.NET implementation)
By Java Tip in forum Java SoftwareReplies: 0Last Post: 04-05-2008, 04:32 PM -
Graph DPS and BFS implementation
By hey in forum New To JavaReplies: 1Last Post: 01-09-2008, 09:19 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks