web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NTLM authentication for nav server web service from android

(0) ShareShare
ReportReport
Posted on by

I'm trying to call a ms dynamics Nav  web service from an android application using Ksoap libraries, but i keep getting this exception, i tried many ways, tried with NTLM authentication but all the time i got 401 exception, please guide me to how to access the MS Dynamic Nav web services from android

*This post is locked for comments

I have the same question (0)
  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    Are you using the correct credentials? Has the user of your application the correct permissions on NAV? I think you’ve to correctly pass authentication.

    This could help:

    stackoverflow.com/.../android-consuming-dynamics-nav-soap-web-service

  • Verified answer
    Andrey Baludin Profile Picture
    3,943 on at

    Hi, Sunil.

    Set a "NTLM authentication" mark on NAV instance, like it shows below, restart it and try to connect.

    0602_2D00_01.JPG

  • Community Member Profile Picture
    on at

    yeah i am using correct credentials,i already checked with that link but the problem did not solved

  • Community Member Profile Picture
    on at

    Thank you, will check this

  • Suggested answer
    Andrey Baludin Profile Picture
    3,943 on at

    Also check that you have set marks "Enable SOAP" and "Enable ODATA" on instance.

  • Kauto Profile Picture
    2,734 on at

    Hi,

    Can you post your connection code please so we can check?

    I am having a similar issue

  • Kauto Profile Picture
    2,734 on at

    Hi Stefano,

    Can you provide some sample code for an android app where we can tell it to use NTLM and a windows domain account, all I get it that I am providing an anon connection, nothing in the exposed service from NAV allows me to change this

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans