I'm new to the Java runtime. I'm trying to get the extent for each sublayer which I assumed would be available by calling
getMapServiceSublayerInfo().getExtent()
butgetMapServiceSublayerInfo()
always returns null.
I've tried with our map service and the ESRI sample service
http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer
Guidance would be much appreciated.
Jack