LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

deploy web service on xp embedded

Solved!
Go to solution

Hi all

 

I've trouble to run a web service on a xp embedded system. The web service is working fine in my development environment LV 2011 and I've created an installer for my main application there the lvws file is included as described in web services FAQ:

http://zone.ni.com/devzone/cda/tut/p/id/7747#toc12

 

After installation on the target machine I can't access the web service. Also if calling localhost:3580 then I get an Access Error.

 

But in the administrative tools of the system control panel I can see that the NI System Web Server as well the NI Application Web Server are started.

 

For further investigation I've added the "Distributed System Manager" to my installer. With this tool I can see all my deployed web services on my development system but on the XP embedded target system with RTE nothing is listed.

 

I've installed my application to a reference system running XP professional to exclude that the problem is caused by XP embedded. But the behavior is exactly the same. Till now I've tested only local so the system security settings as firewall and ports should be no problem. But to be sure I've deactivated the firewall with no success again... I can't access the webservice. I've found often the suggestions in the forum to check whether the web service is enabled. But I fail already then accessing http://localhost:3580.

Any Ideas???

 

Thanks!

 

0 Kudos
Message 1 of 3
(2,392 Views)
Solution
Accepted by topic author qwert23

that help document is somewhat outdated.

 

You are seeing 2 different problems: 1) you cannot view the Web Monitoring and Configuration utility using localhost:3580  2) Your web service did not get installed.

 

For the first issue -->

You most likely did not include the "NI Web Interface Framework 2011" in your installer.  The help doc you mentioned does not tell you to do this, as it's not required for your web service to work. However, if you want to change any of your web server settings after install, you will need this additional installer.

 

For the second issue -->

You most likely did not include your Web Service Build Spec as a source file in your installer.  The help doc says to put your LVWS file as your installer source, but that is not correct. You need to include the actual web service build spec item as a source file (not the web service build spec's output files, like LVWS).

 

Let me know if either of these helps you out.

 

-Jared

Message 2 of 3
(2,383 Views)

Thanks Jared,

Including the web service build into my installer has solved the problem. Also the web server configuration is accessible now after including "NI Web Interface Framework2.0". I didn't found this information about including the web service build into the installer instead of the single lvws file before. Is anywhere an actual documentation about creating an installer for a web services with LabView 2011 or 2012? Just to avoid further questions from this kind!

 

0 Kudos
Message 3 of 3
(2,368 Views)