I have an SOE which extends the ArcGIS Server map services. The SOE itself works well, i.e. I can call the various functions with no problem. The issue I have is using the ArcGIS Services Directory in order to explore my SOE.
In particular, I have Child Resources off my root resource which are not collections but do have child resources. The resource is sort of like a folder which contains other folders. Here is an portion of the schema:
{
"name": "NE",
"isCollection": false,
"resources": [{
"name": "Inventory",
"isCollection": false,
"operations": [{
// Text omitted
}
When I click on Inventory in the REST Services Directory what the code returns is a response which is application/json where the content is "{}". What the browser then does is to issue the following prompt "Do you want to open or save Inventory.json (2 bytes) from localhost?". The browser I am using is IE 10 on Windows 8 x64.
What am I doing wrong? I believe that this code used to work in version 10 but I am currently running 10.1 SP1.