Web Service - Login Dialog Window

Ravi_Thakkar
Member Posts: 392
Hello,
I have published a Codeunit as a webservice (NAV 2009). This codeunit Releases a Sales Order. A webpage has been created where the user can release that Sales Order. Whenever the user accesses that webpage, he should receive a login dialog window. The credentials provided by him should be directly authenticated by the Windows Logins present in NAV 2009.
Could anyone tell me if this is possible?
Can I get a Login Dialog automatically or do I have to create it?
I am using ASP.net (C#)
Thanks
Ravi
I have published a Codeunit as a webservice (NAV 2009). This codeunit Releases a Sales Order. A webpage has been created where the user can release that Sales Order. Whenever the user accesses that webpage, he should receive a login dialog window. The credentials provided by him should be directly authenticated by the Windows Logins present in NAV 2009.
Could anyone tell me if this is possible?
Can I get a Login Dialog automatically or do I have to create it?
I am using ASP.net (C#)
Thanks
Ravi
0
Answers
-
It will be displayed automatically, but all depends on settings.0
-
Hi Kine,kine wrote:It will be displayed automatically, but all depends on settings.
Can you please specify which type of settings?0 -
Ravi_Thakkar wrote:Hi Kine,kine wrote:It will be displayed automatically, but all depends on settings.
Can you please specify which type of settings?
Ya could some one give some idea on this issue. Me, too, are curious about the issue.~~ Just another newbies trying to learn more things here. ~~
-Sorry in advance for anything I might said or done that hurt anyone.0 -
E.g. you can set the Security for the web site in IIS to deny anonymous access and reqest Windows Authentication. Than the webpage will take windows account of the user if you are using IE or will ask for the credentials if you are using another browser or user is not logged into domain. Than it depends on how you are calling the WebService if you are using the UseDefaultCredentials or not etc.0
-
Hi, Kine
Thanks.
My problem has been solved.
We can do by both the ways. I wasted so much time for it.
1) We can block the system generated Dialog for the authentication by some settings on IIS.
And then by making our own Login Page.
2) By using System Generated Dialog, created by some settings on IIS.
Thanks.0 -
Ravi_Thakkar wrote:
1) We can block the system generated Dialog for the authentication by some settings on IIS.
And then by making our own Login Page.
Thanks.
Can u tell me what settigns u did in IIS? and How did u AUthenticate ur WebService in C#?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
- 320 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