Unable to use REST service from silverlight prism application

Topics: Prism v2 - Silverlight 3
Jan 19, 2010 at 12:28 PM


    I am a newbie in using Silverlight. Recently i just started to create a prism silverlight application. I have to use one REST service, which is hosted in IIS. But when i am trying to use, i am getting the fallowing error.

"An error occurred while saving changes. See the inner exception for details."

InnerException: Failed to Invoke: callOpen

   at System.Data.Services.Client.BaseAsyncResult.EndExecute[T](Object source, String method, IAsyncResult asyncResult)

   at System.Data.Services.Client.QueryAsyncResult.EndExecute[TElement](Object source, IAsyncResult asyncResult)

   at System.Data.Services.Client.DataServiceQuery`1.EndExecute(IAsyncResult asyncResult)

   at UI.DataAccess.GetAssetTypes(IAsyncResult result)

     It would be great if any one of you can help me in resolving this issue. Thanks in advance.