This is a migrated thread and some comments may be shown as answers.

Problem with web service

1 Answer 82 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
towpse
Top achievements
Rank 2
towpse asked on 12 Jan 2010, 03:08 PM
In your samples you demonstrate that we nee to return IEnumerable of Appointment Data to the scheduler.

Is there something that runs in between of the scheduler and our web service?

I'm getting the following error when navigating to my web service on our staging environment

Cannot serialize interface System.Collections.Generic.IEnumerable`1[[Telerik.Web.UI.AppointmentData, Telerik.Web.UI, Version=2009.3.1208.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4]].


I've been reading in blogs that we shouldn't be returning IEnuermabl from a web service but rather something that can be serialized and therefore use the toArray method on IEnumerable and return that array.

I think this is the cause of another error I'm seeing when going straight to the page

The remote name could not be resolved: myschedulersite.test.com



thanks


1 Answer, 1 is accepted

Sort by
0
Accepted
Dimitar Milushev
Telerik team
answered on 15 Jan 2010, 12:20 PM
Hi,

Please refer to this forum post and particularly the last reply by Tsvetomir Tsonev.

Sincerely yours,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Scheduler
Asked by
towpse
Top achievements
Rank 2
Answers by
Dimitar Milushev
Telerik team
Share this question
or