Notifications
Announcements
No record found.
Hi Experts,
I’m working on an integration between NAV 2017 (on-premise) and BC Cloud, where I’m pushing data from BC Cloud to NAV.
I’m using a SOAP service from NAV with the following endpoint: https://navwstest.ABC.com:7047/TEST_WEB/WS/CompanyName/Page/ItemStaging
https://navwstest.ABC.com:7047/TEST_WEB/WS/CompanyName/Page/ItemStaging
This service works perfectly in Postman for both GET and POST requests.
But, when I try the same from BC Cloud, I receive the following error: "There was an error while executing the HTTP request, error request: NameResolutionError. Make sure you are connecting to a valid endpoint."
Could you please help me understand what might be going wrong? Or is it not possible to integrate NAV with BC Cloud in this way?
Thank you.
Business Central Online (Cloud) runs in Microsoft’s SaaS environment and cannot access private on-premise resources directly. The error NameResolutionError means that the DNS name (navwstest.ABC.com) is not publicly resolvable from BC Cloud. 🔧 Solutions: Expose NAV 2017 SOAP Service Securely Over the Internet: Ensure NAV is hosted with a public DNS and valid SSL certificate (e.g., using a domain like navwstest.yourdomain.com). Open port 7047 securely through your firewall or better, proxy it through port 443 (HTTPS). Use Azure Services: Set up Azure API Management, Azure Application Gateway, or Azure Relay/Hybrid Connection to expose NAV SOAP to BC Online. This gives you extra security, throttling, and monitoring options ✅ Confirm if this resolves your issue, and mark it as verified if helpful.
Business Central Online (Cloud) runs in Microsoft’s SaaS environment and cannot access private on-premise resources directly. The error NameResolutionError means that the DNS name (navwstest.ABC.com) is not publicly resolvable from BC Cloud.
NameResolutionError
navwstest.ABC.com
🔧 Solutions:
Expose NAV 2017 SOAP Service Securely Over the Internet:
navwstest.yourdomain.com
7047
443
Set up Azure API Management, Azure Application Gateway, or Azure Relay/Hybrid Connection to expose NAV SOAP to BC Online.
This gives you extra security, throttling, and monitoring options
✅ Confirm if this resolves your issue, and mark it as verified if helpful.
Hello,
Thank you for providing the details of your integration scenario.
The error message:
"There was an error while executing the HTTP request, error request: NameResolutionError. Make sure you are connecting to a valid endpoint."
suggests that Business Central Cloud is unable to resolve or reach the specified on-premises NAV SOAP endpoint. While the service works in Postman, the issue likely stems from network accessibility and DNS resolution limitations in the cloud environment.
Public Accessibility of the Endpoint Business Central Cloud cannot access internal or private network addresses. Ensure that the NAV SOAP endpoint is:
DNS Resolution The domain navvsstest.ABC.com must be resolvable from the public internet. If it is an internal DNS name, BC Cloud will not be able to resolve it. Consider using a public DNS entry or exposing the service through a reverse proxy.
navvsstest.ABC.com
Firewall and Port Configuration Ensure that port 7047 is open and accessible from external sources. You may need to configure your firewall or network gateway to allow inbound traffic to the NAV server.
Use of Azure Relay or API Gateway (Optional) If exposing the NAV server directly is not feasible, consider using Azure Relay, Azure API Management, or a secure VPN tunnel to bridge the cloud-to-on-premises communication securely.
Authentication and Headers Double-check that the authentication method used in Postman is replicated correctly in the BC Cloud HTTP request, including any required headers or credentials.
If this response helps resolve your issue, please consider marking it as accepted so it may assist others facing similar integration challenges.
Best regards.
Hi,
The error you're seeing is a classic symptom of DNS or firewall restrictions when trying to connect from BC Cloud to an on-prem NAV SOAP endpoint.
The message:
“There was an error while executing the HTTP request, error request: NameResolutionError. Make sure you are connecting to a valid endpoint.”
means that BC SaaS cannot resolve the hostname navwstest.ABC.com to an IP address. This typically happens because:
To resolve this:
Also, make sure the NAV SOAP service is configured to allow external access. You can verify this in the NAV Server Administration tool and test using Postman from an external network. Helpful references: Consume external NAV SOAP webservices from SaaS BC Resolving Access Issues to OData and SOAP Services – Stoneridge Software Walkthrough: Creating and Using a Codeunit Web Service (SOAP) How to resolve NameResolutionFailure – Stack Overflow If you find this helpful, feel free to mark this as the suggested or verified answer. Cheers Jeffrey
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 3,226
Jainam M. Kothari 2,047 Super User 2025 Season 2
YUN ZHU 1,257 Super User 2025 Season 2