LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Web Service Namespaces

Highlighted

This is just a question of curiosity - does anyone know why a nested web resource in a NI web service is not namespaced?  I did not realize this was an issue until I added several nested resources that had similar functionality and had a conflict with the names (even though the VIs were in separate folders).  I figured these resources would act as libraries, but I guess I was wrong...

0 Kudos
Message 1 of 3
(463 Views)

Cirrusio,

 

What do you mean by nested web resource?

 

Libraries are namespaces, but folders are not. If VIs have the same name, it will conflict because of the URL. You can see this by right clicking the web service and viewing the properties. Here under site maps you can see the URL that is created.

 

I hope this helps!

0 Kudos
Message 2 of 3
(411 Views)

Thanks Jacob.  But, a web resource is not a "folder" to my knowledge.  It is an organizational tool for routing html traffic.  Here is what my project looks like:

 

nested_resource.png

 

These resources are neither physical nor virtual folders.

0 Kudos
Message 3 of 3
(408 Views)