Service Virtualization

 View Only
  • 1.  HTTP Error 401.1 - Unauthorized Error

    Posted Oct 09, 2019 02:31 AM
    Hi there,

    I am trying to access WCF service which is hosted on IIS server requires an NTLM authentication.
    When providing credential ,server is throwing 401Unauthorized  Error

    Tried calling service through Web service execution step and added credential in Authorization header, didn't work
    same done with Rest step, no Luck.

    your suggestions would be helpfull

    ------------------------------
    Thanks
    Sabir
    ------------------------------


  • 2.  RE: HTTP Error 401.1 - Unauthorized Error
    Best Answer

    Posted Oct 10, 2019 06:27 AM
    Hi Sabir,

    Try invoking the service ( with credentials) from some other tool like SOAPUI or postman (or browser as well) to ensure the url is accessible. In case of browser, sometimes a cache refresh may help.

    Also, it may be possible the service you are invoking with use the credentials to invoke some dependent components where the provided credentials may be not have enough/sufficient privileges.

    Thanks

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------