Parent Topic: LabVIEW Web Services
Web clients send HTTP requests to Web method VIs to exchange data over the network. When you create Web method VIs, you must use the terminals on the connector pane to facilitate the data exchange with Web clients. LabVIEW also includes VIs on Web Services palette to process more advanced Web functionality associated with the HTTP requests.
|Note This topic assumes familiarity with the Web services introduction and Building a LabVIEW Web Service Application tutorial. LabVIEW Web services are available only in the LabVIEW Full Development System and the LabVIEW Professional Development System.|
An HTTP request, or HTTP request, refers to a single communication made between a Web client and a Web method VI. The Web client, such as a browser, sends a request to a URL that corresponds to a Web method VI. You send a new request each time you reconnect to a Web method VI, such as when you refresh the browser. The HTTP request might contain values to assign to specific controls on the connector pane in the Web method VI. The Web method VI can process those values and return a response each time the Web client makes a request.
Refer to the Address Book project in labview\examples\comm\webservices\address book for an example of a Web service that handles post data, streaming output, static content, and HTML forms.
Refer to the Weather Monitor project in labview\examples\comm\webservices\weather monitor for an example of a Web service that publishes simulated weather statistics.
Refer to the LV Queue Server project in labview\examples\comm\webservices\LVQueue Server for an example of a Web service that exposes LabVIEW queues, which can be useful when creating an application distributed across many nodes.