LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Auth Adobe Flex HTTPService

I want to ask how to call Labview web server (secured using NI Auth) from Adobe Flex application.

0 Kudos
Message 1 of 5
(2,993 Views)

Hi,

 

Please find the documentation and example at:

 

http://zone.ni.com/devzone/cda/tut/p/id/7350

 

Regards,

Mircea

0 Kudos
Message 2 of 5
(2,977 Views)

Hi,

Thank you for the reply. The communication between LV and Flex works fine without NI Auth (this situation is described in the example) - My question is how to set the HTTPService in flex to work with NI Auth - how to send username and password from Flex to Silverlight login screen. I need to write something like the VI "OpenHandle" in Flex, but because this VI is secured with password I cannot see what is it doing (??probably modifying the header ???).

 

BR

 

Pavel

0 Kudos
Message 3 of 5
(2,973 Views)

Dear Pavel,

 

Thank you for your reply. What I have found so far is the following document, which describes how NI Auth can be configured and can be programatically called from LabVIEW,

 

http://digital.ni.com/public.nsf/allkb/DF41D5DA8EEB4840862577D90058C208?OpenDocument  - surely you browsed through this document, but just in case.

 

This approach could help you:

 

http://stackoverflow.com/questions/490806/http-basic-authentication-with-httpservice-objects-in-adob...

 

Let us know how it worked out for you,

 

Mircea

 

 

P.S. Did you consider looking at NI Web User Interface Builder?  http://www.ni.com/uibuilder/  - let me know what you think about it

 

 

 

0 Kudos
Message 4 of 5
(2,963 Views)

For in-depth questions and recommendations, I would strongly recommend:

 

NI Talk, LV Web Services Group

 

http://nitalk.natinst.com/groups/lv-web-services?view=discussions

 

Mircea

0 Kudos
Message 5 of 5
(2,961 Views)