Select to view content in your preferred language

SOE Operation result shows "Invalid Child Resource"

903
1
10-23-2022 12:22 AM
Labels (1)
omar-marji
Occasional Contributor

One of my SOE operations returns a success Boolean and an Array of "model" objects.

In the HTML output when testing the operation it shows "Invalid Child Resource" next to each object within the Array. I was wondering what this means and how to resolve it as the JSON output seems ok.

 

soe.png

1 Reply
MatthiasBoucher
Occasional Contributor

I got the same display "Invalid Child Resource" using the standard REST endpoint on a VersionManagementServer :

 

MatthiasBoucher_0-1734582646791.png

 

So I guess you shouldn't worry about your SOE code, the problem (if there is a problem) might be in the standard way used by ArcGIS Server to display Array of objects in a REST output. But I reckon the message "Invalid Child Resource" is quite strange and should be fixed.

GIS developer
0 Kudos