create service reference for wcf service behind authentication
-
quarta-feira, 30 de maio de 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.- Editado Dave SmitsMicrosoft Community Contributor quarta-feira, 30 de maio de 2012 19:18
- Movido Matt SmallMicrosoft Employee, Moderator sexta-feira, 1 de junho de 2012 14:01 Adding a web service isue (From:Building Metro style apps with C# or VB )
Todas as Respostas
-
sexta-feira, 3 de agosto de 2012 13:28Did you find a solution? Because I am having the same issue.
-
sexta-feira, 3 de agosto de 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
- Marcado como Resposta Dave SmitsMicrosoft Community Contributor terça-feira, 4 de dezembro de 2012 12:48

