Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
create service reference for wcf service behind authentication

Answered 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.

Todas as Respostas

  • sexta-feira, 3 de agosto de 2012 13:28
     
     
    Did you find a solution? Because I am having the same issue.
  • sexta-feira, 3 de agosto de 2012 14:17
     
     Respondido

    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