ken25

soe problem in arcgis server 10.1

Discussion created by ken25 on Jun 17, 2013
Latest reply on Jun 22, 2013 by ciava.at
I wan't to dynamic add  cad layer on the map,and export image to display on the flex.
I write a soe like this:
IMap map = ...;
...open cad workspace...
IFeatureLayer cadlayer = ...;
map.addLayer(cadlayer);
...export map ...

use IMap is very convenient to achieve this.
but when i run this code,found in the arcgis 10.1  use .sd to publish service,can't support IMap interface again.
in the 10.1 soe,how to do this work?
is there some other way,i can use IMap,ILayer interface again?

Outcomes