Parent Topic: Building a LabVIEW Application to Deploy Remotely
The VIs on the Web Services palette can handle post data, form data, HTTP sessions, cookies, and other Web-specific functionality.
|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.|
The httpRequestID control functions similarly to a refnum in LabVIEW. When you include VIs from the Web Services palette within a Web method VI, you must use an httpRequestID control to setup all of the VIs to uniformly handle the current HTTP request. You can create a single httpRequestID control in a Web method VI, and wire together VIs from the Web Services palette using the httpRequestID input and httpRequestID out output of each VI.
To create an httpRequestID, create a 32-bit unsigned integer control with the label httpRequestID and assign the original httpRequestID control to the connector pane of the Web method VI. You must assign the original httpRequestID control to the connector pane of the Web method VI for the VIs from the Web Services palette to function.