You can publish a Web service to the NI Web Server through an NI package (.nipkg). The Web service starts/stops running after you install/remove the package.
Note For more information about concepts in this topic, refer to the�Web services introduction�and�tutorial. LabVIEW Web services are available only in the LabVIEW Full Development System and the LabVIEW Professional Development System.
Complete the following steps to publish a Web service through an NI package:
On the�Web Services�page, place a checkmark in the checkbox for the Web service you want to include.
(Optional) On the Package Installer page, place a checkmark in the Create a Package Installer checkbox to build your distribution into a package installer file (.exe).
(Optional) On the Feed page, choose whether to add your package to a local feed or publish the package to a feed on a SystemLink server.
Build the package that contains the Web service:
Click Build and the Build Status dialog box appears.
When LabVIEW completes building the package, click Explore to open the destination directory where LabVIEW saves the package file(s).
Install the package on the target computer so that the Web service starts running on the target computer:
Double-click the package (.nipkg) in the destination directory and install the package through NI Package Manager. When the installation is complete, the Web service is published to the NI Web Server on the local computer.
Note Publishing Web services to the NI Web Server requires administrator privilege.
Close the�LabVIEW project. Published Web services run on the LabVIEW Runtime and do not depend on the LabVIEW Development System.
When Do I Create a Package Installer?
A package installer includes all package dependencies so that the target can install the package without network access or any NI software. If you want to publish the Web service to a computer that does not have an internet connection or any necessary software for installing the package and running the Web service, such as NI Package Manager and the LabVIEW Runtime, you need to create a package installer.
When Do I Add the Web Service to a Feed?
On the deployment target, you can subscribe to a feed to find and install the package and receive update notifications from NI Package Manager or NI SystemLink via network access. NI recommends using feeds when distributing multiple packages that have dependencies on one another.