Understanding the Web Services Architecture and File Locations (Real-Time, Windows)

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Parent Topic: Overview: Web-based Communication with a LabVIEW Application

This topic describes the Web services architecture, supported data types in Web services, and the Web services file system.

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.

Web Services Architecture

LabVIEW Web services use RESTful Web service architecture, which is based upon the Representational State Transfer (REST) architecture. RESTful provides a lightweight protocol accessible to a wide variety of HTTP-enabled clients and does not require complex message parsing.

Supported Data Types in Web Services

Web services support the following data types:

  • string
  • path
  • Boolean
  • numeric (except complex numbers)
  • enumeration (unsigned 8-bit, 16-bit, and 32-bit)
  • array (XML and JSON output only)
  • cluster (XML and JSON output only)
  • digital/analog waveform (XML and JSON output only)
  • timestamp, formatted as string (XML and JSON output only)

Web Services File System and .LVWS Files

Note  The following section applies only to Web services you include in LabVIEW stand-alone applications.

LabVIEW uses a .lvws file to publish Web services to the web server that hosts them. When you publish a Web service, LabVIEW packages all necessary files into a zip file with the .lvws extension and deploys the file to the target web server. LabVIEW then unzips the file and installs the Web service components into a unique directory on the target web server.

Managing a Published Web Service

To learn about managing a published Web service, access the Web-based Configuration & Monitoring utility and select Help in the Web Services Management page.

WAS THIS ARTICLE HELPFUL?

Not Helpful