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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Create web service in NAV 2018 and use it in BC Saas

(5) ShareShare
ReportReport
Posted on by 28
Is it possible to create a web service in Dynamics NAV 2018 and make it public to consume it in Business Central Saas?

I have a web service in Dynamics NAV 2018:
http://localhost:7047/DynamicsNAV110/WS/CRONUS/Codeunit/NAV_WebService
 
But I can only access locally, how can I make it externally I can access, more precisely with Business Central Saas.
 
If possible I could support me, I would appreciate it very much.
 
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,801 Super User 2026 Season 1 on at
     
    I think the best solution in thiscase is use Reserve Proxy.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Verified answer
    Jeffrey Bulanadi Profile Picture
    9,112 Super User 2026 Season 1 on at
    Hi

    Yes, it’s possible to consume a web service from NAV 2018 in Business Central SaaS, but you’ll need to make sure the NAV service is externally accessible and properly secured. Here’s how to approach it:

    1. Make the NAV web service externally accessible
    • Ensure the NAV server is hosted on a public-facing machine or VM
    • Open the required port (typically 7047 for SOAP) in your firewall
    • Replace localhost with your public IP or domain name in the service URL
    • Confirm that the NAV instance is configured to allow external SOAP requests
    2. Secure the connection
    • Use HTTPS instead of HTTP to protect data in transit
    • Set up a valid SSL certificate on the NAV server
    • Enable authentication (Windows or NavUserPassword) and ensure the user has permission to access the web service
    3. Consume from Business Central SaaS
    • In BC SaaS, use HttpClient in AL to call the NAV web service
    • Make sure the endpoint is reachable and returns the expected response
    • If you're using SOAP, you’ll need to construct the XML payload manually or use a proxy class if calling from an external app
    Here’s a helpful guide that walks through publishing and testing web services in NAV and BC: How To Publish & Test Webservices in NAV/BC – ArcherPoint


    If you find this helpful, feel free to mark this as the suggested or verified answer.

    Cheers
    Jeffrey
  • Suggested answer
    YUN ZHU Profile Picture
    99,090 Super User 2026 Season 1 on at
    You can only access this server by opening its port to the public Internet, although this is not safe.
    BC Cloud currently cannot access On-Pre records.
     
    Hope this helps.
    Thanks.
    ZHU
  • Verified answer
    RockwithNav Profile Picture
    8,967 Super User 2026 Season 1 on at

    To access your NAV 2018 web service from outside your network, you need to:

    Open port 7047 on your router or firewall (this is called port forwarding).
     
    Use a static IP or a domain name so the service can be reached consistently. Change the NAV Server settings so it connects on all network interfaces, not just on your local computer.
     
    Turn on HTTPS for secure access and set up authentication (username/password or other methods).
     
    If you're trying to connect NAV 2018 with Business Central SaaS, it can be tricky because of version and security differences. The best way is to use a tool like an API gateway or Azure Logic Apps to act as a bridge between the two systems.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,949 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,064 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 559 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans