Hello Experts,
I have developed a codeunit and published it as a web service in NAV 2013 R2. The web service is accessible using browser from other systems too in our work location, but it is asking for the web server credentials. This will be integrated with android apps. So the problem is every time it is being called the web server authentication is asked (I created my system as a web server, and it is password protected), but the application team don't want to pass credentials of web server while calling the web service. They want to bypass this server credentials.
Is there any way to bypass this credentials from NAV. I am searching for a suitable solutions into this forum too, but unfortunately did not find any.
The integration part will be done by the team who are designing the application and they are unable to pass the server credentials internally and they want me to bypass it from NAV.
](*,)
Any help would be really grateful.
Thanks a lot.
Comments
You cannot get around not specifying a login. This is an accounting system, you need to specify who is running the transaction.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Thanks for the reply. The NAV instance already set as windows credential type.
But my question was when I published a web service and ran from a browser it is asking for the NAV web server authentication or the system user name and password of the server (at present my system is the nav server). My concern is to bypass the server authentication which is asked every time I run the web service from a browser.
As I stated earlier this web services will be integrated with the java, android apps, so I asked the team to pass the server user id and pass while calling the web service. But they are not able to pass that and so I am trying to find a solution to pass it or to bypass it from nav.
Thanks in advance.
it's not possible to bypass credentials to NAV. But you could use a user for this and create & assign a Web Service Access Key. This key can be used as credentials. Hope this helps.
KR
LinkedIn
XING
I just want to pass the credentials internally from nav. Now it is asking for the System credentials where the NAV server is installed. But I want to set it internally that when the web service is called from a browser it don't ask for the system credentials again.
Presently my NAV service credential type is windows. But my concern is when ever I call the web service from a browser it asks for the nav server's user id and pass and I want to pass it internally that it won't ask for it again while calling from the browser.
How to do it? any idea ..
My system user name - ani
pass - ani@123
I have a web service (codeunit) - ani-pc/port/....../codeunitname
when I run it to a browser it asks for the same credentials of my system. but i want to pass it internally that it won't ask for it again while running from the browser.
Thanks in advanced.