Nav2013 Webservice and Javascript NTML Authentication
Isumaru
Member Posts: 7
Hello ,
I tried to connect via Javascript to my webservice to recieve data from specific tables.
It works only when I run it with internet explorer 10 compatiblity mode or a lower version.
If I use the internet explorer there is a automatic authentication pop up for domain/username and password.
The problem is that i want to connect to the webservice from an mobile phone via java script and if the browser isn't a IE(as i know there is no IE for andorid and ios) there is no login pop up and you only get an error : HTTP/1.1 401 Unauthorized.
I used the code from "http://blogs.msdn.com/b/freddyk/archive/2010/01/21/connecting-to-nav-web-services-from-javascript.aspx".
I hope someone can help me with this problem.
best regards,
Isumaru
I tried to connect via Javascript to my webservice to recieve data from specific tables.
It works only when I run it with internet explorer 10 compatiblity mode or a lower version.
If I use the internet explorer there is a automatic authentication pop up for domain/username and password.
The problem is that i want to connect to the webservice from an mobile phone via java script and if the browser isn't a IE(as i know there is no IE for andorid and ios) there is no login pop up and you only get an error : HTTP/1.1 401 Unauthorized.
I used the code from "http://blogs.msdn.com/b/freddyk/archive/2010/01/21/connecting-to-nav-web-services-from-javascript.aspx".
I hope someone can help me with this problem.
best regards,
Isumaru
0
Comments
-
Do you have the line <add key="WebServicesUseNTLMAuthentication" value="true"></add> in the settingsfile of the webservice? Without it, it certainly is not going to work...0
-
Yes I tried that but I still dont get a login pop up and the same error message "HTTP/1.1 401 Unauthorized"0
-
Try to add the web service host to Intranet Sites in Internet Explorer. That should trigger an automatic windows authentication.________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0 -
The problem is that i cant use the Internet Explorer on the mobile phone(Android).
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 323 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions