Get all fields - how?

494
0
03-07-2011 12:56 AM
StanislavGusakov
New Contributor II
How can I get all service's fields (FIELDS listed on a webserver site) without performing a direct identify?... Which is the query / code? :S

[[dynLayer1 mapServiceInfo] layerInfos]; -> always empty.

Ok, using this code the service info is no longer empty.
But I still can't return the whole list of fields. Maximum I can get is the name of the service layer.

NSError *error = nil;
AGSMapServiceInfo *serviceInfo = [AGSMapServiceInfo mapServiceInfoWithURL:layer1url error:&error];
0 Kudos
0 Replies