Source Files Page (Web Service Properties Dialog Box)
- Updated2025-03-14
- 3 minute(s) read
Source Files Page (Web Service Properties Dialog Box)
Use this page of the Web Service Properties dialog box to add and remove files to build into the Web service.
This page includes the following components:
Option | Description |
---|---|
Project Files | Displays the tree view of items under My Computer in the Project Explorer window. Click the arrow buttons next to the Exported VIs and Always Included listboxes to add selected files from Project Files to those listboxes or to remove selected files from the listboxes. |
Service VIs | Specifies the exported VIs, which users can access as functions of the .NET interop assembly. You must include at least one exported VI. Click the arrow buttons next to the Exported VIs listbox to add selected VIs from the Project Files listbox or to remove selected VIs from the Exported VIs listbox. Click the arrow buttons next to the Service VIs listbox to add selected Web method VIs from the Project Files tree or to remove selected Web method VIs from the Service VIs listbox. When you add a Web method VI to the Service VIs listbox, LabVIEW creates a default URL mapping on the URL Mappings page of the Web Service Properties dialog box. |
Configure VI | Displays when you select an exported VI. Click the button to display the Define VI Prototype dialog box, which you can use to define the parameters of an exported VI. |
Always Included | Specifies the dynamic VIs and support files always to include in the .NET interop assembly, even if the exported VIs do not contain references to the files. Click the arrow buttons next to the Always Included listbox to add selected files from the Project Files tree or to remove selected files from the Always Included listbox. When you add a folder to the listbox, you add all items in the folder and cannot remove individual items. Dynamic VIs are VIs that LabVIEW dynamically calls through the VI Server. Support files are non-VI files, such as drivers, text files, help files, and .NET assemblies that the Web service uses. |
You cannot move the following files to the Service VIs or Always Included listbox:
Service VIs
- Polymorphic VIs
- Controls
- Private data controls
- Files that are not VIs, such as text, image, or .mnu files
- Library files, such as LabVIEW classes, or XControls
- Global variables
- VIs with Dynamic Dispatch Terminals
Always Included
- Private data controls
If you move a library or LabVIEW class to the Always Included listbox, LabVIEW labels all items in the library or class referenced. You can still designate any of the individual items as exported VIs. However, if you move any part of an XControl to the Always Included listbox, LabVIEW dims the related XControl files and includes the related files in the build. You cannot designate any of the related items as service VIs.