I have mapped SharePoint ISAPI folder and create service in it. When accessing it ask me for credentials. I want this service not to ask for credentials. How can this be done?
/_vti_bin/RecruitmentWCF/Recruitment.svc/addnewprospect
I have mapped SharePoint ISAPI folder and create service in it. When accessing it ask me for credentials. I want this service not to ask for credentials. How can this be done?
/_vti_bin/RecruitmentWCF/Recruitment.svc/addnewprospect
If I understand correctly your SharePoint site requires NTLM authentication (i.e. does not allow anonymous access). If this is the case then any resource deployed inside of your SharePoint application (including your service) will require client connections to authenticate.
Have you considered establishing a specific account that can be used by the remote clients to access the service and then passing those credentials explicitly in the calls to the service from the client? This assumes, of course, that you'd be comfortable with the functions and data your service exposes being accessed by a generic account acting as a proxy for many mobile users.
C# Example:
SomeService client = new SomeService();
client.Credentials = new NetworkCredentials("username","password");
Objective C Example: (I know this example shows an asmx service as opposed to your REST service but the relevant code should be the same): http://www.robertkuzma.com/2011/07/making-a-post-in-objective-c-xcode-to-sharepoint-webservice-requiring-windows-ntlm-authenticaton-for-iphone-or-ipad/