05-18-2021 09:57 AM
Hi everybody,
I know this is not a SystemLink question but nobody is answering me inside the LabVIEW forum and we want to install Web Services with the NI Web Server, which means with the SystemLink Web Server.
We are currently experiencing some troubles with our webservices and their call in LabVIEW NXG Web app hosted on a SystemLink server.
To keep it simple we changed http to https on our SystemLink server. The NXG Web app is running through https but our webservices are running trough http and it's not working.
Since we're using the NI Web Server and not the old NI application Web Server, we can't add the SSL regarding all the documentation we're founding.
We saw that there is a new possibility in LabVIEW 2020 to configure Web services for the NI Web Server or the Application web server. Here is the screenshot of the Build Specifications for Application :
Once you choose that, great you have an exe (that I don't need) with my service.lvws file. I just discovered you can unzip it!
But, how to publish it to the NI Web Server?
The upgrades notes of LabVIEW 2020 are saying that: "You can publish a Web service to the NI Web Server through a stand-alone application, package, or package installer."
I was used for the http one to do an empty Installer to publish the webservice at the end, but inside the Build Specification for Installer, you can't choose between NI Web Server and Application Web Server.
Any help would be great
Solved! Go to Solution.
05-24-2021 04:11 PM
Hi HVW,
The documentation on how to do this is buried in the LV Help, but once you see how it works its pretty simple.
Hope this helps!
05-25-2021 03:32 AM
Wow ! many thanks MarkBlack!
We thought that it was not so difficult, but it was impossible to find some explanation on it!
We found almost nothing with the new NI web server. And it's far most easier than the Application Web Server!
Our webservices are running through https now! Thank you again 😉
08-10-2021 10:59 AM
@MarkBlack I have an issue related to web services publishing. I posted it here --> https://forums.ni.com/t5/LabVIEW/Publishing-web-service-fail-with-error-67404-LV2020/m-p/4170702
If you have any information about the issue I would be pleased to hear them.
Thanks,
Olivier
12-24-2021 09:18 AM - edited 12-24-2021 09:19 AM
removed