Web Service Authentication

navuser1navuser1 Member Posts: 1,329
edited 2014-09-11 in NAV Three Tier
Dear All,

What type of authentication(external users) is required for logging into a web page which is build from NAV web service ?

Note :
User may be light/limited user

kindly reply.
Now or Never

Comments

  • navuser1navuser1 Member Posts: 1,329
    Dear all,

    I want that my Web page which is built from the web service always asks for the authentication(User Id & Password) before explore in the browser.

    kindly reply
    Now or Never
  • aniishaniish Member Posts: 27
    Hi
    you need to give windows authentication for run web-services.
    //Gaurav Gupta
  • navuser1navuser1 Member Posts: 1,329
    The following line is given in the Web Config file
    <authentication mode="Forms"/>

    but when I run the web page from VS it does not ask for the Userid & Password.
    Now or Never
  • defiant701defiant701 Member Posts: 79
    Howdy,

    <authentication mode="Forms"/> is fine for the IIS settings, but you'll also have to edit the URL to the correct form (standard IIS is login.aspx NAV = SignIn.aspx). For the rest is NAV authentication (which is sometimes painful). Therefore the whole rest needs to be equal (NAV service tier needs to run in NAVUSERPASSWORD, Settings in web.config also because the web components connect also to the service tier.

    BR
    defiant701
    Debuggers don't remove bugs, they only show them in slow-motion

    LinkedIn
    XING
Sign In or Register to comment.