Web Services VIs

Owning Palette: Connectivity VIs and Functions

Requires: Full Development System (Windows). This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Web Services VIs to build and configure top-level VIs in LabVIEW Web services. You can accept and process HTTP requests from Web clients, create HTTP sessions, and perform other tasks associated with Web services communication.

Note  This topic assumes familiarity with the Web services introduction and tutorial.

Related Information

Overview: Web-based Communication with a LabVIEW Application

Using the VIs on the Web Services Palette

Palette ObjectDescription
Read All Form DataReads the form data values received from the specified HTTP request. This VI processes that form data and assigns those values to elements in 1D arrays. Use this VI for requests that use the multipart/form-data encoding type.
Read All Request VariablesReads all request variables associated with the current HTTP request. Web services include over 30 request variables that provide information such as server label, remote address, and cache control related to an HTTP request.
Read Form DataReads a single form data value associated with the current HTTP request. Use this VI for requests that use the multipart/form-data encoding type.
Read PostdataReads any POST data associated with the current HTTP request. This VI does not handle POST data with the multipart/form-data encoding type. Use the Read Form Data VI to handle this encoding type.
Read Request VariableReturns the value for a single request variable associated with the current HTTP request. Web services include over 30 request variables that provide information such as server label, remote address, and cache control related to an HTTP request.
Read Uploaded Files InfoReturns an array of clusters that contains information about all uploaded files associated with the specified HTTP request. This information includes the client filename, the path to the temporary storage location, the content type, and the size in bytes.


SubpaletteDescription
Application Web Server VIsUse the Application Web Server VIs to support Web services deployed to the Application Web Server.
Conversion VIsUse the Conversion VIs to escape or unescape characters in a URL or convert images for LabVIEW Web services.
NI Web Server VIsUse the NI Web Server VIs to support Web services deployed to the NI Web Server.
Output VIsUse the Output VIs to set HTTP settings and write streaming responses.
Service VIsUse the Web Services VIs in startup VIs to access information about a LabVIEW Web service.

Data Communication Methods Home