Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

Web Services VIs

LabVIEW 2013 Help

Edition Date: June 2013

Part Number: 371361K-01

»View Product Info

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 Creating and Accessing a LabVIEW Web Service 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
Conversion VIsUse the Conversion VIs to escape or unescape characters in a URL or convert images for LabVIEW Web services.
Output VIsUse the Output VIs to set HTTP settings, configure ESP scripting, and write streaming responses.
Security VIsUse the Security VIs to encrypt and decrypt data transfers. You can also use these VIs with the Security VIs.
Service VIsUse the Web Services VIs in startup VIs to access information about a LabVIEW Web service.
Sessions VIsUse the Sessions VIs to manage HTTP sessions and session variables. You can create and destroy HTTP sessions, read and write session variables, and return session information.

 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit