locked
create service reference for wcf service behind authentication

    Question

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

    Wednesday, May 30, 2012 6:54 PM

Answers

  • 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

    • Marked as answer by Dave SmitsMVP Tuesday, December 04, 2012 12:48 PM
    Friday, August 03, 2012 2:17 PM

All replies

  • Did you find a solution? Because I am having the same issue.
    Friday, August 03, 2012 1:28 PM
  • 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

    • Marked as answer by Dave SmitsMVP Tuesday, December 04, 2012 12:48 PM
    Friday, August 03, 2012 2:17 PM