Announcements
Hello Guys,
I am trying to consume OData web service in my console application but i am getting issues.
Here are the steps that i followed...
1) Enabled OData web service and NTLM Authentication from Nav Server so i am able to access web service from browser.
but when i am trying to add service reference it is asking for username and password again and again.
2) When i tried to use as Odata Connected service it is giving me an error for URL but when i downloaded the metadata on my local machine and then tried to connect it worked but again getting unauthorized error in console application.
3) In postman web service is accessible using NTLM Authentication.
So please help me what am i missing so that i can connect with server URL in my console application and i can access it outside this machine like in D365 CRM.
Is there any other way so that i can connect it with MS D365 CRM.
*This post is locked for comments
Hi Amit,
Try using Basic Authentication with Postman. You need to create a web service access key on your user card and use it as password
Username is your NAV username. Not sure if this will work in your console app though.
Tero
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156