I want to add a SharePoint reference to a windows forms project.
When I use "Add Service reference" and enter the path to the reference http://myserver.com/_vti_bin/Copy.asmx
it tells me that the authentication as "anonymous" is not valid.
How can I get my VS 2010 to use my actual credentials for service discovery?
The message is:
There was an error downloading 'http://myserver.com/_vti_bin/Copy.asmx?WSDL'.
The request failed with HTTP status 404: Not Found.
Metadata contains a reference that cannot be resolved: 'http://myserver.com/_vti_bin/Copy.asmx?WSDL'.
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'NTLM'.
The remote server returned an error: (401) Unauthorized.
If the service is defined in the current solution, try building the solution and adding the service reference again.
Thanks in advance