Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Using the VIs on the Web Services Palette (ETS, VxWorks, Windows)

LabVIEW 2011 Help

Edition Date: June 2011

Part Number: 371361H-01

»View Product Info

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.

Using HTTP Request IDs

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.

Related Topics


 

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