create service reference for wcf service behind authentication
-
30 mai 2012 18:54
i need to create a service reference for a service which requires to authenticated. normally i used wsdl and passing the username and password with it. how to do now? i cant generate the service reference without passing these login information. But wsdl is not available. Someone a clue how to do? i cant turn the authention off
this is the error i get when i go to the url with the add service reference:
Metadata contains a reference that cannot be resolved: '<url>'.
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.- Editat de Dave SmitsMicrosoft Community Contributor 30 mai 2012 19:18
- Mutat de Matt SmallMicrosoft Employee, Moderator 1 iunie 2012 14:01 Adding a web service isue (From:Building Metro style apps with C# or VB )
Toate mesajele
-
3 august 2012 13:28Did you find a solution? Because I am having the same issue.
-
3 august 2012 14:17
yes... i spent some effort in getting a machine that was in the domain. after i joined it was easy...
still no clue how to do without
- Marcat ca răspuns de Dave SmitsMicrosoft Community Contributor 4 decembrie 2012 12:48