Skip to content
This repository was archived by the owner on Sep 23, 2024. It is now read-only.

Authentication Required Error SharePoint 2010 #22

@breenjoe

Description

@breenjoe

I am trying to generate a proxy class for my Lists in SharePoint using the odatagen OData Client for Objective C.

On my mac at a terminal I am running the following command:

./odatagen /uri=http://mydomain/_vti_bin/listdata.svc /out=/myoutpath /auth=windows /u=DOMAIN/username /p=password

The above command continually returns an Authentication failed error as below:
mac_authentication_sharepoint

I can authenticate successfully when I visit the listdata.svc URL in a browser. Authentication is set to NTLM but I have tried Kerberos for the web application also.

As I understand it the odatagen command should use the supplied credentials to authenticate to SharePoint.

Has anybody tested this proxy class generation using odatagen with SharePoint listdata.svc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions