06-17-2025 06:19 PM
Hello LabVIEW members:
Has anyone had success in publishing a Web Service to NI Application Web Server via compiling a LabVIEW application that hosts the Web service for NI App Server web service deployment?
In my case the same web service works OK when published to Application web server by Right Clicking the Web service in the LabVIEW development environment.
However, given that I am now ready for production deployment, I am trying to publish the Web service via an application build but I am having no luck!
Here is a Loom video on how I am trying both approaches:
1. Publish Web Service to application Web server via LabVIEW Environment (Working OK)
https://www.loom.com/share/69bc523b86004ed99e14afc9bd21da58?sid=2215ce76-df03-4890-ae13-f9bdee401892
2. Publish Web Service to Application Web server via Compiled App (NOT working)
https://www.loom.com/share/d4b19de2285f4c14b8a6e42fa950ed4b?sid=346e9768-8a31-4859-83b5-49f908d39b93
Any help will be greatly appreciated.
I have attached my project files to this message.
Anthony L.
Solved! Go to Solution.
06-29-2025 03:12 PM
After contacting NI support a solution was found as explained by this summary statement here:
SOLUTION: This document provides a clear, step-by-step guide on how to successfully publish a LabVIEW Web Service from a built application using the Application Web Server. It emphasizes the importance of selecting a custom port number—different from the default NI Web Server port (8080)—to avoid conflicts, and demonstrates how to confirm successful deployment using the netstat -ano | findstr <PORT #>
command. The document also explains why the NI Web Monitoring Tool may not display services running on alternate ports, reinforcing that command-line verification is essential.
Further Details
Attached document has a more detailed explanation on how to successfully publish we Web services via a compiled hosting LabVIEW application build.