LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Static items in web service root folder

Hi Folks,

Just wondering if anybody knew whether it was possible to put a static item into the root folder of a web service.

Reason I am asking is that I would like to have my start page in the root of the webservice, i.e. http://webserver/webservice/index.html

I have no problems getting the file to be installed into that location but I don't know how to get the web server to allow access to that file.
When I try to set up a static URL mapping to "/" it does not allow it.

Of course I could always put the file into a sub directory but IMHO it would look cleaner sitting in the root.

Any ideas?

Heiko
0 Kudos
Message 1 of 4
(3,215 Views)

Hi Heiko,

 

Can you post a screenshot of what you get when you try to set up the static URL mapping?

 

Ipshita C.

National Instruments
Applications Engineer
Message 2 of 4
(3,185 Views)

I get an 'Routing template contains invalid syntax' error.

 

 

Message Edited by hfettig on 09-25-2008 06:51 PM
0 Kudos
Message 3 of 4
(3,176 Views)

Hi hfettig,

 

The URL mapping action lets you 'refer' to a service name and the parameters you connect to within that service name. It does not map to a directory. The destination folder is where your strt page build is stored. Therefore, wehn you try to map an item that you think is a static folder, the mapper sees an invalid character which does not have any service associated with it. For more details on this please refer to the LabView Help Section of Web Services.Hope this helps.

 

Ipshita C.

National Instruments
Applications Engineer
Message 4 of 4
(3,161 Views)