Yes. For example, if you were to use the REST service in a GIS, web GIS, or mobile GIS you would reference to the service you are using as:
http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Louisville/LOJIC_LandRecords_Louisville/MapServer
EDIT | UPDATE
Original question:
I'm using ArcGis as Rest Service.
My question is are allways the folders part of service name?
service name: Louisville/LOJIC_LandRecords_Louisville
folder: Louisville
test server url: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services
Thanks for help!
Marcel
The way the original question was worded did not lend to any clarity about what you were asking, which is why it was edited. The way it was originally structured I was under the impression that you needed to know about how to structure the directory path in a URL request, and I'm afraid that I misinterpreted your question. On your second question, you provided no references to the services or directories. Using the ArcGIS Server you listed in this original question:
Here is the default services directory for all services on this instance of ArcGIS Server: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/. For this particular directory, the service looks like this:
{"currentVersion" : 10.01,
"folders" : [
"Demographics",
"Elevation",
"Locators",
"Louisville",
"Network",
"Petroleum",
"PublicSafety",
"Specialty",
"TaxParcel",
"WaterTemplate"
],
"services" : [
{"name" : "Geometry", "type" : "GeometryServer"}
]
}
So in this example, say we choose the Demographics folder. This is the REST response for that directory:
{"currentVersion" : 10.01,
"folders" : [],
"services" : [
{"name" : "Demographics/ESRI_Census_USA", "type" : "MapServer"},
{"name" : "Demographics/ESRI_Population_World", "type" : "GPServer"},
{"name" : "Demographics/ESRI_Population_World", "type" : "MapServer"}
]
}
So as you can see, the answer to your question is yes; the folder name is concatenated to the services name. For more information you should read the Using ArcGIS Services Directory and check out the ArcGIS Server REST API. For more information on RESTful web services as a whole, see the wikipedia entry. I hope this helps answer your question.