I have accessing SharePoint lists data, which have adfs authentication using lists.asmx webservice.
I am using following code for access data from SharePoint server:
But I am getting access denied issue.
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> Access is denied
I see in various forum only claimbased authentication will work for access data from webservice, please suggest me if i can get data from ADFS authenticated site also using client object model
Please go to the web.config of your SharePoint site, and change
<identity impersonate="True" />
<identity impersonate="false" />
If the issue still not be solved, please try to add this tag into your web.config:
<authentication mode="Windows" />
Here is an useful link about this: