i have site collection with Persian language. so lists and fields are in Persian.
when i create a console application and add reference to listdata.svc, i can use the datacontext and add items to a sample list.
but when im in wcf service project and use the same codes and configs it won't work.
inner exception message is:
Error processing request stream. The property name 'ایجادشده' specified for type 'Microsoft.SharePoint.DataService.ParnianQueueListItem' is not valid.
'ایجادشده' is "Created" field in SharePoint Lists.
exception message is:
System.Data.Services.Client.DataServiceRequestException was unhandled by user code
Message=An error occurred while processing this request.
Source=System.Data.Services.Client
StackTrace:
at System.Data.Services.Client.DataServiceContext.SaveResult.HandleBatchResponse()
at System.Data.Services.Client.DataServiceContext.SaveResult.EndRequest()
at System.Data.Services.Client.DataServiceContext.SaveChanges(SaveChangesOptions options)
at Parnian.NotificationService.Srv.WcfNotifyMainClassService.AddItemToQueueList(QueueItem item, String configKey)
at SyncInvokeAddItemToQueueList(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
im struggling with this a day so please save the another day.