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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Doubts web services

(1) ShareShare
ReportReport
Posted on by 95
Hello,

I am testing Web Services in version 16 and I have some doubts.

1. I have seen that a specific user is normally created for web services, but is it necessary or can the administrator user be used, for example?

2. We use the Windows credential type, to consume the web service, would Windows credentials be used or would the web service access key from the user card be needed (which must be generated)? It seems that this key is only necessary for the NavUserpassword or ACL credential types

3. I would like to set the ports securely, enabling SSL. Is it necessary to put the application in https or is it possible to enable only the ports with SSL?

4. I have used postman to test, the desktop version to test on a private network and the web to test with the public network (I have mapped the port on the router). The problem is that with the public network postman does not work for me (it keeps sending the request infinitely). However, if I write the address of the web service in my mobile browser (so that it is not on the network) the web service presents the WSDL page of the web service, for example, in the case of SOAP. My question is, is there any more configuration needed apart from publishing the web service and enabling NTLM authentication? Could it be that postman does not work with public IPs?
 
 
 
 
 
Thanks in advance.
I have the same question (0)
  • Verified answer
    Tech-Lucky Profile Picture
    1,267 Super User 2025 Season 2 on at
    1. I have seen that a specific user is normally created for web services, but is it necessary or can the administrator user be used, for example?
    Answer) No it is not mandatory to use a Specific user but this is a good approach to create a specific user for the webservices it helps in Security and Integrity.

    2. We use the Windows credential type, to consume the web service, would Windows credentials be used or would the web service access key from the user card be needed (which must be generated)? It seems that this key is only necessary for the NavUserpassword or ACL credential types

    Answer) As in NAV 2016 you can definatly use windows credentials type it is not mandatory to use Web Service Access Key but it is not recommended you must go with NavUserPassword instance's for Webservices.

    3. I would like to set the ports securely, enabling SSL. Is it necessary to put the application in https or is it possible to enable only the ports with SSL?
    Answer)  I think you should do Both as to Create a New Instance for webservices and make it enabled with SSL Secured 

    4. I have used postman to test, the desktop version to test on a private network and the web to test with the public network (I have mapped the port on the router). The problem is that with the public network postman does not work for me (it keeps sending the request infinitely). However, if I write the address of the web service in my mobile browser (so that it is not on the network) the web service presents the WSDL page of the web service, for example, in the case of SOAP. My question is, is there any more configuration needed apart from publishing the web service and enabling NTLM authentication? Could it be that postman does not work with public IPs?
    Answer) your qustion is little bit confusing but as i understood Postman does support Public IPs as well but it should be Static not the dynamic IPs and in case of SOAP if you open the link directly from browser like Chrome it will open WSDL page only you need to install a Chrome Extension Wizdler to view the functions inside the SOAP.
     
    I hope these answers were helpfull Please Varify my Answer
     
  • DAnny3211 Profile Picture
    11,397 on at
  • MiguelRospa Profile Picture
    95 on at
    Thank you both for responding. I update my doubts:
     
    1. I have seen that a specific user is normally created for web services, but is it necessary or can the administrator user be used, for example?
    Answer) No it is not mandatory to use a Specific user but this is a good approach to create a specific user for the webservices it helps in Security and Integrity.
    OK

    2. We use the Windows credential type, to consume the web service, would Windows credentials be used or would the web service access key from the user card be needed (which must be generated)? It seems that this key is only necessary for the NavUserpassword or ACL credential types
    Answer) As in NAV 2016 you can definatly use windows credentials type it is not mandatory to use Web Service Access Key but it is not recommended you must go with NavUserPassword instance's for Webservices.
    Are you telling me that I should create a new instance on the server (using the NavUserPassword type) exclusively for web services?

    3. I would like to set the ports securely, enabling SSL. Is it necessary to put the application in https or is it possible to enable only the ports with SSL?
    Answer)  I think you should do Both as to Create a New Instance for webservices and make it enabled with SSL Secured 
    OK

    4. I have used postman to test, the desktop version to test on a private network and the web to test with the public network (I have mapped the port on the router). The problem is that with the public network postman does not work for me (it keeps sending the request infinitely). However, if I write the address of the web service in my mobile browser (so that it is not on the network) the web service presents the WSDL page of the web service, for example, in the case of SOAP. My question is, is there any more configuration needed apart from publishing the web service and enabling NTLM authentication? Could it be that postman does not work with public IPs?
    Answer) your qustion is little bit confusing but as i understood Postman does support Public IPs as well but it should be Static not the dynamic IPs and in case of SOAP if you open the link directly from browser like Chrome it will open WSDL page only you need to install a Chrome Extension Wizdler to view the functions inside the SOAP.
    I'll try to summarize my question. The problem is that with the private IP postman works for me but not with the static IP. So I want to know if I am missing some configuration in Business Central. Is there any more configuration needed apart from publishing the web service and enabling NTLM authentication?
     
     
     
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,126

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 744 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 674 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans