jueery

how to get dynamic layer

Discussion created by jueery on Aug 5, 2011
Latest reply on Aug 21, 2011 by jueery
guys,
  Can you get the dynamic layer in service directory in arcgis server 10.1? i use the blew json code,

{"id":15,
"source": {
  "type": "dataLayer",
   "dataSource":{
    "type":"table",
     "workspaceId":"MyShapefileWorkspaceID",
     "dataSourceName":"rail"}
}
}
but i always get the error,the error info please see the attchements.
the datasource of the services i have published is all shapefiles. the shapefiles is from arcgis turtor C:\arcgis\ArcTutor\LinearReferencing,  and i regiesterd the folder in arcgis server.
did you meet this problem in arcgis server beta? thank you very much.

Attachments

Outcomes