rdolman

serviceDescription on AGSMapServiceInfo

Discussion created by rdolman on May 17, 2011
Latest reply on May 24, 2011 by madgame
Hello everyone, I have a quick and probably easy to answer question for you.
For some reason this code:

NSURL *url = [NSURL URLWithString:@"http://14.123.128.120/ArcGIS/rest/services/IOS_Env/Tectoniek/MapServer"];
AGSMapServiceInfo *mapServiceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:url error:&error];


does not fill the serviceDescription variable of the mapServiceInfo object, it does however successfully retrieve the name and layer of the service.
When I check the url in the browser it cleary has a serviceDescription. What am I doing wrong here?

(The URL given in the piece of code is not the real URL used, this is just about the code whether I'm missing something)
The server is version 10 SP2, the ArcGIS API for IOS used is 1.8 final.

Best regards,
Max

Outcomes